about summary refs log tree commit diff homepage
path: root/scripts/build/v-libcxx.inc
diff options
context:
space:
mode:
authorMartin Nowack <m.nowack@imperial.ac.uk>2019-03-12 09:51:31 +0000
committerCristian Cadar <c.cadar@imperial.ac.uk>2019-03-17 15:43:21 +0000
commit3b6f5e52d0cec5e8018c590c9feccb39bb03206c (patch)
treeccb28b664837ccbb8e536995520d4f3e256b4efd /scripts/build/v-libcxx.inc
parente06ab0db462c1c64bf26f856f4a8448d1ebf199d (diff)
downloadklee-3b6f5e52d0cec5e8018c590c9feccb39bb03206c.tar.gz
Add support for libc++ as part of the build.sh scripts
Diffstat (limited to 'scripts/build/v-libcxx.inc')
-rw-r--r--scripts/build/v-libcxx.inc17
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/build/v-libcxx.inc b/scripts/build/v-libcxx.inc
new file mode 100644
index 00000000..669bb536
--- /dev/null
+++ b/scripts/build/v-libcxx.inc
@@ -0,0 +1,17 @@
+required_variables_libcxx=(
+  "LLVM_VERSION"
+)
+
+required_variables_check_libcxx() {
+  local LLVM_VERSION_MAJOR="${LLVM_VERSION/.*/}"
+  local LLVM_VERSION_MINOR="${LLVM_VERSION/*./}"
+  # Check versions: no support for LLVM < 3.8
+#  if [[ "${LLVM_VERSION_MAJOR}" -eq 3 ]]; then
+#    [[ "${LLVM_VERSION_MINOR}" -lt 8 ]] && { echo "Version <= 3.7 not supported"; return 1; }
+#  fi
+  return 0
+}
+
+artifact_dependency_libcxx(){
+  echo "clang"
+}
\ No newline at end of file