Date: Thursday, March 10, 2022 @ 20:39:18 Author: anatolik Revision: 1146120
upgpkg: tinygo 0.22.0-1 Modified: tinygo/trunk/PKGBUILD ----------+ PKGBUILD | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-03-10 20:29:12 UTC (rev 1146119) +++ PKGBUILD 2022-03-10 20:39:18 UTC (rev 1146120) @@ -1,13 +1,13 @@ # Maintainer: Anatol Pomozov <[email protected]> pkgname=tinygo -pkgver=0.21.0 +pkgver=0.22.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' license=(BSD) -options=(!strip) +options=(!strip !lto) # TODO: re-add these deps when switching back to system LLVM #depends=(llvm-libs clang lld) # TODO: add llvm + remove cmake/ninja/python from build deps @@ -21,6 +21,11 @@ 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 + git+https://github.com/tinygo-org/stm32-svd + git://git.musl-libc.org/musl + git+https://github.com/WebAssembly/binaryen.git + git+https://github.com/mingw-w64/mingw-w64.git + git+https://github.com/tinygo-org/llvm-project#branch=xtensa_release_13.0.0 disable_static_llvm.patch) sha256sums=('SKIP' 'SKIP' @@ -30,6 +35,11 @@ 'SKIP' 'SKIP' 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' 'd50593810cff1857e24adf537a624d79f128573d177f4f6da404da1539eaa967') prepare() { @@ -39,24 +49,25 @@ git config -f .gitmodules 'submodule.lib/nrfx.url' "$srcdir/nrfx" git config -f .gitmodules 'submodule.lib/CMSIS.url' "$srcdir/CMSIS" git config -f .gitmodules 'submodule.lib/avr.url' "$srcdir/avr-mcu" - # temporarily disabled because it references an unknown commit hash - #git config -f .gitmodules 'submodule.lib/cmsis-svd.url' "$srcdir/cmsis-svd" + git config -f .gitmodules 'submodule.lib/cmsis-svd.url' "$srcdir/cmsis-svd" git config -f .gitmodules 'submodule.lib/compiler-rt.url' "$srcdir/compiler-rt" git config -f .gitmodules 'submodule.lib/wasi-libc.url' "$srcdir/wasi-libc" git config -f .gitmodules 'submodule.lib/picolibc.url' "$srcdir/picolibc" + git config -f .gitmodules 'submodule.lib/stm32-svd.url' "$srcdir/stm32-svd" + git config -f .gitmodules 'submodule.lib/musl.url' "$srcdir/musl" + git config -f .gitmodules 'submodule.lib/binaryen.url' "$srcdir/binaryen" + git config -f .gitmodules 'submodule.lib/mingw-w64.url' "$srcdir/mingw-w64" git submodule sync git submodule update + ln -s ../llvm-project + #patch -p1 < ../disable_static_llvm.patch - - # TODO: remove `make llvm-source` when switching back to system LLVM - make llvm-source } build() { cd tinygo - # TODO: remove `make llvm-build` when switching back to system LLVM make llvm-build make build/release }
