Skip to content

Commit 69b93d0

Browse files
committed
correct native image args
1 parent 1ff5990 commit 69b93d0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

script/compile-native-intel-mac

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,19 @@ echo $JAVA_HOME
1515
args_app=(
1616
"--verbose"
1717
"--native-compiler-path=$(brew --prefix llvm)/bin/clang"
18-
"--native-compiler-options='-I$(brew --prefix llvm)/include -L$(brew --prefix llvm)/lib'"
18+
"--native-compiler-options=-I$(brew --prefix llvm)/include"
19+
"--native-compiler-options=-L$(brew --prefix llvm)/lib"
20+
"-H:-CheckToolchain" # Disable toolchain validation
1921
"-jar" "target/main.uberjar.jar"
2022
"-H:Name=dtlv"
2123
)
2224

2325
args_test0=(
2426
"--verbose"
25-
"--native-compiler-path=/usr/local/opt/llvm/bin/clang"
26-
"--native-compiler-options='-I$(brew --prefix llvm)/include -L$(brew --prefix llvm)/lib'"
27+
"--native-compiler-path=$(brew --prefix llvm)/bin/clang"
28+
"--native-compiler-options=-I$(brew --prefix llvm)/include"
29+
"--native-compiler-options=-L$(brew --prefix llvm)/lib"
30+
"-H:-CheckToolchain" # Disable toolchain validation
2731
"-jar" "target/test0.uberjar.jar"
2832
"-H:Name=dtlv-test0"
2933
)

0 commit comments

Comments
 (0)