aboutsummaryrefslogtreecommitdiffhomepage
path: root/cgo
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2022-08-02 13:35:07 +0200
committerRon Evans <[email protected]>2022-08-04 14:31:54 +0200
commitb6d6efde072d610a5bc19a26686d2661621c32ed (patch)
treeadff60edf077b5dddebfb962e2ef3c8efaf8e8ce /cgo
parent8b67282f9120c6276a9f52f4bb406aa3f5a9e41c (diff)
downloadtinygo-b6d6efde072d610a5bc19a26686d2661621c32ed.tar.gz
tinygo-b6d6efde072d610a5bc19a26686d2661621c32ed.zip
all: remove support for LLVM 13
Diffstat (limited to 'cgo')
-rw-r--r--cgo/libclang_config_llvm13.go16
-rw-r--r--cgo/libclang_config_llvm14.go4
2 files changed, 2 insertions, 18 deletions
diff --git a/cgo/libclang_config_llvm13.go b/cgo/libclang_config_llvm13.go
deleted file mode 100644
index eba84f49f..000000000
--- a/cgo/libclang_config_llvm13.go
+++ /dev/null
@@ -1,16 +0,0 @@
-//go:build !byollvm && llvm13
-// +build !byollvm,llvm13
-
-package cgo
-
-/*
-#cgo linux CFLAGS: -I/usr/lib/llvm-13/include
-#cgo darwin,amd64 CFLAGS: -I/usr/local/opt/llvm@13/include
-#cgo darwin,arm64 CFLAGS: -I/opt/homebrew/opt/llvm@13/include
-#cgo freebsd CFLAGS: -I/usr/local/llvm13/include
-#cgo linux LDFLAGS: -L/usr/lib/llvm-13/lib -lclang
-#cgo darwin,amd64 LDFLAGS: -L/usr/local/opt/llvm@13/lib -lclang -lffi
-#cgo darwin,arm64 LDFLAGS: -L/opt/homebrew/opt/llvm@13/lib -lclang -lffi
-#cgo freebsd LDFLAGS: -L/usr/local/llvm13/lib -lclang
-*/
-import "C"
diff --git a/cgo/libclang_config_llvm14.go b/cgo/libclang_config_llvm14.go
index 00081b2f6..0553bd50d 100644
--- a/cgo/libclang_config_llvm14.go
+++ b/cgo/libclang_config_llvm14.go
@@ -1,5 +1,5 @@
-//go:build !byollvm && !llvm13
-// +build !byollvm,!llvm13
+//go:build !byollvm
+// +build !byollvm
package cgo