Replies: 2 comments
-
There is a more modern way is to pass these flags via 'config-settings'. Perhaps that will work better, these kinds of options have been in flux lately. CIBW_CONFIG_SETTINGS_LINUX: "--global-option=--boost-root=/boost"
# or, the correct option might be...
CIBW_CONFIG_SETTINGS_LINUX: "--build-option=--boost-root=/boost" |
Beta Was this translation helpful? Give feedback.
0 replies
-
For the syntax to use here, it's not documented by setuptools, but this might be a useful reference: pypa/build#328 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
A library I am trying to build wheels for, you need to pass in the boost root directory like so:
I am adding boost by doing:
I think from the docs, this should pass in arguments:
Is this correct? My version of cibuildwheel is not finding boost (or python, but that can be a separate issue)
Any help would be appreciated, thanks.
For reference, my repo is https://github.com/mcleantom/pangeo-pyinterp
Build log
https://github.com/mcleantom/pangeo-pyinterp/actions/runs/8254883117/job/22580063074
CI config
https://github.com/mcleantom/pangeo-pyinterp/blob/master/.github/workflows/pypipublishtest.yaml
Beta Was this translation helpful? Give feedback.
All reactions