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

Enable compilation of libYARP_math in the Python wheels #2703

Merged
merged 3 commits into from
Sep 9, 2021
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
CIBW_ENVIRONMENT_LINUX: "AUDITWHEEL_PLAT=manylinux_2_24_x86_64 CC=clang-7 CXX=clang++-7"
CIBW_BEFORE_ALL_LINUX: |
apt-get update &&\
apt-get install -y libace-dev &&\
apt-get install -y libace-dev libeigen3-dev &&\
# Use clang: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1684
apt-get install -y clang-7
CIBW_TEST_COMMAND: "python -c 'import yarp; yarp.Bottle()'"
Expand Down
8 changes: 8 additions & 0 deletions doc/release/yarp_3_5/yarp_math_in_wheel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
yarp_math_in_wheel {#yarp_3_5}
-----------

### Bindings

#### Python

* Enable compilation of `libYARP_math` in the Python wheels
1 change: 1 addition & 0 deletions scripts/pip/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"-DYARP_COMPILE_GUIS:BOOL=OFF",
"-DYARP_COMPILE_TESTS:BOOL=OFF",
"-DYARP_COMPILE_UNMAINTAINED:BOOL=OFF",
"-DYARP_COMPILE_libYARP_math:BOOL=ON",
]
+ CIBW_CMAKE_OPTIONS,
)
Expand Down