Skip to content

Commit

Permalink
change jvm arguments when compiling.
Browse files Browse the repository at this point in the history
  • Loading branch information
phronmophobic committed Jul 8, 2024
1 parent 00873ea commit 581924f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/compile-shared
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ $GRAALVM_HOME/bin/native-image \
-H:JNIConfigurationFiles="${PROJECT_DIR}"/conf/jniconfig-arm64-ios.json \
-H:ResourceConfigurationFiles="${PROJECT_DIR}"/conf/resourceconfig-arm64-ios.json \
-J-Dclojure.spec.skip-macros=true \
-J-Xmx20G \
-J-XX:MaxDirectMemorySize=8G \
-J-Dclojure.compiler.direct-linking=true \
-J-Dtech.v3.datatype.graal-native=true \
-Dsvm.targetName=iOS \
Expand All @@ -49,6 +47,10 @@ $GRAALVM_HOME/bin/native-image \
'-Dsvm.platform=org.graalvm.nativeimage.Platform$IOS_AARCH64' \
-jar ../target/grease-uber.jar


# -J-Xmx20G \
# -J-XX:MaxDirectMemorySize=8G \

rm -rf ./build/out
mkdir -p build/out

Expand Down

0 comments on commit 581924f

Please sign in to comment.