Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies of dependencies to lib #14

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
- name: upload artifact
uses: actions/upload-artifact@v2
with:
name: win64-opensim-4.4-py37np120.tar.bz2
path: C:/Miniconda3/envs/test/conda-bld/win-64/opensim-4.4-py37np120.tar.bz2
name: win64-opensim-moco-4.4-py37np120.tar.bz2
path: C:/Miniconda3/envs/test/conda-bld/win-64/opensim-moco-4.4-py37np120.tar.bz2
windows38:
runs-on: windows-2019

Expand Down Expand Up @@ -72,8 +72,8 @@ jobs:
- name: upload artifact
uses: actions/upload-artifact@v2
with:
name: win64-opensim-4.4-py38np120.tar.bz2
path: C:/Miniconda3/envs/test/conda-bld/win-64/opensim-4.4-py38np120.tar.bz2
name: win64-opensim-moco-4.4-py38np120.tar.bz2
path: C:/Miniconda3/envs/test/conda-bld/win-64/opensim-moco-4.4-py38np120.tar.bz2
windows39:
runs-on: windows-2019

Expand Down Expand Up @@ -104,8 +104,8 @@ jobs:
- name: upload artifact
uses: actions/upload-artifact@v2
with:
name: win64-opensim-4.4-py39np120.tar.bz2
path: C:/Miniconda3/envs/test/conda-bld/win-64/opensim-4.4-py39np120.tar.bz2
name: win64-opensim-moco-4.4-py39np120.tar.bz2
path: C:/Miniconda3/envs/test/conda-bld/win-64/opensim-moco-4.4-py39np120.tar.bz2

mac:
name: Mac
Expand Down Expand Up @@ -170,8 +170,8 @@ jobs:
- name: upload artifact
uses: actions/upload-artifact@v2
with:
name: linux64-opensim-4.4-py37np120.tar.bz2
path: /usr/share/miniconda3/conda-bld/linux-64/opensim-4.4-py37np120.tar.bz2
name: linux64-opensim-moco-4.4-py37np120.tar.bz2
path: /usr/share/miniconda3/conda-bld/linux-64/opensim-moco-4.4-py37np120.tar.bz2
ubuntu38:
runs-on: ubuntu-18.04

Expand Down Expand Up @@ -204,8 +204,8 @@ jobs:
- name: upload artifact
uses: actions/upload-artifact@v2
with:
name: linux64-opensim-4.4-py38np120.tar.bz2
path: /usr/share/miniconda3/conda-bld/linux-64/opensim-4.4-py38np120.tar.bz2
name: linux64-opensim-moco-4.4-py38np120.tar.bz2
path: /usr/share/miniconda3/conda-bld/linux-64/opensim-moco-4.4-py38np120.tar.bz2
ubuntu39:
runs-on: ubuntu-18.04

Expand Down Expand Up @@ -238,8 +238,8 @@ jobs:
- name: upload artifact
uses: actions/upload-artifact@v2
with:
name: linux64-opensim-4.4-py39np120.tar.bz2
path: /usr/share/miniconda3/conda-bld/linux-64/opensim-4.4-py39np120.tar.bz2
name: linux64-opensim-moco-4.4-py39np120.tar.bz2
path: /usr/share/miniconda3/conda-bld/linux-64/opensim-moco-4.4-py39np120.tar.bz2

style:
name: Style
Expand Down
8 changes: 4 additions & 4 deletions opensim/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ cmake ..\dependencies^
-G"Visual Studio 16 2019"^
-DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%"^
-DSUPERBUILD_ezc3d=ON^
-DOPENSIM_WITH_TROPTER=OFF^
-DOPENSIM_WITH_CASADI=OFF
-DOPENSIM_WITH_TROPTER=ON^
-DOPENSIM_WITH_CASADI=ON

cmake --build . --config Release -- /maxcpucount:8
cd ..
Expand All @@ -26,8 +26,8 @@ cmake ..\^
-DBUILD_PYTHON_WRAPPING=ON^
-DOPENSIM_C3D_PARSER=ezc3d^
-DOPENSIM_PYTHON_STANDALONE=ON^
-DOPENSIM_WITH_CASADI=OFF^
-DOPENSIM_WITH_TROPTER=OFF^
-DOPENSIM_WITH_CASADI=ON^
-DOPENSIM_WITH_TROPTER=ON^
-DBUILD_TESTING=OFF^
-DBUILD_API_EXAMPLES=OFF^
-DOPENSIM_BUILD_INDIVIDUAL_APPS=OFF^
Expand Down
14 changes: 10 additions & 4 deletions opensim/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,18 @@ cmake ../dependencies/ -LAH \
-DSUPERBUILD_simbody=ON \
-DSUPERBUILD_spdlog=ON \
-DSUPERBUILD_ezc3d=ON \
-DOPENSIM_WITH_TROPTER=OFF \
-DOPENSIM_WITH_CASADI=OFF
-DOPENSIM_WITH_TROPTER=ON \
-DOPENSIM_WITH_CASADI=ON

make -j8
cd ..


# Copy dependencies of dependencies to lib
cp $PREFIX/ipopt/lib/libipopt.so $PREFIX/ipopt/lib/libipopt.so.1 $PREFIX/ipopt/lib/libipopt.so.1.10.8 $PREFIX/ipopt/lib/libcoinmetis.so.1.3.5 $PREFIX/ipopt/lib/libcoinmetis.so.1 $PREFIX/ipopt/lib/libcoinmetis.so $PREFIX/ipopt/lib/libcoinmumps.so.1.6.0 $PREFIX/ipopt/lib/libcoinmumps.so.1 $PREFIX/ipopt/lib/libcoinmumps.so $PREFIX/lib
cp $PREFIX/colpack/lib/libColPack.so $PREFIX/colpack/lib/libColPack.so.0 $PREFIX/lib


# cp -r $PREFIX/simbody/libexec/simbody/* $PREFIX/bin/

if [ "$(uname)" == "Darwin" ]; then
Expand Down Expand Up @@ -46,7 +52,7 @@ cmake ../ \
-DBUILD_API_ONLY=ON \
-DOPENSIM_BUILD_INDIVIDUAL_APPS_DEFAULT=OFF \
-DOPENSIM_COPY_DEPENDENCIES=ON \
-DOPENSIM_WITH_TROPTER=OFF \
-DOPENSIM_WITH_CASADI=OFF
-DOPENSIM_WITH_TROPTER=ON \
-DOPENSIM_WITH_CASADI=ON
make -j8
make install
2 changes: 1 addition & 1 deletion opensim/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% set version = "4.4" %}

package:
name: opensim
name: opensim-moco
version: {{ version }}

source:
Expand Down