aboutsummaryrefslogtreecommitdiff
path: root/gnunet-build/packages/build-utils/emscripten-fastcomp/Buildrules
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amatus.name>2014-05-20 07:08:27 -0500
committerDavid Barksdale <amatus@amatus.name>2014-05-20 07:08:27 -0500
commit29400bd66093b8c847294d642edbac4d5f8195cf (patch)
treef827391000f160f697bdefc8328080df61de0c78 /gnunet-build/packages/build-utils/emscripten-fastcomp/Buildrules
parentb3dbc0ff4552642f41a96a2c425187da5b1de9ed (diff)
[build-utils/emscripten] Upgrade to 1.18.0
It would be nice if we could actually use the new fastcomp backend, but it does not support dlopen. https://github.com/kripken/emscripten/issues/2365
Diffstat (limited to 'gnunet-build/packages/build-utils/emscripten-fastcomp/Buildrules')
-rw-r--r--gnunet-build/packages/build-utils/emscripten-fastcomp/Buildrules14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnunet-build/packages/build-utils/emscripten-fastcomp/Buildrules b/gnunet-build/packages/build-utils/emscripten-fastcomp/Buildrules
new file mode 100644
index 0000000..b9f5541
--- /dev/null
+++ b/gnunet-build/packages/build-utils/emscripten-fastcomp/Buildrules
@@ -0,0 +1,14 @@
+VERSION="1.18.0"
+DESCRIPTION="LLVM with the emscripten fastcomp javascript backend."
+SOURCE_URI="git://github.com/amatus/${NAME}.git?${VERSION}&archive=${NAME}-${VERSION}.${ARCHIVE_FORMAT}"
+PATCHES="ar"
+CONFIG_OPTS="--enable-optimized --disable-assertions --enable-targets=host,js"
+
+pkg_prep()
+{
+ git clone git://github.com/amatus/emscripten-fastcomp-clang \
+ "${S}/tools/clang"
+ git --git-dir="${S}/tools/clang/.git" checkout "${VERSION}"
+}
+
+# vim: syntax=sh