riscv: use LLVM tools instead of GNU toolchain

Now that we use LLVM 9, RISC-V support in LLVM has far fewer bugs and we
can avoid the GNU toolchain.

  * replace GNU linker with lld
  * replace GCC with clang

Additionally, RISC-V was promoted to stable so it can be enabled by
default in CI.
This commit is contained in:
Ayke van Laethem
2019-11-29 19:12:51 +01:00
committed by Ron Evans
parent 06647aab24
commit d441f0152f
5 changed files with 11 additions and 12 deletions
-2
View File
@@ -243,10 +243,8 @@ ifneq ($(AVR), 0)
$(TINYGO) build -size short -o test.hex -target=digispark examples/blinky1
@$(MD5SUM) test.hex
endif
ifneq ($(RISCV), 0)
$(TINYGO) build -size short -o test.hex -target=hifive1b examples/blinky1
@$(MD5SUM) test.hex
endif
$(TINYGO) build -o wasm.wasm -target=wasm examples/wasm/export
$(TINYGO) build -o wasm.wasm -target=wasm examples/wasm/main