Use llvm13-thread.patch for all compilers when building llvm (#31661)

This commit is contained in:
Mikael Simberg 2022-08-12 18:33:53 +02:00 committed by GitHub
parent 54ac5bdb42
commit aa1ae5250a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -356,7 +356,9 @@ class Llvm(CMakePackage, CudaPackage):
# add -lpthread to build OpenMP libraries with Fujitsu compiler
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
patch("llvm13-fujitsu.patch", when="@13 %fj")