diff --git a/tinygo.spec b/tinygo.spec index 22da6a7..1223311 100644 --- a/tinygo.spec +++ b/tinygo.spec @@ -68,6 +68,8 @@ BuildRequires: golang(golang.org/x/tools/go/ast/astutil) BuildRequires: golang(golang.org/x/tools/go/ssa) BuildRequires: golang(tinygo.org/x/go-llvm) +BuildRequires: avr-gcc +BuildRequires: avr-libc # We don't have glibc for arm, so skip these. #BuildRequires: gcc-arm-linux-gnu #BuildRequires: gcc-aarch64-linux-gnu @@ -78,6 +80,8 @@ BuildRequires: qemu-system-arm-core Requires: clang-libs%{?isa} = %{clang_version} Requires: golang Requires: lld +Recommends: avr-gcc +Recommends: avr-libc Recommends: clang Recommends: qemu-system-arm-core @@ -164,9 +168,7 @@ cp -rp targets %{buildroot}%{tinygoroot}/ %check export TINYGOROOT=%{buildroot}%{tinygoroot} export GOPATH=%{buildroot}%{tinygoroot} -# Fedora LLVM doesn't support AVR yet, so don't run full suite. -# https://bugzilla.redhat.com/show_bug.cgi?id=1718492 -PATH=%{buildroot}%{_bindir}:$PATH make smoketest AVR=0 +PATH=%{buildroot}%{_bindir}:$PATH make smoketest %gocheck -v -d tests/tinygotest %endif @@ -188,6 +190,8 @@ PATH=%{buildroot}%{_bindir}:$PATH make smoketest AVR=0 %changelog * Tue Feb 11 2020 Elliott Sales de Andrade - 0.11.0-3 - Enable RISCV tests +- Enable AVR tests +- Add Recommends for AVR dependencies * Mon Feb 10 2020 Elliott Sales de Andrade - 0.11.0-2 - Fix setting of TINYGOROOT to point to packaged version