File: llvm7-windows-race.patch

package info (click to toggle)
julia 1.5.3%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 91,132 kB
  • sloc: lisp: 278,486; ansic: 60,186; cpp: 29,801; sh: 2,403; makefile: 1,998; pascal: 1,313; objc: 647; javascript: 516; asm: 226; python: 161; xml: 34
file content (15 lines) | stat: -rw-r--r-- 681 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/tools/llvm-config/CMakeLists.txt b/tools/llvm-config/CMakeLists.txt
index f59402ac4b0..5de4c6febe7 100644
--- a/tools/llvm-config/CMakeLists.txt
+++ b/tools/llvm-config/CMakeLists.txt
@@ -77,5 +77,10 @@ if(CMAKE_CROSSCOMPILING AND NOT LLVM_CONFIG_PATH)
   add_custom_target(NativeLLVMConfig DEPENDS ${LLVM_CONFIG_PATH})
   add_dependencies(NativeLLVMConfig CONFIGURE_LLVM_NATIVE)
 
+  # Add a dependency on the host tblgen, which uses the same working
+  # directory and with which we're otherwise racing to build some
+  # of the utility libraries.
+  add_dependencies(NativeLLVMConfig LLVM-tablegen-host)
+
   add_dependencies(llvm-config NativeLLVMConfig)
 endif()