[arch-commits] Commit in emscripten/repos/community-x86_64 (8 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Mon May 21 09:02:35 UTC 2018


    Date: Monday, May 21, 2018 @ 09:02:34
  Author: svenstaro
Revision: 325931

archrelease: copy trunk to community-x86_64

Added:
  emscripten/repos/community-x86_64/PKGBUILD
    (from rev 325930, emscripten/trunk/PKGBUILD)
  emscripten/repos/community-x86_64/emscripten.install
    (from rev 325930, emscripten/trunk/emscripten.install)
  emscripten/repos/community-x86_64/emscripten.sh
    (from rev 325930, emscripten/trunk/emscripten.sh)
  emscripten/repos/community-x86_64/gcc8.patch
    (from rev 325930, emscripten/trunk/gcc8.patch)
Deleted:
  emscripten/repos/community-x86_64/PKGBUILD
  emscripten/repos/community-x86_64/emscripten.install
  emscripten/repos/community-x86_64/emscripten.sh
  emscripten/repos/community-x86_64/gcc8.patch

--------------------+
 PKGBUILD           |  182 +++++++++++++++++++++++++--------------------------
 emscripten.install |   22 +++---
 emscripten.sh      |   14 +--
 gcc8.patch         |   62 ++++++++---------
 4 files changed, 140 insertions(+), 140 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-21 09:02:19 UTC (rev 325930)
+++ PKGBUILD	2018-05-21 09:02:34 UTC (rev 325931)
@@ -1,91 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
-# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
-# Contributor: Vlad Kolotvin <vlad.kolotvin at gmail.com>
-
-pkgname=emscripten
-pkgver=1.38.0
-pkgrel=1
-pkgdesc="LLVM-based project that compiles C and C++ into highly-optimizable JavaScript for the web"
-arch=('x86_64')
-url="http://emscripten.org"
-license=('custom')
-depends=('nodejs' 'python' 'python2')
-makedepends=('cmake' 'libxml2')
-optdepends=('java-environment: for using clojure'
-            'ruby: for using websockify addon')
-install=$pkgname.install
-source=(emscripten-$pkgver.tar.gz::"https://github.com/kripken/emscripten/archive/$pkgver.tar.gz"
-        emscripten-fastcomp-$pkgver.tar.gz::"https://github.com/kripken/emscripten-fastcomp/archive/$pkgver.tar.gz"
-        emscripten-fastcomp-clang-$pkgver.tar.gz::"https://github.com/kripken/emscripten-fastcomp-clang/archive/$pkgver.tar.gz"
-        "emscripten.sh"
-        gcc8.patch)
-sha512sums=('5e28dd7f3b89c9404ca04f55b1a184e61629aeb25b46ad87700860efd472cc276b9741f22a9d48f034275369cfe7a01d6c3cd4765d6626aa9773e0dfa8542e38'
-            'e7860e3bba4b5c8c5312a2b1f5ee6d6d6a2e0afb35be2073efe7263dc217b95b1adb39675a01c9b6f89ec940736d68beac9d0173c1fd4a985b8e046fcaa1206f'
-            '85069ba90db1306ab960e2b3d04fc89516f8672672b872aa615f8f368dc34b922115e8fc44dc8fca9470c63c147b9faff888dda55d112c7c55a5f5850483ee63'
-            '52007717c21c22f5d9f027268de2516e969f2ffb8e37121f75ca2697b7ddcde6c0be9636d19df7b3c2e89bc769f5361750c62f9fcb84d224cde3c8626bc9c93b'
-            '8a651fc545bb09c23da6f138b1cc4f0d92758e7084460a09c6306ee7f727d52b0f780b775b6ef6118db144482cbfb37ef3d3dd662e357ceec0e713b342931365')
-
-prepare() {
-  cd emscripten-fastcomp-$pkgver
-
-  patch -Np1 -i "$srcdir"/gcc8.patch
-
-  # reset folder for out-of-source build
-  rm -rf build
-  mkdir build
-
-  # put clang source into the right place (http://git.io/i1GBkg)
-  rm -rf tools/clang
-  ln -s "$srcdir"/emscripten-fastcomp-clang-$pkgver tools/clang
-
-  # python2 shebang fixes
-  cd ../emscripten-$pkgver
-  sed '1s|python$|python2|' -i $(find third_party tools -name \*.py) emrun
-
-  # adapt config file template to use our custom environment variable and path
-  sed -e "s|getenv('LLVM')|getenv('EMSCRIPTEN_FASTCOMP')|" \
-    -e 's|{{{ LLVM_ROOT }}}|/usr/lib/emscripten-fastcomp|' \
-    -i tools/settings_template_readonly.py
-}
-
-build() {
-  cd emscripten-fastcomp-$pkgver/build
-
-  cmake .. \
-    -DPYTHON_EXECUTABLE=/usr/bin/python2 \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_SKIP_RPATH=YES \
-    -DLLVM_TARGETS_TO_BUILD="X86;JSBackend" \
-    -DLLVM_BUILD_RUNTIME=OFF \
-    -DLLVM_INCLUDE_EXAMPLES=OFF \
-    -DLLVM_INCLUDE_TESTS=OFF \
-    -DCLANG_INCLUDE_TESTS=OFF
-  make
-}
-
-package() {
-  # exported variables
-  install -Dm755 "$srcdir"/emscripten.sh "$pkgdir"/etc/profile.d/emscripten.sh
-
-  # LLVM-backend, TODO: include only needed tools
-  cd "$srcdir"/emscripten-fastcomp-$pkgver
-  install -Dm644 emscripten-version.txt "$pkgdir"/usr/lib/emscripten-fastcomp/emscripten-version.txt
-  install -m755 build/bin/* "$pkgdir"/usr/lib/emscripten-fastcomp
-
-  # copy structure
-  cd "$srcdir"/emscripten-$pkgver
-  install -d "$pkgdir"/usr/lib/emscripten
-  cp -rup em* cmake site src system third_party tools "$pkgdir"/usr/lib/emscripten
-
-  # remove clutter
-  rm "$pkgdir"/usr/lib/emscripten-fastcomp/{*-test,llvm-lit}
-  rm "$pkgdir"/usr/lib/emscripten/*.bat
-
-  # docs
-  install -d "$pkgdir"/usr/share/doc
-  ln -s /usr/lib/emscripten/site/source/docs "$pkgdir"/usr/share/doc/$pkgname
-
-  # license
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: emscripten/repos/community-x86_64/PKGBUILD (from rev 325930, emscripten/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-21 09:02:34 UTC (rev 325931)
@@ -0,0 +1,91 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: Vlad Kolotvin <vlad.kolotvin at gmail.com>
+
+pkgname=emscripten
+pkgver=1.38.1
+pkgrel=1
+pkgdesc="LLVM-based project that compiles C and C++ into highly-optimizable JavaScript for the web"
+arch=('x86_64')
+url="http://emscripten.org"
+license=('custom')
+depends=('nodejs' 'python' 'python2')
+makedepends=('cmake' 'libxml2')
+optdepends=('java-environment: for using clojure'
+            'ruby: for using websockify addon')
+install=$pkgname.install
+source=(emscripten-$pkgver.tar.gz::"https://github.com/kripken/emscripten/archive/$pkgver.tar.gz"
+        emscripten-fastcomp-$pkgver.tar.gz::"https://github.com/kripken/emscripten-fastcomp/archive/$pkgver.tar.gz"
+        emscripten-fastcomp-clang-$pkgver.tar.gz::"https://github.com/kripken/emscripten-fastcomp-clang/archive/$pkgver.tar.gz"
+        "emscripten.sh"
+        gcc8.patch)
+sha512sums=('5f67339fd901e97c5e3250e9359af819f84ed7ee0e7edb716cbf7e3b7ee5aed641b4f07e5db8366d63e076c5b6c6e180a26f459901f12b67964c6012e01542c7'
+            '06175f7fc8abfcae25c2a572ac3705ddc0cf1aba3749b12a58c556b4da1b19e61505d1780fc67c1a56441bbaf055238d0c9b9ab7b8078f3da10ad3721f2b74bf'
+            'fef22d3f2151ec8baaffcde49a67aac81f60e983c894a91bb00544b4cf051cb983c0db2e7a7b04dc3f5e671ee1dc9299a8ad287027883fac7a0f520b2553f652'
+            '52007717c21c22f5d9f027268de2516e969f2ffb8e37121f75ca2697b7ddcde6c0be9636d19df7b3c2e89bc769f5361750c62f9fcb84d224cde3c8626bc9c93b'
+            '8a651fc545bb09c23da6f138b1cc4f0d92758e7084460a09c6306ee7f727d52b0f780b775b6ef6118db144482cbfb37ef3d3dd662e357ceec0e713b342931365')
+
+prepare() {
+  cd emscripten-fastcomp-$pkgver
+
+  patch -Np1 -i "$srcdir"/gcc8.patch
+
+  # reset folder for out-of-source build
+  rm -rf build
+  mkdir build
+
+  # put clang source into the right place (http://git.io/i1GBkg)
+  rm -rf tools/clang
+  ln -s "$srcdir"/emscripten-fastcomp-clang-$pkgver tools/clang
+
+  # python2 shebang fixes
+  cd ../emscripten-$pkgver
+  sed '1s|python$|python2|' -i $(find third_party tools -name \*.py) emrun
+
+  # adapt config file template to use our custom environment variable and path
+  sed -e "s|getenv('LLVM')|getenv('EMSCRIPTEN_FASTCOMP')|" \
+    -e 's|{{{ LLVM_ROOT }}}|/usr/lib/emscripten-fastcomp|' \
+    -i tools/settings_template_readonly.py
+}
+
+build() {
+  cd emscripten-fastcomp-$pkgver/build
+
+  cmake .. \
+    -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_SKIP_RPATH=YES \
+    -DLLVM_TARGETS_TO_BUILD="X86;JSBackend" \
+    -DLLVM_BUILD_RUNTIME=OFF \
+    -DLLVM_INCLUDE_EXAMPLES=OFF \
+    -DLLVM_INCLUDE_TESTS=OFF \
+    -DCLANG_INCLUDE_TESTS=OFF
+  make
+}
+
+package() {
+  # exported variables
+  install -Dm755 "$srcdir"/emscripten.sh "$pkgdir"/etc/profile.d/emscripten.sh
+
+  # LLVM-backend, TODO: include only needed tools
+  cd "$srcdir"/emscripten-fastcomp-$pkgver
+  install -Dm644 emscripten-version.txt "$pkgdir"/usr/lib/emscripten-fastcomp/emscripten-version.txt
+  install -m755 build/bin/* "$pkgdir"/usr/lib/emscripten-fastcomp
+
+  # copy structure
+  cd "$srcdir"/emscripten-$pkgver
+  install -d "$pkgdir"/usr/lib/emscripten
+  cp -rup em* cmake site src system third_party tools "$pkgdir"/usr/lib/emscripten
+
+  # remove clutter
+  rm "$pkgdir"/usr/lib/emscripten-fastcomp/{*-test,llvm-lit}
+  rm "$pkgdir"/usr/lib/emscripten/*.bat
+
+  # docs
+  install -d "$pkgdir"/usr/share/doc
+  ln -s /usr/lib/emscripten/site/source/docs "$pkgdir"/usr/share/doc/$pkgname
+
+  # license
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Deleted: emscripten.install
===================================================================
--- emscripten.install	2018-05-21 09:02:19 UTC (rev 325930)
+++ emscripten.install	2018-05-21 09:02:34 UTC (rev 325931)
@@ -1,11 +0,0 @@
-
-post_install() {
-  echo "=> You need to login again or 'source /etc/profile.d/emscripten.sh' in your"
-  echo "=> already running shells to be able to use emscripten."
-}
-
-post_upgrade() {
-  echo "=> You may need to manually clear your emscripten cache as clang may not link"
-  echo "=> the new library versions with cached data properly. Use this command:"
-  echo "   $ emcc --clear-cache"
-}

Copied: emscripten/repos/community-x86_64/emscripten.install (from rev 325930, emscripten/trunk/emscripten.install)
===================================================================
--- emscripten.install	                        (rev 0)
+++ emscripten.install	2018-05-21 09:02:34 UTC (rev 325931)
@@ -0,0 +1,11 @@
+
+post_install() {
+  echo "=> You need to login again or 'source /etc/profile.d/emscripten.sh' in your"
+  echo "=> already running shells to be able to use emscripten."
+}
+
+post_upgrade() {
+  echo "=> You may need to manually clear your emscripten cache as clang may not link"
+  echo "=> the new library versions with cached data properly. Use this command:"
+  echo "   $ emcc --clear-cache"
+}

Deleted: emscripten.sh
===================================================================
--- emscripten.sh	2018-05-21 09:02:19 UTC (rev 325930)
+++ emscripten.sh	2018-05-21 09:02:34 UTC (rev 325931)
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-export EMSCRIPTEN="/usr/lib/emscripten"
-export EMSCRIPTEN_FASTCOMP="/usr/lib/emscripten-fastcomp"
-
-# add to path
-export PATH=$PATH:$EMSCRIPTEN

Copied: emscripten/repos/community-x86_64/emscripten.sh (from rev 325930, emscripten/trunk/emscripten.sh)
===================================================================
--- emscripten.sh	                        (rev 0)
+++ emscripten.sh	2018-05-21 09:02:34 UTC (rev 325931)
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+export EMSCRIPTEN="/usr/lib/emscripten"
+export EMSCRIPTEN_FASTCOMP="/usr/lib/emscripten-fastcomp"
+
+# add to path
+export PATH=$PATH:$EMSCRIPTEN

Deleted: gcc8.patch
===================================================================
--- gcc8.patch	2018-05-21 09:02:19 UTC (rev 325930)
+++ gcc8.patch	2018-05-21 09:02:34 UTC (rev 325931)
@@ -1,31 +0,0 @@
-From 5cea35478aaaac7728a50cbafd3770f96162f7ac Mon Sep 17 00:00:00 2001
-From: Tilmann Scheller <tschelle at redhat.com>
-Date: Thu, 1 Feb 2018 11:40:01 -0600
-Subject: [PATCH] Fix return type in ORC readMem() client interface.
-
-GCC 8.0.1 detects the type mismatch and causes the compilation to fail. Clang
-and earlier versions of GCC don't detect the issue.
-
-Fixes rhbz#1540620.
----
- include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h b/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
-index da02250ba16..bed472e2e0e 100644
---- a/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
-+++ b/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
-@@ -713,8 +713,8 @@ private:
- 
-   uint32_t getTrampolineSize() const { return RemoteTrampolineSize; }
- 
--  Expected<std::vector<char>> readMem(char *Dst, JITTargetAddress Src,
--                                      uint64_t Size) {
-+  Expected<std::vector<uint8_t>> readMem(char *Dst, JITTargetAddress Src,
-+                                         uint64_t Size) {
-     // Check for an 'out-of-band' error, e.g. from an MM destructor.
-     if (ExistingError)
-       return std::move(ExistingError);
--- 
-2.16.1
-

Copied: emscripten/repos/community-x86_64/gcc8.patch (from rev 325930, emscripten/trunk/gcc8.patch)
===================================================================
--- gcc8.patch	                        (rev 0)
+++ gcc8.patch	2018-05-21 09:02:34 UTC (rev 325931)
@@ -0,0 +1,31 @@
+From 5cea35478aaaac7728a50cbafd3770f96162f7ac Mon Sep 17 00:00:00 2001
+From: Tilmann Scheller <tschelle at redhat.com>
+Date: Thu, 1 Feb 2018 11:40:01 -0600
+Subject: [PATCH] Fix return type in ORC readMem() client interface.
+
+GCC 8.0.1 detects the type mismatch and causes the compilation to fail. Clang
+and earlier versions of GCC don't detect the issue.
+
+Fixes rhbz#1540620.
+---
+ include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h b/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
+index da02250ba16..bed472e2e0e 100644
+--- a/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
++++ b/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
+@@ -713,8 +713,8 @@ private:
+ 
+   uint32_t getTrampolineSize() const { return RemoteTrampolineSize; }
+ 
+-  Expected<std::vector<char>> readMem(char *Dst, JITTargetAddress Src,
+-                                      uint64_t Size) {
++  Expected<std::vector<uint8_t>> readMem(char *Dst, JITTargetAddress Src,
++                                         uint64_t Size) {
+     // Check for an 'out-of-band' error, e.g. from an MM destructor.
+     if (ExistingError)
+       return std::move(ExistingError);
+-- 
+2.16.1
+



More information about the arch-commits mailing list