about summary refs log tree commit diff homepage
path: root/scripts/build/v-clang.inc
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/v-clang.inc')
-rw-r--r--scripts/build/v-clang.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/build/v-clang.inc b/scripts/build/v-clang.inc
new file mode 100644
index 00000000..16036f22
--- /dev/null
+++ b/scripts/build/v-clang.inc
@@ -0,0 +1,15 @@
+required_variables_clang=(
+  "LLVM_VERSION"
+)
+
+artifact_dependency_clang=("sanitizer")
+
+setup_variables_clang() {
+  LLVM_VERSION_SHORT="${LLVM_VERSION/./}"
+}
+
+export_variables_clang=(
+  "LLVM_CONFIG"
+  "BITCODE_CC"
+  "BITCODE_CXX"
+)
\ No newline at end of file