Skip to content

Commit

Permalink
Update LabsJDK and add the various libraries needed by Truffle these …
Browse files Browse the repository at this point in the history
…days (#212)
  • Loading branch information
smarr authored Aug 12, 2024
2 parents bbb226d + 1ce9c7c commit e2e986d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion mx.trufflesom/mx_trufflesom.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ def build_native_obj_test(args, **kwargs):
svm_path = get_svm_path()
cmd = [
"native-image",
"--macro:truffle",
"--no-fallback",
"--initialize-at-build-time",
"-H:+ReportExceptionStackTraces",
Expand Down
2 changes: 1 addition & 1 deletion mx.trufflesom/suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"licence": "LGPLv21",
},
"LABS_JDK": {
"id": "labsjdk-ce-21",
"id": "labsjdk-ce-latest",
# I am just using the suite.py to store the info
# so but manage it in mx_trufflesom.py
"path": ".",
Expand Down
6 changes: 5 additions & 1 deletion som
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,11 @@ MODULE_PATH_ENTRIES = [
TRUFFLE_DIR + '/sdk/mxbuild/dists/polyglot.jar',
TRUFFLE_DIR + '/sdk/mxbuild/dists/word.jar',
TRUFFLE_DIR + '/sdk/mxbuild/dists/nativeimage.jar',
TRUFFLE_DIR + '/truffle/mxbuild/dists/truffle-api.jar']
TRUFFLE_DIR + '/sdk/mxbuild/dists/jniutils.jar',
TRUFFLE_DIR + '/truffle/mxbuild/dists/truffle-json.jar',
TRUFFLE_DIR + '/truffle/mxbuild/dists/truffle-compiler.jar',
TRUFFLE_DIR + '/truffle/mxbuild/dists/truffle-api.jar',
TRUFFLE_DIR + '/truffle/mxbuild/dists/truffle-runtime.jar']

SOM_ARGS = ['--module', 'trufflesom/trufflesom.Launcher']

Expand Down

0 comments on commit e2e986d

Please sign in to comment.