-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Naoki Shibata edited this page Nov 3, 2024
·
1 revision
For example, to build with the "-march=native" option, do the following.
CC=gcc-12 CXX=g++-12 CFLAGS="-march=native" CXXFLAGS="-march=native" cmake ..
CXX=clang++-19 CC=clang-19 cmake .. -DENABLE_INLINING=True -DENABLE_LTO=True -DCMAKE_CXX_COMPILER_AR=/usr/bin/llvm-ar-19 -DCMAKE_CXX_COMPILER_RANLIB=/usr/bin/llvm-ranlib-19