mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-31 17:59:03 +00:00
make/smoketest.mk: build nintendoswitch in smoketest-quick
It is the only target that uses the aarch64 LLVM triple. With it, smoketest-quick covers all 13 triples that the full smoke test uses.
This commit is contained in:
@@ -632,6 +632,9 @@ smoketest-quick: testchdir | build/smoke
|
|||||||
# x86-64 with PE/COFF output
|
# x86-64 with PE/COFF output
|
||||||
$(TINYGO) build -size short -o $(SMOKE_OUT).efi -target=uefi-amd64 examples/test
|
$(TINYGO) build -size short -o $(SMOKE_OUT).efi -target=uefi-amd64 examples/test
|
||||||
@$(MD5SUM) $(SMOKE_OUT).efi
|
@$(MD5SUM) $(SMOKE_OUT).efi
|
||||||
|
# aarch64
|
||||||
|
$(TINYGO) build -o $(SMOKE_OUT).nro -target=nintendoswitch examples/echo2
|
||||||
|
@$(MD5SUM) $(SMOKE_OUT).nro
|
||||||
# cross compilation with cgo
|
# cross compilation with cgo
|
||||||
GOOS=linux GOARCH=arm $(TINYGO) build -size short -o $(SMOKE_OUT).elf ./testdata/cgo
|
GOOS=linux GOARCH=arm $(TINYGO) build -size short -o $(SMOKE_OUT).elf ./testdata/cgo
|
||||||
ifneq ($(STM32), 0)
|
ifneq ($(STM32), 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user