-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Added a build recipe for Simbody 3.5.3. #1076
Changes from 2 commits
e29d9c4
6271d12
f850086
5ff19ed
795ba77
c8acc2d
f07d508
40cfc2c
13383fb
5a2f1e3
32a403e
ab47fcd
c958858
f1a81b0
3c123a1
3ae4485
53afd15
10c42b7
1553db2
100d57a
509d657
da01756
7d7e24e
7a260f5
351d092
b1d6b7a
9ed61f2
21e91ef
9ee89cb
fd28fd3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
mkdir build | ||
cd build | ||
cmake -G "%CMAKE_GENERATOR%" -DBUILD_VISUALIZER=OFF -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" | ||
cmake --build . --target install --config Release -- /verbosity:quiet | ||
REM NOTE: Run just one test here in the build directory to make sure things | ||
REM built correctly. This cannot be specified in the meta.yml:test section | ||
REM because it won't be run in the build directory. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it possible to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not quite sure, but the build directory may not exist at that point. I can try though. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. At that point, CI is using the newly created package and therefore the tests are not found |
||
ctest --build-config Release --output-on-failure -R TestMassMatrix | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It would be best to run all the tests. They should only take about ~30 seconds to run. Sometimes, one of them will fail on platforms that have not received as much testing from us (e.g. Red Hat). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok. I'll just run them all here. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
cmake -DCMAKE_INSTALL_PREFIX="$PREFIX" -DBUILD_VISUALIZER=off | ||
make | ||
ctest -R TestMassMatrix | ||
make install |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{% set version = "3.5.3" %} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done below. |
||
|
||
package: | ||
name: simbody | ||
version: {{ version }} | ||
|
||
source: | ||
fn: Simbody-{{ version }}.tar.gz | ||
url: https://github.com/simbody/simbody/archive/Simbody-{{ version }}.tar.gz | ||
sha256: 8005fbdb16c6475f98e13b8f1423b0e9951c193681c2b0d19ae5b711d7e24ec1 | ||
|
||
build: | ||
number: 0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Change to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See this hackpad. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok. |
||
skip: true # [win and py35] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should be |
||
features: | ||
- vc14 # [win and py35] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add this.
|
||
|
||
# NOTE: This installs the minimum dependencies for Simbody, i.e., no | ||
# visualizer. I'm also not completely sure if blas and lapack are necessary for | ||
# the unix builds because they are supposedly included with Simbody. Once | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. blas/lapack are not included on UNIX; they are only included on Windows. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, I'll remove this note. |
||
# FreeGLUT, Xi, and Xmu are avaliable via Anaconda.org (free or conda-forge) | ||
# they can be added. | ||
requirements: | ||
build: | ||
- cmake | ||
- blas # [not win] | ||
- lapack # [not win] | ||
- vc 14 # [win] | ||
run: | ||
- blas # [not win] | ||
- lapack # [not win] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same story as above. |
||
- vc 14 # [win] | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @moorepants you can add a simple "file exists" test here. See an example in: https://github.com/conda-forge/hdfeos2-feedstock/blob/master/recipe/meta.yaml#L26-L27 |
||
about: | ||
home: https://simtk.org/home/simbody | ||
license: Apache-2.0 | ||
summary: > | ||
High-performance C++ multibody dynamics/physics library for simulating | ||
articulated biomechanical and mechanical systems like vehicles, robots, | ||
and the human skeleton. | ||
|
||
extra: | ||
recipe-maintainers: | ||
- moorepants |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think
%CMAKE_GENERATOR%
can't be quoted.