Use llvm13-thread.patch for all compilers when building llvm (#31661)
This commit is contained in:
parent
54ac5bdb42
commit
aa1ae5250a
@ -356,7 +356,9 @@ class Llvm(CMakePackage, CudaPackage):
|
|||||||
|
|
||||||
# add -lpthread to build OpenMP libraries with Fujitsu compiler
|
# add -lpthread to build OpenMP libraries with Fujitsu compiler
|
||||||
patch("llvm12-thread.patch", when="@12 %fj")
|
patch("llvm12-thread.patch", when="@12 %fj")
|
||||||
patch("llvm13-thread.patch", when="@13 %fj")
|
|
||||||
|
# add -lpthread to build OpenMP libraries
|
||||||
|
patch("llvm13-14-thread.patch", when="@13:14")
|
||||||
|
|
||||||
# avoid build failed with Fujitsu compiler
|
# avoid build failed with Fujitsu compiler
|
||||||
patch("llvm13-fujitsu.patch", when="@13 %fj")
|
patch("llvm13-fujitsu.patch", when="@13 %fj")
|
||||||
|
Loading…
Reference in New Issue
Block a user