-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
I am trying to compile benchmarks with link-time optimizations by adding -flto to CFLAGS and LDFLAGS. To have these options available, I added -DLLVM_ENABLE_LTO=ON to build.sh on line 76. This breaks the build script with the following error:
CMake Error at projects/compiler-rt/cmake/Modules/AddCompilerRT.cmake:133 (message):
Architecture x86_64 can't be targeted
Call Stack (most recent call first):
projects/compiler-rt/lib/lowfat/CMakeLists.txt:10 (add_compiler_rt_runtime)
See the complete output of the build script here: https://gist.github.com/taddeus/7c2babd439e2846abb7a598ec12a029a
Metadata
Metadata
Assignees
Labels
No labels