[arch-commits] Commit in tinygo/trunk (PKGBUILD disable_static_llvm.patch)
Anatol Pomozov
anatolik at archlinux.org
Sun Mar 7 03:14:50 UTC 2021
Date: Sunday, March 7, 2021 @ 03:14:49
Author: anatolik
Revision: 885238
upgpkg: tinygo 0.17.0-1
Modified:
tinygo/trunk/PKGBUILD
tinygo/trunk/disable_static_llvm.patch
---------------------------+
PKGBUILD | 6 +++---
disable_static_llvm.patch | 12 ++++++------
2 files changed, 9 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-07 03:13:59 UTC (rev 885237)
+++ PKGBUILD 2021-03-07 03:14:49 UTC (rev 885238)
@@ -1,8 +1,8 @@
# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
pkgname=tinygo
-pkgver=0.16.0
-pkgrel=3
+pkgver=0.17.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'
@@ -28,7 +28,7 @@
'SKIP'
'SKIP'
'SKIP'
- 'b6b846b6ca21c200dc842f669422454146b5358f83a89a4946c1e54ed6953190')
+ 'd50593810cff1857e24adf537a624d79f128573d177f4f6da404da1539eaa967')
prepare() {
cd tinygo
Modified: disable_static_llvm.patch
===================================================================
--- disable_static_llvm.patch 2021-03-07 03:13:59 UTC (rev 885237)
+++ disable_static_llvm.patch 2021-03-07 03:14:49 UTC (rev 885238)
@@ -1,4 +1,4 @@
-commit a2237f36714e76b0162de177e2444fa800cc9e0f
+commit 897aa65fb711444ccaa1abcfac4d7640f796aa04
Author: Anatol Pomozov <anatol.pomozov at gmail.com>
Date: Fri Oct 16 09:05:27 2020 -0700
@@ -5,10 +5,10 @@
Arch linux build changes
diff --git a/Makefile b/Makefile
-index 660975e..d986370 100644
+index aebf635..a2d0891 100644
--- a/Makefile
+++ b/Makefile
-@@ -169,11 +169,10 @@ lib/wasi-libc/sysroot/lib/wasm32-wasi/libc.a:
+@@ -173,11 +173,10 @@ lib/wasi-libc/sysroot/lib/wasm32-wasi/libc.a:
# Build the Go compiler.
tinygo:
@@ -17,12 +17,12 @@
+ CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GO) build -buildmode exe -o build/tinygo$(EXE) -tags llvm11 -ldflags="-X main.gitSha1=`git rev-parse --short HEAD`" .
test: wasi-libc
-- CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GO) test -v -buildmode exe -tags byollvm ./cgo ./compileopts ./interp ./transform .
-+ CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GO) test -v -buildmode exe ./cgo ./compileopts ./interp ./transform .
+- CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GO) test -v -buildmode exe -tags byollvm ./cgo ./compileopts ./compiler ./interp ./transform .
++ CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GO) test -v -buildmode exe ./cgo ./compileopts ./compiler ./interp ./transform .
# Test known-working standard library packages.
# TODO: do this in one command, parallelize, and only show failing tests (no
-@@ -392,7 +391,6 @@ build/release: tinygo gen-device wasi-libc
+@@ -408,7 +407,6 @@ build/release: tinygo gen-device wasi-libc
@mkdir -p build/release/tinygo/pkg/armv7em-none-eabi
@echo copying source files
@cp -p build/tinygo$(EXE) build/release/tinygo/bin
More information about the arch-commits
mailing list