aboutsummaryrefslogtreecommitdiffhomepage
path: root/cgo/libclang_config_llvm17.go
blob: 6395d8a3af0d7e0823c5f33acd7eb3a37172b3df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//go:build !byollvm && llvm17

package cgo

/*
#cgo linux        CFLAGS:  -I/usr/include/llvm-17 -I/usr/include/llvm-c-17 -I/usr/lib/llvm-17/include
#cgo darwin,amd64 CFLAGS:  -I/usr/local/opt/llvm@17/include
#cgo darwin,arm64 CFLAGS:  -I/opt/homebrew/opt/llvm@17/include
#cgo freebsd      CFLAGS:  -I/usr/local/llvm17/include
#cgo linux        LDFLAGS: -L/usr/lib/llvm-17/lib -lclang
#cgo darwin,amd64 LDFLAGS: -L/usr/local/opt/llvm@17/lib -lclang
#cgo darwin,arm64 LDFLAGS: -L/opt/homebrew/opt/llvm@17/lib -lclang
#cgo freebsd      LDFLAGS: -L/usr/local/llvm17/lib -lclang
*/
import "C"