diff options
author | Ayke van Laethem <[email protected]> | 2021-03-04 15:21:43 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2021-03-04 15:46:05 +0100 |
commit | 9c3e4794323c8baf436158d5029cf9f207ae6470 (patch) | |
tree | 70ef9150940fb4ce308bbbec0880e579e68fee48 /cgo | |
parent | 6e480e189d1b66bbc80000a8bd4eeda19211ddf8 (diff) | |
download | tinygo-9c3e4794323c8baf436158d5029cf9f207ae6470.tar.gz tinygo-9c3e4794323c8baf436158d5029cf9f207ae6470.zip |
all: remove support for LLVM 9
This LLVM version breaks CI and is now relatively rather old anyway, so
remove support for it.
This also reverts a workaround for LLVM 9, see a9568932b ("maixbit:
workaround to avoid medium code model").
Diffstat (limited to 'cgo')
-rw-r--r-- | cgo/libclang_config.go | 2 | ||||
-rw-r--r-- | cgo/libclang_config_llvm9.go | 14 |
2 files changed, 1 insertions, 15 deletions
diff --git a/cgo/libclang_config.go b/cgo/libclang_config.go index 4a5d0603e..78783db21 100644 --- a/cgo/libclang_config.go +++ b/cgo/libclang_config.go @@ -1,5 +1,5 @@ // +build !byollvm -// +build !llvm10,!llvm9 +// +build !llvm10 package cgo diff --git a/cgo/libclang_config_llvm9.go b/cgo/libclang_config_llvm9.go deleted file mode 100644 index 6e09b01ad..000000000 --- a/cgo/libclang_config_llvm9.go +++ /dev/null @@ -1,14 +0,0 @@ -// +build !byollvm -// +build llvm9 - -package cgo - -/* -#cgo linux CFLAGS: -I/usr/lib/llvm-9/include -#cgo darwin CFLAGS: -I/usr/local/opt/llvm@9/include -#cgo freebsd CFLAGS: -I/usr/local/llvm9/include -#cgo linux LDFLAGS: -L/usr/lib/llvm-9/lib -lclang -#cgo darwin LDFLAGS: -L/usr/local/opt/llvm@9/lib -lclang -lffi -#cgo freebsd LDFLAGS: -L/usr/local/llvm9/lib -lclang -*/ -import "C" |