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").
This commit is contained in:
Ayke van Laethem
2021-03-04 15:21:43 +01:00
committed by Ron Evans
parent 6e480e189d
commit 9c3e479432
5 changed files with 7 additions and 24 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
// +build !byollvm
// +build !llvm10,!llvm9
// +build !llvm10
package cgo
-14
View File
@@ -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"