diff --git a/.gitignore b/.gitignore index 10a84f7..5292c88 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ /tinygo-0.16.0.tar.gz /tinygo-0.17.0.tar.gz /tinygo-0.18.0.tar.gz +/tinygo-0.19.0.tar.gz diff --git a/0001-Skip-WASI-tests.patch b/0001-Skip-WASI-tests.patch index bcdec17..5f7d4c5 100644 --- a/0001-Skip-WASI-tests.patch +++ b/0001-Skip-WASI-tests.patch @@ -1,4 +1,4 @@ -From d3afa56a31a75d0fb5a696a22a52614ec038e89c Mon Sep 17 00:00:00 2001 +From e5e3be1140751de5175932c2b6c9b7bcf8d550be Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Tue, 15 Dec 2020 05:06:04 -0500 Subject: [PATCH 1/3] Skip WASI tests. @@ -11,7 +11,7 @@ Signed-off-by: Elliott Sales de Andrade 1 file changed, 4 deletions(-) diff --git a/main_test.go b/main_test.go -index 224a71b0..9a4dbc0f 100644 +index 51fd21fd..662fca66 100644 --- a/main_test.go +++ b/main_test.go @@ -108,10 +108,6 @@ func TestCompiler(t *testing.T) { @@ -26,5 +26,5 @@ index 224a71b0..9a4dbc0f 100644 // Test a few build options. -- -2.29.2 +2.31.1 diff --git a/0002-Only-run-native-Linux-tests-on-their-own-GOARCH.patch b/0002-Only-run-native-Linux-tests-on-their-own-GOARCH.patch index 6651302..13c2650 100644 --- a/0002-Only-run-native-Linux-tests-on-their-own-GOARCH.patch +++ b/0002-Only-run-native-Linux-tests-on-their-own-GOARCH.patch @@ -1,4 +1,4 @@ -From 86f8ec3c802ddc08955203de9247e4b697e11f40 Mon Sep 17 00:00:00 2001 +From 4ac1cf8c54dd56d935bce8dc0b1863ff347345f4 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 21 Dec 2020 04:26:02 -0500 Subject: [PATCH 2/3] Only run native Linux tests on their own GOARCH. @@ -12,7 +12,7 @@ Signed-off-by: Elliott Sales de Andrade 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/main_test.go b/main_test.go -index 9a4dbc0f..2956d7af 100644 +index 662fca66..aa2073fb 100644 --- a/main_test.go +++ b/main_test.go @@ -85,15 +85,24 @@ func TestCompiler(t *testing.T) { @@ -50,5 +50,5 @@ index 9a4dbc0f..2956d7af 100644 if err != nil { t.Error("could not get Go version:", err) -- -2.29.2 +2.31.1 diff --git a/0003-Use-clang-to-do-linking.patch b/0003-Use-clang-to-do-linking.patch index 7a281a3..686422b 100644 --- a/0003-Use-clang-to-do-linking.patch +++ b/0003-Use-clang-to-do-linking.patch @@ -1,4 +1,4 @@ -From c73218ed03707d7c566abe2105ef2969f2874578 Mon Sep 17 00:00:00 2001 +From bc8ebbf8b8f7b4e83f34a7fd90fbf64a8108f539 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 21 Dec 2020 04:28:59 -0500 Subject: [PATCH 3/3] Use clang to do linking. @@ -13,10 +13,10 @@ Signed-off-by: Elliott Sales de Andrade 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/compileopts/target.go b/compileopts/target.go -index 81de4ed0..f06f97f1 100644 +index ba5f7382..411d99d9 100644 --- a/compileopts/target.go +++ b/compileopts/target.go -@@ -244,9 +244,10 @@ func defaultTarget(goos, goarch, triple string) (*TargetSpec, error) { +@@ -247,9 +247,10 @@ func defaultTarget(goos, goarch, triple string) (*TargetSpec, error) { GOARCH: goarch, BuildTags: []string{goos, goarch}, Scheduler: "tasks", @@ -28,7 +28,7 @@ index 81de4ed0..f06f97f1 100644 GDB: []string{"gdb"}, PortReset: "false", } -@@ -265,18 +266,12 @@ func defaultTarget(goos, goarch, triple string) (*TargetSpec, error) { +@@ -268,18 +269,12 @@ func defaultTarget(goos, goarch, triple string) (*TargetSpec, error) { spec.GDB = []string{"gdb-multiarch"} if goarch == "arm" && goos == "linux" { spec.CFlags = append(spec.CFlags, "--sysroot=/usr/arm-linux-gnueabihf") @@ -48,5 +48,5 @@ index 81de4ed0..f06f97f1 100644 return &spec, nil } -- -2.29.2 +2.31.1 diff --git a/clean_tarballs.sh b/clean_tarballs.sh index bef8955..50598f1 100755 --- a/clean_tarballs.sh +++ b/clean_tarballs.sh @@ -1,7 +1,7 @@ #!/bin/bash -e CMSIS_VERSION=9fe411cef1cef5de58e5957b89760759de44e393 -CMSIS_SVD_VERSION=2fb66c573555cc51e76dc03c003518366714139e +CMSIS_SVD_VERSION=9c35b6d9df1f9eeecfcc33fc6f98719dbaaa30ce if [ -e "cmsis-${CMSIS_VERSION}-clean.tar.xz" ]; then echo "Not downloading cmsis-${CMSIS_VERSION}-clean.tar.xz again!" @@ -31,6 +31,7 @@ tar cJf cmsis_svd-${CMSIS_SVD_VERSION}-clean.tar.xz \ cmsis-svd-${CMSIS_SVD_VERSION}/data/Kendryte-Community/ \ cmsis-svd-${CMSIS_SVD_VERSION}/data/SiFive-Community/ \ cmsis-svd-${CMSIS_SVD_VERSION}/data/NXP/M* \ + cmsis-svd-${CMSIS_SVD_VERSION}/data/RaspberryPi/ \ # This has a weird license, so we cannot include it. # cmsis-svd-${CMSIS_SVD_VERSION}/data/STMicro/ rm -r cmsis-svd-${CMSIS_SVD_VERSION}/ diff --git a/sources b/sources index 81018c2..d343345 100644 --- a/sources +++ b/sources @@ -1,7 +1,7 @@ -SHA512 (tinygo-0.18.0.tar.gz) = 8e070f182b277f442ef64b7069b9a27b62efc44c75a335a2a14438d1740b2df2fe2c719d74b1110b9aa37caf70e74ceec3252e1707dca3506adae4c03a2568fa +SHA512 (tinygo-0.19.0.tar.gz) = 2decbf3f74318387b1cf22ca33240c8942237992de145f29bf548bfac04e95c73980c0f722be075f7e65a637d44c9a31fe22a253e5f168046d120d4a55bcfdf7 SHA512 (avr-6624554c02b237b23dc17d53e992bf54033fc228.tar.gz) = 1aa157bd761db38f8680614fa1cf47d7009508f65291b7eaaa5aba1ae76d35103f68a42947b7269a170d2f1cf8fb09941a5d74070fe6d204b68dd15a9ad2ed29 SHA512 (cmsis-9fe411cef1cef5de58e5957b89760759de44e393-clean.tar.xz) = f131fc241f61982c49f334eb502c2f13da61eb7bdaa641ee84a8de30c4d576b735b8aadeafd7d75351473a2df6a42de6a236ecc5dcc616ee6cfcc07af29446f9 -SHA512 (cmsis_svd-2fb66c573555cc51e76dc03c003518366714139e-clean.tar.xz) = 09fe3c92537bcea70599f9979a1d6291d22c7b6a6f4ac674d3f19e6b3c18728db4f4f0996803f08b97c4a64206f060a2dd4f46c1cc356ce4add8df6f8838019f +SHA512 (cmsis_svd-9c35b6d9df1f9eeecfcc33fc6f98719dbaaa30ce-clean.tar.xz) = 27e8d725944d15e3fac27154a695d9722062f217c183ac86e28e525c838b969809252f0932f739d205177f73f5ba23ef6467476127edb354b61ddddd7f0885d4 SHA512 (compiler-rt-9.0.0.src.tar.xz) = a7bb0a67165d29317cee58c22ed79f0d6a9cb9279dcd355d4267f3cd6c531a7be455a28267c591d6e2c0f9c56e363d40c10a405391e07d02ab3e30f00ffef2a8 SHA512 (nrfx-d779b49fc59c7a165e7da1d7cd7d57b28a059f16.tar.gz) = 31c7fc6fd88d4a74e5739b29659cb717a4629480d17d84e491d61c36c435aba16d38ef63d1036e508666a17eeaac5f11a5ff83211f88410f30cc2e152146ee83 SHA512 (picolibc-80528c684b10aaee977397e7eb40c4784e6dc433.tar.gz) = d7cdddf4ba2c4c4a447864e899c9e92674438358e8c1123c80d38b0c1d57cb35fdaaa60a73a16331637884d23207fdc9f06d7f28dc5920c76e25808869e2c7b1 diff --git a/tinygo.spec b/tinygo.spec index 69f8ae0..a555fae 100644 --- a/tinygo.spec +++ b/tinygo.spec @@ -6,16 +6,12 @@ # https://github.com/tinygo-org/tinygo %global goipath github.com/tinygo-org/tinygo -Version: 0.18.0 +Version: 0.19.0 %global CMSIS_commit 9fe411cef1cef5de58e5957b89760759de44e393 %global avr_commit 6624554c02b237b23dc17d53e992bf54033fc228 -%if %{fedora} > 32 %global clang_version 11 -%else -%global clang_version 10 -%endif -%global cmsis_svd_commit 2fb66c573555cc51e76dc03c003518366714139e +%global cmsis_svd_commit 9c35b6d9df1f9eeecfcc33fc6f98719dbaaa30ce %global compiler_rt_version 9.0.0 %global nrfx_commit d779b49fc59c7a165e7da1d7cd7d57b28a059f16 %global picolibc_commit 80528c684b10aaee977397e7eb40c4784e6dc433 @@ -226,6 +222,9 @@ make wasmtest %changelog +* Sun Sep 05 2021 Elliott Sales de Andrade - 0.19.0-1 +- Update to latest version (#1978517) + * Thu May 13 2021 Elliott Sales de Andrade - 0.18.0-1 - Update to latest version (#1960058)