diff options
author | Ayke van Laethem <[email protected]> | 2023-09-23 15:03:24 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2023-10-06 09:05:07 +0200 |
commit | 18b50db0dc443caf90a1a8ace323c39babcd5fec (patch) | |
tree | d467e70e6552ebb9abf97b0ea1a0fd2c545a85a3 /GNUmakefile | |
parent | 499fce9cee745159c78adf1df5527f3c003972e5 (diff) | |
download | tinygo-18b50db0dc443caf90a1a8ace323c39babcd5fec.tar.gz tinygo-18b50db0dc443caf90a1a8ace323c39babcd5fec.zip |
all: add initial LLVM 17 support
This allows us to test and use LLVM 17, now that it is available in
Homebrew.
Full support for LLVM 17 (including using it by default) will have to
wait until Espressif rebases their Xtensa fork of LLVM.
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index bd597917d..8d36e99a2 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -10,7 +10,7 @@ LLD_SRC ?= $(LLVM_PROJECTDIR)/lld # Try to autodetect LLVM build tools. # Versions are listed here in descending priority order. -LLVM_VERSIONS = 16 15 +LLVM_VERSIONS = 17 16 15 errifempty = $(if $(1),$(1),$(error $(2))) detect = $(shell which $(call errifempty,$(firstword $(foreach p,$(2),$(shell command -v $(p) 2> /dev/null && echo $(p)))),failed to locate $(1) at any of: $(2))) toolSearchPathsVersion = $(1)-$(2) |