1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: add windows and macos jobs for checking the wasm backend too (#17451)

This commit is contained in:
Delyan Angelov
2023-03-01 21:53:03 +02:00
committed by GitHub
parent cdc0159c6e
commit e2daa84a33
3 changed files with 69 additions and 30 deletions

View File

@@ -1,10 +1,19 @@
[translated]
module binaryen
#flag -I@VEXEROOT/thirdparty/binaryen/include
#flag -L@VEXEROOT/thirdparty/binaryen/lib
#flag -lbinaryen -lstdc++
#flag darwin -Wl,-rpath,/opt/homebrew/lib -Wl,-rpath,@VEXEROOT/thirdparty/binaryen/lib
$if dynamic_binaryen ? {
#flag -lbinaryen
} $else {
#flag -lbinaryen
#flag -I@VEXEROOT/thirdparty/binaryen/include
#flag -L@VEXEROOT/thirdparty/binaryen/lib
#flag darwin -lc++ -Wl,-rpath,"@executable_path/../../../thirdparty/binaryen/lib"
// the following, allows linking to the binaryen package from `brew install binaryen`, without having to run cmd/tools/install_binaryen.vsh first
#flag darwin -I/opt/homebrew/include -L/opt/homebrew/lib -Wl,-rpath,"/opt/homebrew/lib"
#flag linux -lstdc++
}
type Index = u32
type Type = u64