github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/cgo/libclang_config_llvm15.go (about)

     1  //go:build !byollvm && llvm15
     2  
     3  package cgo
     4  
     5  /*
     6  #cgo linux        CFLAGS:  -I/usr/lib/llvm-15/include
     7  #cgo darwin,amd64 CFLAGS:  -I/usr/local/opt/llvm@15/include
     8  #cgo darwin,arm64 CFLAGS:  -I/opt/homebrew/opt/llvm@15/include
     9  #cgo freebsd      CFLAGS:  -I/usr/local/llvm15/include
    10  #cgo linux        LDFLAGS: -L/usr/lib/llvm-15/lib -lclang
    11  #cgo darwin,amd64 LDFLAGS: -L/usr/local/opt/llvm@15/lib -lclang
    12  #cgo darwin,arm64 LDFLAGS: -L/opt/homebrew/opt/llvm@15/lib -lclang
    13  #cgo freebsd      LDFLAGS: -L/usr/local/llvm15/lib -lclang
    14  */
    15  import "C"