[SM-Commit] GIT changes to master grimoire by Justin Boffemmyer (f986883f56e81ce2f965542a28023994f0257b5f)

Justin Boffemmyer scm at sourcemage.org
Wed Nov 19 21:19:27 EST 2008


GIT changes to master grimoire by Justin Boffemmyer <flux at sourcemage.org>:

 ChangeLog            |    3 +++
 devel/llvm/BUILD     |   12 ++++++++++++
 devel/llvm/CONFIGURE |    3 +++
 devel/llvm/DEPENDS   |   12 ++++++++++++
 devel/llvm/DETAILS   |   18 ++++++++++++++++++
 devel/llvm/HISTORY   |    3 +++
 6 files changed, 51 insertions(+)

New commits:
commit f986883f56e81ce2f965542a28023994f0257b5f
Author: Justin Boffemmyer <flux at sourcemage.org>
Commit: Justin Boffemmyer <flux at sourcemage.org>

    devel/llvm: new spell, compiler suite
    
    This is a compiler suite that includes a lot of optimization tools. It
    may also one day be a viable alternative to gcc (it can already compile
    lua and some other C projects *without* gcc).

diff --git a/ChangeLog b/ChangeLog
index 92620fd..604ef44 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2008-11-19 Justin Boffemmyer <flux at sourcemage.org>
+	* devel/llvm: new spell, compiler suite
+
 2008-11-19 George Sherwood <gsherwood at sourcemage.org>
 	* utils/ncdu: new spell, ncurses du
 
diff --git a/devel/llvm/BUILD b/devel/llvm/BUILD
new file mode 100755
index 0000000..8314cd7
--- /dev/null
+++ b/devel/llvm/BUILD
@@ -0,0 +1,12 @@
+OPTS="$LLVMJIT $OPTS --build=${BUILD}" &&
+default_build
+
+#[[ $CROSS_INSTALL == on ]] && OPTS="$OPTS --host=${HOST}"
+
+#./configure --prefix=${INSTALL_ROOT}/usr \
+#            --sysconfdir=${INSTALL_ROOT}/etc \
+#            --localstatedir=${INSTALL_ROOT}/var \
+#            --mandir=${INSTALL_ROOT}/usr/share/man \
+#            --infodir=${INSTALL_ROOT}/usr/share/info \
+#            $OPTS &&
+#make
diff --git a/devel/llvm/CONFIGURE b/devel/llvm/CONFIGURE
new file mode 100755
index 0000000..3e483c6
--- /dev/null
+++ b/devel/llvm/CONFIGURE
@@ -0,0 +1,3 @@
+config_query_option LLVMJIT "Enable Just In Time compiling?" y \
+	"--enable-jit" \
+	"--disable-jit"
diff --git a/devel/llvm/DEPENDS b/devel/llvm/DEPENDS
new file mode 100755
index 0000000..51176dd
--- /dev/null
+++ b/devel/llvm/DEPENDS
@@ -0,0 +1,12 @@
+depends libtool &&
+depends g++ &&
+
+optional_depends doxygen \
+		"--enable-doxygen" \
+		"--disable-doxygen" \
+		"build doxygen documentation?" &&
+
+optional_depends gcc \
+                 "--enable-gcc-frontend" \
+                 "--disable-gcc-frontend" \
+                 "enable gcc frontend?"
diff --git a/devel/llvm/DETAILS b/devel/llvm/DETAILS
new file mode 100755
index 0000000..e396871
--- /dev/null
+++ b/devel/llvm/DETAILS
@@ -0,0 +1,18 @@
+           SPELL=llvm
+         VERSION=2.4
+          SOURCE="${SPELL}-${VERSION}.tar.gz"
+   SOURCE_URL[0]=http://${SPELL}.org/releases/${VERSION}/${SOURCE}
+     SOURCE_HASH=sha512:1a8410053ede4e34eb3c46ad93f909137d1a512a938eb63fd61ecfd716af0e729661a7f34d5c15654e20fa2f633196fc6cc4518e3723b27fff19591ef39a045a
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+        WEB_SITE="http://llvm.org "
+      LICENSE[0]=BSD
+         ENTERED=20080915
+           SHORT="A novel compiler infrastructure for the optimization of programs."
+cat << EOF
+Low-Level Virtual Machine (LLVM) is a compiler infrastructure designed for
+compile-time, link-time, run-time, and "idle-time" optimization of programs
+from arbitrary programming languages. It currently supports compilation of
+C, Objective-C, and C++ programs, using front-ends derived from GCC 4.0,
+GCC 4.2, and a custom new front-end, "clang". It supports x86, x86_64, ia64,
+PowerPC, and SPARC, with support for Alpha and ARM under development.
+EOF
diff --git a/devel/llvm/HISTORY b/devel/llvm/HISTORY
new file mode 100644
index 0000000..74e68a3
--- /dev/null
+++ b/devel/llvm/HISTORY
@@ -0,0 +1,3 @@
+2008-09-15 Justin Boffemmyer <flux at sourcemage.org>
+	* BUILD, CONFIGURE, DEPENDS, DETAILS, INSTALL: spell created
+



More information about the SM-Commit mailing list