github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/cgo/libclang_config_llvm17.go (about) 1 //go:build !byollvm && !llvm15 && !llvm16 2 3 package cgo 4 5 /* 6 #cgo linux CFLAGS: -I/usr/include/llvm-17 -I/usr/include/llvm-c-17 -I/usr/lib/llvm-17/include 7 #cgo darwin,amd64 CFLAGS: -I/usr/local/opt/llvm@17/include 8 #cgo darwin,arm64 CFLAGS: -I/opt/homebrew/opt/llvm@17/include 9 #cgo freebsd CFLAGS: -I/usr/local/llvm17/include 10 #cgo linux LDFLAGS: -L/usr/lib/llvm-17/lib -lclang 11 #cgo darwin,amd64 LDFLAGS: -L/usr/local/opt/llvm@17/lib -lclang 12 #cgo darwin,arm64 LDFLAGS: -L/opt/homebrew/opt/llvm@17/lib -lclang 13 #cgo freebsd LDFLAGS: -L/usr/local/llvm17/lib -lclang 14 */ 15 import "C"