Skip to content

Commit 63d43f5

Browse files
authored
Fix openmp-offload-amdgpu-clang-flang (#395)
Since 0ac8f9d, [openmp-offload-amdgpu-clang-flang](https://lab.llvm.org/staging/#/builders/105/builds/16994) is failing with ``` CMake Error at /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/flang-rt/lib/quadmath/CMakeLists.txt:85 (message): FLANG_RUNTIME_F128_MATH_LIB setting requires quadmath.h to be available: libquadmath ``` The reason is that flang-rt now is built using Clang (like all LLVM runtimes in a bootstrapping build), instead of gcc. `quadmath.h` is located in gcc's "resource dir" (on my system, it is `/usr/lib/gcc/x86_64-linux-gnu/13/include/quadmath.h`) instead in default paths such as `/usr/include`. Hence, clang cannot find it. Remove the `FLANG_RUNTIME_F128_MATH_LIB=libquadmath` option since by design it does not work with Clang.
1 parent 47578d3 commit 63d43f5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

buildbot/osuosl/master/config/builders.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2043,7 +2043,6 @@
20432043
"-DLLVM_ENABLE_ASSERTIONS=ON",
20442044
"-DCMAKE_C_COMPILER_LAUNCHER=ccache",
20452045
"-DCMAKE_CXX_COMPILER_LAUNCHER=ccache",
2046-
"-DFLANG_RUNTIME_F128_MATH_LIB=libquadmath",
20472046
"-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON",
20482047
"-DCMAKE_CXX_STANDARD=17",
20492048
"-DBUILD_SHARED_LIBS=ON",

0 commit comments

Comments
 (0)