[arch-commits] Commit in tinygo/trunk (PKGBUILD disable_static_llvm.patch)

Anatol Pomozov anatolik at archlinux.org
Sat Nov 21 06:22:46 UTC 2020


    Date: Saturday, November 21, 2020 @ 06:22:45
  Author: anatolik
Revision: 758299

upgpkg: tinygo 0.16.0-1

Modified:
  tinygo/trunk/PKGBUILD
  tinygo/trunk/disable_static_llvm.patch

---------------------------+
 PKGBUILD                  |   12 ++++--------
 disable_static_llvm.patch |   15 +++------------
 2 files changed, 7 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-21 06:13:27 UTC (rev 758298)
+++ PKGBUILD	2020-11-21 06:22:45 UTC (rev 758299)
@@ -1,8 +1,8 @@
 # Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
 
 pkgname=tinygo
-pkgver=0.15.0
-pkgrel=2
+pkgver=0.16.0
+pkgrel=1
 pkgdesc='Go compiler for small places. Microcontrollers, WebAssembly, and command-line tools. Based on LLVM.'
 arch=(x86_64)
 url='https://github.com/tinygo-org/tinygo'
@@ -19,8 +19,7 @@
         git+https://github.com/llvm-mirror/compiler-rt#branch=release_80
         git+https://github.com/CraneStation/wasi-libc
         git+https://github.com/keith-packard/picolibc
-        disable_static_llvm.patch
-        llvm11.patch::https://github.com/tinygo-org/tinygo/commit/b40f250530769330cec4a2ae0a9ba6e0c6ce058a.patch)
+        disable_static_llvm.patch)
 sha256sums=('SKIP'
             'SKIP'
             'SKIP'
@@ -29,8 +28,7 @@
             'SKIP'
             'SKIP'
             'SKIP'
-            '7648bd3b4b78174d912908d35bff6f2b0fe5dfdf78e4aa2d3824b929fb244335'
-            'e1071587cd170c8e5c52d60fa9b21952385ccc714e218f88f729977e1aef82c5')
+            'b6b846b6ca21c200dc842f669422454146b5358f83a89a4946c1e54ed6953190')
 
 prepare() {
   cd tinygo
@@ -48,8 +46,6 @@
   git submodule update
 
   patch -p1 < ../disable_static_llvm.patch
-
-  patch -p1 < ../llvm11.patch # https://github.com/tinygo-org/tinygo/issues/1435
 }
 
 build() {

Modified: disable_static_llvm.patch
===================================================================
--- disable_static_llvm.patch	2020-11-21 06:13:27 UTC (rev 758298)
+++ disable_static_llvm.patch	2020-11-21 06:22:45 UTC (rev 758299)
@@ -1,4 +1,4 @@
-commit 12ab9514299c32c235139148824cba704e7d5e27
+commit a2237f36714e76b0162de177e2444fa800cc9e0f
 Author: Anatol Pomozov <anatol.pomozov at gmail.com>
 Date:   Fri Oct 16 09:05:27 2020 -0700
 
@@ -5,19 +5,10 @@
     Arch linux build changes
 
 diff --git a/Makefile b/Makefile
-index e59799c..f3fb3bf 100644
+index 660975e..d986370 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -12,7 +12,7 @@ LLD_SRC ?= $(LLVM_PROJECTDIR)/lld
- ifneq (, $(shell command -v llvm-build/bin/clang 2> /dev/null))
-     CLANG ?= $(abspath llvm-build/bin/clang)
- else
--    CLANG ?= clang-10
-+    CLANG ?= clang
- endif
- ifneq (, $(shell command -v llvm-build/bin/llvm-ar 2> /dev/null))
-     LLVM_AR ?= $(abspath llvm-build/bin/llvm-ar)
-@@ -184,11 +184,10 @@ lib/wasi-libc/sysroot/lib/wasm32-wasi/libc.a:
+@@ -169,11 +169,10 @@ lib/wasi-libc/sysroot/lib/wasm32-wasi/libc.a:
  
  # Build the Go compiler.
  tinygo:



More information about the arch-commits mailing list