[Lunar-commits] <moonbase-other> llvm: version update to 3.3 / fix as-needed build

v4hn me at v4hn.de
Thu Jul 11 03:38:12 CEST 2013


commit 7b2c01f7c662ffe37d528dee00c497ce0175571f
Author: v4hn <me at v4hn.de>
Date: Wed, 10 Jul 2013 18:37:29 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/7b2c01f7c662ffe37d528dee00c497ce0175571f

llvm: version update to 3.3 / fix as-needed build
---
  compilers/llvm/BUILD     | +2/-10    
  compilers/llvm/DETAILS   | +5/-5     
  compilers/llvm/PRE_BUILD | +9/-2     
  3 files changed, 16 insertions(+), 17 deletions(-)

--- a/compilers/llvm/BUILD
+++ b/compilers/llvm/BUILD
@@ -1,11 +1,3 @@
-(
+OPTS+=" --enable-shared --enable-targets=host-only" &&
 
-#  sedit 's;install-meta:: $(ObjDir)/META.llvm;install-meta:: META.llvm;' bindings/ocaml/llvm/Makefile &&
-
-  sedit 's:/docs/llvm:/share/doc/llvm:' Makefile.config.in &&
-
-  OPTS+=" --enable-shared --enable-targets=host-only" &&
-
-  default_build
-
-) > $C_FIFO 2>&1
+default_build
--- a/compilers/llvm/DETAILS
+++ b/compilers/llvm/DETAILS
@@ -1,15 +1,15 @@
           MODULE=llvm
-         VERSION=3.2
+         VERSION=3.3
           SOURCE=$MODULE-$VERSION.src.tar.gz
-         SOURCE2=clang-$VERSION.src.tar.gz
+         SOURCE2=cfe-$VERSION.src.tar.gz
       SOURCE_URL=http://www.llvm.org/releases/$VERSION
      SOURCE2_URL=$SOURCE_URL
-      SOURCE_VFY=sha1:42d139ab4c9f0c539c60f5ac07486e9d30fc1280
-     SOURCE2_VFY=sha1:b0515298c4088aa294edc08806bd671f8819f870
+      SOURCE_VFY=sha1:c6c22d5593419e3cb47cbcf16d967640e5cce133
+     SOURCE2_VFY=sha1:ccd6dbf2cdb1189a028b70bcb8a22509c25c74c8
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION.src
         WEB_SITE=http://www.llvm.org
          ENTERED=20090128
-         UPDATED=20121222
+         UPDATED=20130711
            SHORT="Low Level Virtual Machine"
 
 cat << EOF
--- a/compilers/llvm/PRE_BUILD
+++ b/compilers/llvm/PRE_BUILD
@@ -3,6 +3,13 @@ default_pre_build  &&
 if [[ "$USE_CLANG" = "y" ]]; then
   cd $SOURCE_DIRECTORY/tools  &&
   unpack $SOURCE2  &&
-  mv -f clang-${VERSION}.src clang  &&
+  mv -f cfe-${VERSION}.src clang  &&
   cd $SOURCE_DIRECTORY
-fi
+fi &&
+
+#  sedit 's;install-meta:: $(ObjDir)/META.llvm;install-meta:: META.llvm;' bindings/ocaml/llvm/Makefile &&
+
+sedit 's:/docs/llvm:/share/doc/llvm:' Makefile.config.in &&
+
+# this is fixed in the cmake build, but somehow missing in the regular Makefiles
+sedit '13 i ExtraLibs := -lLLVMSupport' unittests/Support/Makefile




More information about the Lunar-commits mailing list