Skip to content

Commit

Permalink
more debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
phronmophobic committed Jul 8, 2024
1 parent 69ce993 commit 84d6c23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mobiletest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
export GRAALVM_HOME="$HOME/graalvm-svm-java17-darwin-m1-gluon-22.1.0.1-Final/Contents/Home"
export JAVA_HOME="$GRAALVM_HOME"
export PATH="$JAVA_HOME/bin:$PATH"
scripts/compile-shared
/bin/bash scripts/compile-shared
- uses: actions/upload-artifact@v1
with:
Expand Down
8 changes: 1 addition & 7 deletions scripts/compile-shared
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ set -x
set -e


env

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd "$DIR"

Expand All @@ -23,7 +21,6 @@ rm -rf ./tmp
$GRAALVM_HOME/bin/native-image \
--report-unsupported-elements-at-runtime \
--no-fallback \
--no-server \
-H:+ExitAfterRelocatableImageWrite \
-H:+SharedLibrary \
-H:+AddAllCharsets \
Expand All @@ -48,14 +45,11 @@ $GRAALVM_HOME/bin/native-image \
-H:CAPCacheDir="${PROJECT_DIR}"/conf/capcache \
-H:CompilerBackend=lir \
'-Dsvm.platform=org.graalvm.nativeimage.Platform$IOS_AARCH64' \
-jar ../target/grease-uber.jar

-jar ../target/grease-uber.jar && echo 'done!'

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



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

Expand Down

0 comments on commit 84d6c23

Please sign in to comment.