From df5c9ef8ebe75bb4140082464264c1b553f64d96 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Fri, 19 Oct 2018 17:19:28 -0700 Subject: [PATCH] stop llvm from rebuilding on every git commit --- shader-compiler-backend-llvm-7/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/shader-compiler-backend-llvm-7/build.rs b/shader-compiler-backend-llvm-7/build.rs index c45929b..66f0eac 100644 --- a/shader-compiler-backend-llvm-7/build.rs +++ b/shader-compiler-backend-llvm-7/build.rs @@ -121,6 +121,7 @@ fn make_config(llvm_dir: &Path) -> cmake::Config { .generator("Ninja") .define("LLVM_TARGETS_TO_BUILD", "host") .define("LLVM_CCACHE_BUILD", if found_ccache { "ON" } else { "OFF" }) + .define("LLVM_APPEND_VC_REV", "OFF") // stop llvm needing relink after git commit .define( "LLVM_TARGET_ARCH", env::var("TARGET").unwrap().split("-").next().unwrap(), -- 2.30.2