Skip to content

Commit fe193b5

Browse files
authored
fix llvm patch repeat application issue (#17592)
dependency on configure should be order-only (after the `|`) since a patch modifies the file. also use CMakeLists.txt since llvm's configure will be going away
1 parent da9c28e commit fe193b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/llvm.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ endif # LLVM_VER
407407
LLVM_PATCH_PREV:=
408408
LLVM_PATCH_LIST:=
409409
define LLVM_PATCH
410-
$$(LLVM_SRC_DIR)/$1.patch-applied: $$(LLVM_SRC_DIR)/configure | $$(SRCDIR)/patches/$1.patch $$(LLVM_PATCH_PREV)
410+
$$(LLVM_SRC_DIR)/$1.patch-applied: | $$(LLVM_SRC_DIR)/CMakeLists.txt $$(SRCDIR)/patches/$1.patch $$(LLVM_PATCH_PREV)
411411
cd $$(LLVM_SRC_DIR) && patch -p1 < $$(SRCDIR)/patches/$1.patch
412412
echo 1 > $$@
413413
LLVM_PATCH_PREV := $$(LLVM_SRC_DIR)/$1.patch-applied

0 commit comments

Comments
 (0)