-
I would like to ask how to add optimization options (-O3 for example) when compiling, should I make changes to the Makefile? |
Beta Was this translation helpful? Give feedback.
Answered by
mathrack
Apr 8, 2025
Replies: 1 comment 1 reply
-
Hello, If you compile with Cheers, |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mathrack
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
If you compile with
cmake --build ./build
, you can see the compilation flags when adding the--verbose
option. Depending on the compiler and on the build type, the compiler options are mostly defined in https://github.com/xcompact3d/Incompact3d/tree/master/cmake/compilersCheers,
Mathrack