How to use a different C++ compiler? #10224
Unanswered
matthiashaedrich
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to package an extension module. My CMakeLists.txt file gets correctly used and builds the project.
However, compilation fails because of using
static constexpr
.Now I noticed when poetry is creating its virtual environment it uses GNU 11.4 for compilation. So I checked which compilers are installed on the build server, and it is Clang 18 and GNU 13.3 For using
static constexpr
we have to use GNU 13.3.How can I tell poetry or the virtual environment to use GNU 13.3 (or just the system's default C++ compiler) instead of GNU 11.4? And how would I tell it to use clang?
Output when creating the docker image the build will run in:
Output of poetry build:
The installed Poetry version is 1.8.2.
Beta Was this translation helpful? Give feedback.
All reactions