about summary refs log tree commit diff homepage
path: root/scripts/build
diff options
context:
space:
mode:
authorMartin Nowack <m.nowack@imperial.ac.uk>2020-09-24 16:38:46 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2020-09-30 16:34:47 +0100
commita434c1ede97a763f3c48555a4925d8f7e1619ce1 (patch)
treed9ff1e39b26ee39999f976900f7837af7d224f33 /scripts/build
parent40ea072a11f8e221cef8ee2bfe761c962a57c978 (diff)
downloadklee-a434c1ede97a763f3c48555a4925d8f7e1619ce1.tar.gz
Reduce the size of the libcxx image
* re-use an existing LLVM directory if possible
* only export the bitcode files
Diffstat (limited to 'scripts/build')
-rw-r--r--scripts/build/p-libcxx.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/build/p-libcxx.inc b/scripts/build/p-libcxx.inc
index f803080a..ec0d902b 100644
--- a/scripts/build/p-libcxx.inc
+++ b/scripts/build/p-libcxx.inc
@@ -1,6 +1,6 @@
 # Build scripts for libc++
 setup_build_variables_libcxx() {
-  LIBCXX_SRC="${BASE}/libc++-${LLVM_VERSION_SHORT}"
+  LIBCXX_SRC="${BASE}/llvm-${LLVM_VERSION_SHORT}"
   LIBCXX_BUILD="${BASE}/libc++-build-${LLVM_VERSION_SHORT}"
   LIBCXX_INSTALL="${BASE}/libc++-install-${LLVM_VERSION_SHORT}"
 }
@@ -114,7 +114,6 @@ get_docker_config_id_libcxx() {
 get_build_artifacts_libcxx() {
   (
     setup_build_variables_libcxx
-    echo "${LIBCXX_SRC}"
     echo "${LIBCXX_INSTALL}"
   )
 }