Commit 63d43f5
authored
Fix openmp-offload-amdgpu-clang-flang (llvm#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
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2043 | 2043 | | |
2044 | 2044 | | |
2045 | 2045 | | |
2046 | | - | |
2047 | 2046 | | |
2048 | 2047 | | |
2049 | 2048 | | |
| |||
0 commit comments