Replies: 2 comments
-
It should be supported. Can you share the cmake configure log? $ pip install . -v --config-settings=--cmake.define.CMAKE_CXX_COMPILER=icx You can also add |
Beta Was this translation helpful? Give feedback.
0 replies
-
Why do you need setuptools too? Just out of curiosity, does setting CMAKE_GENERATOR to Ninja change anything? |
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
Uh oh!
There was an error while loading. Please reload this page.
-
In one of my projects, I need to use
icx
(from Intel oneAPI) as the C++ compiler when building with pip. I’m using the following command:For reference, my project uses
scikit-build
as the build backend, configured as follows inpyproject.toml
:However, during compilation,
pip
always defaults to using MSVC as the compiler, ignoring theCMAKE_ARGS
environment variable I set.In contrast, when I build the C++ portion of the project directly using
cmake
, it correctly picksicx
as expected:This works without any issues.
My question is: Does this behavior imply that scikit-build is hardcoded to use MSVC on Windows? If so, is there a way to override this behavior?
Beta Was this translation helpful? Give feedback.
All reactions