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

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Jun 15 03:32:17 UTC 2020


    Date: Monday, June 15, 2020 @ 03:32:16
  Author: svenstaro
Revision: 644763

archrelease: copy trunk to community-x86_64

Added:
  emscripten/repos/community-x86_64/PKGBUILD
    (from rev 644762, emscripten/trunk/PKGBUILD)
  emscripten/repos/community-x86_64/emscripten-config
    (from rev 644762, emscripten/trunk/emscripten-config)
  emscripten/repos/community-x86_64/emscripten.install
    (from rev 644762, emscripten/trunk/emscripten.install)
  emscripten/repos/community-x86_64/emscripten.sh
    (from rev 644762, emscripten/trunk/emscripten.sh)
  emscripten/repos/community-x86_64/libcxxabi-include-libunwind.patch
    (from rev 644762, emscripten/trunk/libcxxabi-include-libunwind.patch)
Deleted:
  emscripten/repos/community-x86_64/PKGBUILD
  emscripten/repos/community-x86_64/emscripten-config
  emscripten/repos/community-x86_64/emscripten.install
  emscripten/repos/community-x86_64/emscripten.sh
  emscripten/repos/community-x86_64/libcxxabi-include-libunwind.patch

-----------------------------------+
 PKGBUILD                          |  145 ++++++++++++++++++------------------
 emscripten-config                 |   10 +-
 emscripten.install                |   26 +++---
 emscripten.sh                     |    6 -
 libcxxabi-include-libunwind.patch |   28 +++---
 5 files changed, 108 insertions(+), 107 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-15 03:32:01 UTC (rev 644762)
+++ PKGBUILD	2020-06-15 03:32:16 UTC (rev 644763)
@@ -1,72 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.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.39.18
-pkgrel=2
-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' 'binaryen' 'which')
-makedepends=('cmake' 'libxml2' 'git' 'ninja')
-optdepends=('java-environment: for using clojure'
-            'ruby: for using websockify addon'
-            'cmake: for emcc --show-ports')
-install=emscripten.install
-# Get commit SHAs from here:
-# https://chromium.googlesource.com/emscripten-releases/+/refs/heads/master/DEPS
-source=("git+https://github.com/kripken/emscripten#tag=$pkgver"
-        git+https://github.com/llvm/llvm-project.git#commit=4c735439fd9a0cfea9ae366df8b36281436d4708
-        "emscripten.sh"
-        emscripten-config
-        libcxxabi-include-libunwind.patch)
-sha512sums=('SKIP'
-            'SKIP'
-            'f7af34461958494c6a9ebd86f5ac63bb76547a2779950cced520b2252e581316149906565f2d8eb8aba47010c1ece5bb27987c6f7286a4ef18eeee8ecad1dae9'
-            '1d60b8942f3487c034b7fadb5ab1aeb603131611331ae1c9e8364180ca3a5fadb11f39a30c7f6167080b5e8ba0b1588a3bf42d8904807201cd8c5d6df0653419'
-            'b124ff6110810e3190bf05deda478c6fef044ff55a435df978fdb7ff7b4f312186add48cb99946b67a2467f7e28855e36606209c3c4dcee2898762ccc2e4c2ed')
-
-prepare() {
-  cd emscripten
-
-  patch -Np1 --no-backup-if-mismatch -i "$srcdir"/libcxxabi-include-libunwind.patch
-}
-
-build() {
-  cd llvm-project/llvm
-
-  # Inspired from https://github.com/WebAssembly/waterfall/blob/db2ea5eeb11b74cce9b9459be0cc88807744b1b5/src/build.py#L868
-  cmake . \
-    -Bbuild \
-    -GNinja \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_SKIP_RPATH=YES \
-    -DLLVM_TARGETS_TO_BUILD="X86;WebAssembly" \
-    -DLLVM_BUILD_RUNTIME=OFF \
-    -DLLVM_TOOL_LTO_BUILD=ON \
-    -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON \
-    -DLLVM_INCLUDE_EXAMPLES=OFF \
-    -DLLVM_INCLUDE_TESTS=OFF \
-    -DLLVM_ENABLE_PROJECTS="lld;clang" \
-    -DCLANG_INCLUDE_TESTS=OFF
-  ninja -C build
-}
-
-package() {
-  # Install LLVM stuff according to https://github.com/emscripten-core/emscripten/blob/master/docs/packaging.md
-  install -d "$pkgdir"/usr/lib
-  cp -r "$srcdir"/llvm-project/llvm/build/bin "$pkgdir"/usr/lib/emscripten-llvm
-
-  # Install emscripten
-  cd emscripten
-  make DESTDIR="$pkgdir"/usr/lib/emscripten install
-  install -Dm644 "$srcdir"/emscripten-config "$pkgdir"/usr/lib/emscripten/.emscripten
-
-  install -d "$pkgdir"/usr/share/doc
-  ln -s /usr/lib/emscripten/site/source/docs "$pkgdir"/usr/share/doc/$pkgname
-  install -Dm755 "$srcdir"/emscripten.sh "$pkgdir"/etc/profile.d/emscripten.sh
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: emscripten/repos/community-x86_64/PKGBUILD (from rev 644762, emscripten/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-06-15 03:32:16 UTC (rev 644763)
@@ -0,0 +1,73 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.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
+_llvm_commit=3d8149c2a1228609fd7d7c91a04681304a2f0ca9
+pkgver=1.39.18
+pkgrel=3
+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' 'binaryen' 'which')
+makedepends=('cmake' 'libxml2' 'git' 'ninja')
+optdepends=('java-environment: for using clojure'
+            'ruby: for using websockify addon'
+            'cmake: for emcc --show-ports')
+install=emscripten.install
+# Get commit SHAs from here:
+# https://chromium.googlesource.com/emscripten-releases/+/refs/heads/master/DEPS
+source=("git+https://github.com/kripken/emscripten#tag=$pkgver"
+        git+https://github.com/llvm/llvm-project.git#commit=$_llvm_commit
+        "emscripten.sh"
+        emscripten-config
+        libcxxabi-include-libunwind.patch)
+sha512sums=('SKIP'
+            'SKIP'
+            'f7af34461958494c6a9ebd86f5ac63bb76547a2779950cced520b2252e581316149906565f2d8eb8aba47010c1ece5bb27987c6f7286a4ef18eeee8ecad1dae9'
+            '1d60b8942f3487c034b7fadb5ab1aeb603131611331ae1c9e8364180ca3a5fadb11f39a30c7f6167080b5e8ba0b1588a3bf42d8904807201cd8c5d6df0653419'
+            'b124ff6110810e3190bf05deda478c6fef044ff55a435df978fdb7ff7b4f312186add48cb99946b67a2467f7e28855e36606209c3c4dcee2898762ccc2e4c2ed')
+
+prepare() {
+  cd emscripten
+
+  patch -Np1 --no-backup-if-mismatch -i "$srcdir"/libcxxabi-include-libunwind.patch
+}
+
+build() {
+  cd llvm-project/llvm
+
+  # Inspired from https://github.com/WebAssembly/waterfall/blob/db2ea5eeb11b74cce9b9459be0cc88807744b1b5/src/build.py#L868
+  cmake . \
+    -Bbuild \
+    -GNinja \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_SKIP_RPATH=YES \
+    -DLLVM_TARGETS_TO_BUILD="X86;WebAssembly" \
+    -DLLVM_BUILD_RUNTIME=OFF \
+    -DLLVM_TOOL_LTO_BUILD=ON \
+    -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON \
+    -DLLVM_INCLUDE_EXAMPLES=OFF \
+    -DLLVM_INCLUDE_TESTS=OFF \
+    -DLLVM_ENABLE_PROJECTS="lld;clang" \
+    -DCLANG_INCLUDE_TESTS=OFF
+  ninja -C build
+}
+
+package() {
+  # Install LLVM stuff according to https://github.com/emscripten-core/emscripten/blob/master/docs/packaging.md
+  install -d "$pkgdir"/usr/lib
+  cp -r "$srcdir"/llvm-project/llvm/build/bin "$pkgdir"/usr/lib/emscripten-llvm
+
+  # Install emscripten
+  cd emscripten
+  make DESTDIR="$pkgdir"/usr/lib/emscripten install
+  install -Dm644 "$srcdir"/emscripten-config "$pkgdir"/usr/lib/emscripten/.emscripten
+
+  install -d "$pkgdir"/usr/share/doc
+  ln -s /usr/lib/emscripten/site/source/docs "$pkgdir"/usr/share/doc/$pkgname
+  install -Dm755 "$srcdir"/emscripten.sh "$pkgdir"/etc/profile.d/emscripten.sh
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Deleted: emscripten-config
===================================================================
--- emscripten-config	2020-06-15 03:32:01 UTC (rev 644762)
+++ emscripten-config	2020-06-15 03:32:16 UTC (rev 644763)
@@ -1,5 +0,0 @@
-NODE_JS = '/usr/bin/node'
-LLVM_ROOT = '/usr/lib/emscripten-llvm'
-BINARYEN_ROOT = '/usr'
-EMSCRIPTEN_ROOT = '/usr/lib/emscripten'
-JAVA = 'java'

Copied: emscripten/repos/community-x86_64/emscripten-config (from rev 644762, emscripten/trunk/emscripten-config)
===================================================================
--- emscripten-config	                        (rev 0)
+++ emscripten-config	2020-06-15 03:32:16 UTC (rev 644763)
@@ -0,0 +1,5 @@
+NODE_JS = '/usr/bin/node'
+LLVM_ROOT = '/usr/lib/emscripten-llvm'
+BINARYEN_ROOT = '/usr'
+EMSCRIPTEN_ROOT = '/usr/lib/emscripten'
+JAVA = 'java'

Deleted: emscripten.install
===================================================================
--- emscripten.install	2020-06-15 03:32:01 UTC (rev 644762)
+++ emscripten.install	2020-06-15 03:32:16 UTC (rev 644763)
@@ -1,13 +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"
-  echo "You may also need to delete ~/.emscripten if emscripten complains about old paths"
-  echo "or executables not found."
-}

Copied: emscripten/repos/community-x86_64/emscripten.install (from rev 644762, emscripten/trunk/emscripten.install)
===================================================================
--- emscripten.install	                        (rev 0)
+++ emscripten.install	2020-06-15 03:32:16 UTC (rev 644763)
@@ -0,0 +1,13 @@
+
+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"
+  echo "You may also need to delete ~/.emscripten if emscripten complains about old paths"
+  echo "or executables not found."
+}

Deleted: emscripten.sh
===================================================================
--- emscripten.sh	2020-06-15 03:32:01 UTC (rev 644762)
+++ emscripten.sh	2020-06-15 03:32:16 UTC (rev 644763)
@@ -1,3 +0,0 @@
-#!/bin/sh
-export PATH=$PATH:/usr/lib/emscripten
-export EM_IGNORE_SANITY=true

Copied: emscripten/repos/community-x86_64/emscripten.sh (from rev 644762, emscripten/trunk/emscripten.sh)
===================================================================
--- emscripten.sh	                        (rev 0)
+++ emscripten.sh	2020-06-15 03:32:16 UTC (rev 644763)
@@ -0,0 +1,3 @@
+#!/bin/sh
+export PATH=$PATH:/usr/lib/emscripten
+export EM_IGNORE_SANITY=true

Deleted: libcxxabi-include-libunwind.patch
===================================================================
--- libcxxabi-include-libunwind.patch	2020-06-15 03:32:01 UTC (rev 644762)
+++ libcxxabi-include-libunwind.patch	2020-06-15 03:32:16 UTC (rev 644763)
@@ -1,14 +0,0 @@
-diff --git a/tools/system_libs.py b/tools/system_libs.py
-index a1e616fa4..0b483d835 100755
---- a/tools/system_libs.py
-+++ b/tools/system_libs.py
-@@ -856,6 +856,9 @@ class libcxxabi(CXXLibrary, NoExceptLibrary, MTLibrary):
-       # revision: https://reviews.llvm.org/D64961
-       '-D_LIBCXXABI_GUARD_ABI_ARM',
-     ]
-+  includes = [
-+    ['system', 'lib', 'libunwind', 'include'],
-+  ]
- 
-   def get_cflags(self):
-     cflags = super(libcxxabi, self).get_cflags()

Copied: emscripten/repos/community-x86_64/libcxxabi-include-libunwind.patch (from rev 644762, emscripten/trunk/libcxxabi-include-libunwind.patch)
===================================================================
--- libcxxabi-include-libunwind.patch	                        (rev 0)
+++ libcxxabi-include-libunwind.patch	2020-06-15 03:32:16 UTC (rev 644763)
@@ -0,0 +1,14 @@
+diff --git a/tools/system_libs.py b/tools/system_libs.py
+index a1e616fa4..0b483d835 100755
+--- a/tools/system_libs.py
++++ b/tools/system_libs.py
+@@ -856,6 +856,9 @@ class libcxxabi(CXXLibrary, NoExceptLibrary, MTLibrary):
+       # revision: https://reviews.llvm.org/D64961
+       '-D_LIBCXXABI_GUARD_ABI_ARM',
+     ]
++  includes = [
++    ['system', 'lib', 'libunwind', 'include'],
++  ]
+ 
+   def get_cflags(self):
+     cflags = super(libcxxabi, self).get_cflags()


More information about the arch-commits mailing list