Replies: 2 comments
-
I found the The problem is that But finally, going via a configuration file in root of the project looks like a viable solution (to be tested) |
Beta Was this translation helpful? Give feedback.
-
IIRC you can have a cibuildwheel config file that defines arguments always passed to pip, such as in this case |
Beta Was this translation helpful? Give feedback.
-
First of all, I would like to thank you for
meson
, it is a very nice build system, making the management of dependencies almost transparent in a cross-platform manner. I especially love the:omp = dependency('openmp', required : false)
I am currently switching CI-platform for building the wheels (of a python project, built with
meson-python
) and found the windows packages broken because they were linked withlibgomp.dll
which is not generally available. This means meson finds the OpenMP dependency and compiles the code with it ... and as a consequence, the package is not working elsewhere.silx-kit/pyFAI#2162
I wonder if you could suggest a way to disable the
omp
dependency even though it could be found ? I thought on an environment variable but maybe there are better ways to do it. An environment variable would be handy since the code has to be executed in a CI environment wheremeson
is called frompip wheel
called fromci-buildwheels
... many layers one on top of the other.Thanks for your advice.
Jerome Kieffer
Beta Was this translation helpful? Give feedback.
All reactions