Skip to content

Commit

Permalink
[GR-26395] Periodic update of the graal import.
Browse files Browse the repository at this point in the history
PullRequest: truffleruby/4278
  • Loading branch information
OracleLabsAutomation authored and andrykonchin committed May 28, 2024
2 parents 1adc212 + ae9bdaf commit ae4d49e
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 10 deletions.
20 changes: 19 additions & 1 deletion ci/common.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ local common_json = import "../common.json";
} + {
[name]: jdk_base + common_json.jdks[name] + { jdk_version:: parse_labsjdk_version(self), jdk_name:: "jdk-latest"}
for name in ["oraclejdk-latest"] + variants("labsjdk-ce-latest") + variants("labsjdk-ee-latest")
} + {
'graalvm-ee-21': jdk_base + common_json.jdks["graalvm-ee-21"] + { jdk_version:: 21 },
},
# We do not want to expose galahad-jdk
assert std.assertEqual([x for x in std.objectFields(common_json.jdks) if x != "galahad-jdk"], std.objectFields(jdks_data)),
Expand Down Expand Up @@ -148,6 +150,8 @@ local common_json = import "../common.json";
" (?P<filename>.+/svm_err_b_\\d+T\\d+\\.\\d+_pid\\d+\\.md)",
# Keep in sync with jdk.graal.compiler.test.SubprocessUtil#makeArgfile
"@(?P<filename>.*SubprocessUtil-argfiles.*\\.argfile)",
# Keep in sync with com.oracle.truffle.api.test.SubprocessTestUtils#makeArgfile
"@(?P<filename>.*SubprocessTestUtils-argfiles.*\\.argfile)",
],
},

Expand Down Expand Up @@ -220,17 +224,31 @@ local common_json = import "../common.json";
truffleruby:: {
packages+: (if self.os == "linux" && self.arch == "amd64" then {
ruby: "==3.2.2", # Newer version, also used for benchmarking
} else {
} else if (self.os == "windows") then
error('truffleruby is not supported on windows')
else {
ruby: "==3.0.2",
}) + (if self.os == "linux" then {
libyaml: "==0.2.5",
} else {}),
},

graalnodejs:: {
local this = self,
packages+: if self.os == "linux" then {
cmake: "==3.22.2",
} else {},
environment+: if self.os == "windows" then {
local devkits_version = std.filterMap(
function(p) std.startsWith(p, 'devkit:VS'), # filter function
function(p) std.substr(p, std.length('devkit:VS'), 4), # map function
std.objectFields(this.packages) # array
)[0],
DEVKIT_VERSION: devkits_version, # TODO: dep of Graal.nodejs
} else {},
downloads+: if self.os == "windows" then {
NASM: {name: 'nasm', version: '2.14.02', platformspecific: true},
} else {},
},

graalpy:: {
Expand Down
15 changes: 8 additions & 7 deletions common.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,15 @@
"labsjdk-ee-21": {"name": "labsjdk", "version": "ee-21.0.2+13-jvmci-23.1-b33", "platformspecific": true },
"labsjdk-ee-21Debug": {"name": "labsjdk", "version": "ee-21.0.2+13-jvmci-23.1-b33-debug", "platformspecific": true },
"labsjdk-ee-21-llvm": {"name": "labsjdk", "version": "ee-21.0.2+13-jvmci-23.1-b33-sulong", "platformspecific": true },
"graalvm-ee-21": {"name": "graalvm-java21", "version": "23.1.3", "platformspecific": true },

"oraclejdk-latest": {"name": "jpg-jdk", "version": "23", "build_id": "jdk-23+22", "platformspecific": true, "extrabundles": ["static-libs"]},
"labsjdk-ce-latest": {"name": "labsjdk", "version": "ce-23+22-jvmci-b01", "platformspecific": true },
"labsjdk-ce-latestDebug": {"name": "labsjdk", "version": "ce-23+22-jvmci-b01-debug", "platformspecific": true },
"labsjdk-ce-latest-llvm": {"name": "labsjdk", "version": "ce-23+22-jvmci-b01-sulong", "platformspecific": true },
"labsjdk-ee-latest": {"name": "labsjdk", "version": "ee-23+22-jvmci-b01", "platformspecific": true },
"labsjdk-ee-latestDebug": {"name": "labsjdk", "version": "ee-23+22-jvmci-b01-debug", "platformspecific": true },
"labsjdk-ee-latest-llvm": {"name": "labsjdk", "version": "ee-23+22-jvmci-b01-sulong", "platformspecific": true }
"oraclejdk-latest": {"name": "jpg-jdk", "version": "23", "build_id": "jdk-23+23", "platformspecific": true, "extrabundles": ["static-libs"]},
"labsjdk-ce-latest": {"name": "labsjdk", "version": "ce-23+23-jvmci-b01", "platformspecific": true },
"labsjdk-ce-latestDebug": {"name": "labsjdk", "version": "ce-23+23-jvmci-b01-debug", "platformspecific": true },
"labsjdk-ce-latest-llvm": {"name": "labsjdk", "version": "ce-23+23-jvmci-b01-sulong", "platformspecific": true },
"labsjdk-ee-latest": {"name": "labsjdk", "version": "ee-23+23-jvmci-b01", "platformspecific": true },
"labsjdk-ee-latestDebug": {"name": "labsjdk", "version": "ee-23+23-jvmci-b01-debug", "platformspecific": true },
"labsjdk-ee-latest-llvm": {"name": "labsjdk", "version": "ee-23+23-jvmci-b01-sulong", "platformspecific": true }
},

"eclipse": {
Expand Down
4 changes: 2 additions & 2 deletions mx.truffleruby/suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{
"name": "regex",
"subdir": True,
"version": "7fdb9c3dbecef24046ee0437e5251b4a7816f74d",
"version": "2d38cc78a3d8a3aa7a4d060973ff3f02fe6187fe",
"urls": [
{"url": "https://github.com/oracle/graal.git", "kind": "git"},
{"url": "https://curio.ssw.jku.at/nexus/content/repositories/snapshots", "kind": "binary"},
Expand All @@ -29,7 +29,7 @@
{
"name": "sulong",
"subdir": True,
"version": "7fdb9c3dbecef24046ee0437e5251b4a7816f74d",
"version": "2d38cc78a3d8a3aa7a4d060973ff3f02fe6187fe",
"urls": [
{"url": "https://github.com/oracle/graal.git", "kind": "git"},
{"url": "https://curio.ssw.jku.at/nexus/content/repositories/snapshots", "kind": "binary"},
Expand Down

0 comments on commit ae4d49e

Please sign in to comment.