From: Jacob Lifshay Date: Sat, 20 Oct 2018 00:19:28 +0000 (-0700) Subject: stop llvm from rebuilding on every git commit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df5c9ef8ebe75bb4140082464264c1b553f64d96;p=kazan.git stop llvm from rebuilding on every git commit --- 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(),