Permalink
Browse files

split llvm and clang into two packages

  • Loading branch information...
1 parent 77b45c0 commit 74f8d275a91cac86522a0223859467bd2e40abca @Gibheer committed Mar 7, 2013
Showing with 12 additions and 5 deletions.
  1. +10 −5 build/llvm/build.sh
  2. +1 −0 build/llvm/clang.mog
  3. +1 −0 build/llvm/llvm.mog
View
@@ -32,9 +32,9 @@ VER=3.2 # App version
VERHUMAN=$VER # Human-readable version
BUILDDIR="$PROG-$VER.src"
#PVER= # Branch (set in config.sh, override here if needed)
-PKG=zero/lang/llvm # Package name (e.g. library/foo)
-SUMMARY="llvm" # One-liner, must be filled in
-DESC="llvm" # Longer description, must be filled in
+PKG="omni/lang/llvm" # Package name (e.g. library/foo)
+SUMMARY="llvm" # One-liner, must be filled in
+DESC="llvm" # Longer description, must be filled in
export REQUIRES_RTTI=1
CONFIGURE_OPTS="--enable-optimized --disable-assertions \
@@ -62,13 +62,18 @@ make_install64() {
}
init
-download_source $PROG $VER
+download_source $PROG $PROG $VER
patch_source
prep_build
build
make_isa_stub
fix_permissions
-make_package
+make_package llvm.mog
+PKG="omni/lang/clang"
+SUMMARY="clang"
+DESC="clang"
+make_package clang.mog
+exit 1
clean_up
# Vim hints
@@ -0,0 +1 @@
+<transform file link dir path="^(.(?!(clang)))*$" -> drop>
View
@@ -0,0 +1 @@
+<transform file link dir path=".*clang.*" -> drop>

0 comments on commit 74f8d27

Please sign in to comment.