forked from tinygo-org/go-llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
62 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
//go:build !byollvm && linux && llvm14 | ||
// +build !byollvm,linux,llvm14 | ||
|
||
package llvm | ||
|
||
// // Note: disabling deprecated warnings as a transition to new function | ||
// // signatures. We should fix this in LLVM 15 or so, when support for | ||
// // LLVM 13 is dropped and the old function signatures aren't supported | ||
// // anymore. | ||
// // Examples are: LLVMConstGEP2, LLVMAddAlias2, ... | ||
// #cgo CFLAGS: -Wno-deprecated-declarations | ||
// | ||
// #cgo CPPFLAGS: -I/usr/lib/llvm-14/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS | ||
// #cgo CXXFLAGS: -std=c++14 | ||
// #cgo LDFLAGS: -L/usr/lib/llvm-14/lib -lLLVM-14 | ||
import "C" | ||
|
||
type run_build_sh int |