Skip to content

Commit b8f4399

Browse files
committed
[GR-65566] Clean up after language repositories changes.
PullRequest: graal/21132
2 parents 19898aa + 6ae4a4e commit b8f4399

File tree

3 files changed

+4
-61
lines changed

3 files changed

+4
-61
lines changed

sulong/mx.sulong/suite.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1765,20 +1765,6 @@
17651765
"description": "Graal native LLVM engine.",
17661766
"license": "BSD-new",
17671767
},
1768-
# GR-64088: Remove when changes in language repositories are merged
1769-
"LLVM_NATIVE_COMMUNITY": {
1770-
"type": "pom",
1771-
"runtimeDependencies": [
1772-
"LLVM_NATIVE_POM",
1773-
],
1774-
"maven": {
1775-
"artifactId": "llvm-native-transient",
1776-
"tag": ["default", "public"],
1777-
},
1778-
"description": "Temporary module to overcome cross-repository merge.",
1779-
"license": "BSD-new",
1780-
},
1781-
17821768
"LLVM_POM": {
17831769
"type": "pom",
17841770
"runtimeDependencies": [

vm/mx.vm/mx_vm.py

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -247,32 +247,6 @@ def _create_deprecated_community_distribution(base_distribution):
247247
return mx_pomdistribution.POMDistribution(_suite, dist_name, distDeps, runtimeDeps, sorted(list(licenses)), **attrs)
248248

249249

250-
def _create_deprecated_vendor_specific_distribution(base_distribution):
251-
# GR-64088: Remove when changes in language repositories are merged
252-
base_name = _trim_suffix(base_distribution.name, 'COMMUNITY')
253-
dist_name = base_name + 'POM_COMPATIBILITY'
254-
groupId = base_distribution.maven_group_id()
255-
artifactId = base_distribution.maven_artifact_id()
256-
artifactTags = 'default'
257-
maven_data = getattr(base_distribution, 'maven')
258-
if isinstance(maven_data, dict) and 'tag' in maven_data:
259-
artifactTags = maven_data['tag']
260-
description = getattr(base_distribution, 'description')
261-
distDeps = []
262-
runtimeDeps = [base_distribution]
263-
licenses = set(_distribution_license(base_distribution))
264-
artifactId = _trim_suffix(artifactId, '-community')
265-
attrs = {
266-
'maven': {
267-
'groupId': groupId,
268-
'artifactId': artifactId,
269-
'tag': artifactTags,
270-
},
271-
'description': description,
272-
}
273-
return mx_pomdistribution.POMDistribution(_suite, dist_name, distDeps, runtimeDeps, sorted(list(licenses)), **attrs)
274-
275-
276250
def register_tools_distribution(owner_suite, register_distribution):
277251
"""
278252
Registers a dynamic TOOLS meta-POM distribution that aggregates all individual tool meta-POMs.
@@ -413,23 +387,6 @@ def register_languages_distribution(owner_suite, register_distribution,
413387
polyglot_language_distribution = create_polyglot_meta_pom_distribution_from_base_distribution(deprecated_community_language_distribution)
414388
register_distribution(polyglot_language_distribution)
415389
deprecated_languages_community_meta_poms.append(polyglot_language_distribution)
416-
else:
417-
# GR-64088: Remove when changes in language repositories are merged
418-
legacy_community_name = _trim_suffix(distribution_name, 'POM') + 'COMMUNITY'
419-
language_distribution = mx.distribution(legacy_community_name, fatalIfMissing=False)
420-
if language_distribution:
421-
# Language suite not yet migrated
422-
assert language_distribution.maven_artifact_id().endswith("-community"), f'Unmigrated Language meta-POM distribution {language_distribution.name} must have *-community Maven artifact id.'
423-
polyglot_language_distribution = create_polyglot_meta_pom_distribution_from_base_distribution(language_distribution)
424-
register_distribution(polyglot_language_distribution)
425-
deprecated_languages_community_meta_poms.append(polyglot_language_distribution)
426-
languages_licenses.update(_distribution_license(language_distribution))
427-
428-
language_distribution = _create_deprecated_vendor_specific_distribution(language_distribution)
429-
register_distribution(language_distribution)
430-
polyglot_language_distribution = create_polyglot_meta_pom_distribution_from_base_distribution(language_distribution)
431-
register_distribution(polyglot_language_distribution)
432-
languages_meta_poms.append(polyglot_language_distribution)
433390

434391
if languages_meta_poms:
435392
attrs = {

vm/mx.vm/suite.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"name": "graal-nodejs",
3434
"subdir": True,
3535
"dynamic": True,
36-
"version": "c5fc49c969911c34930b8642da8dc0785844450f",
36+
"version": "7d361dd6bcbecf36a71837e22fea4db292ab11bd",
3737
"urls" : [
3838
{"url" : "https://github.com/graalvm/graaljs.git", "kind" : "git"},
3939
]
@@ -42,14 +42,14 @@
4242
"name": "graal-js",
4343
"subdir": True,
4444
"dynamic": True,
45-
"version": "c5fc49c969911c34930b8642da8dc0785844450f",
45+
"version": "7d361dd6bcbecf36a71837e22fea4db292ab11bd",
4646
"urls": [
4747
{"url": "https://github.com/graalvm/graaljs.git", "kind" : "git"},
4848
]
4949
},
5050
{
5151
"name": "truffleruby",
52-
"version": "d1c8bfef4c0f5e3bd91062c9c1c2abe13dbd398f",
52+
"version": "e88b353d799c3b00f6e9882f27e9a43538fa3a47",
5353
"dynamic": True,
5454
"urls": [
5555
{"url": "https://github.com/oracle/truffleruby.git", "kind": "git"},
@@ -65,7 +65,7 @@
6565
},
6666
{
6767
"name": "graalpython",
68-
"version": "9c75f8969912c669f5b3ebd089fe15767d543ae3",
68+
"version": "edb7bac2f6def8aec598de70f87bf1d62b82e2da",
6969
"dynamic": True,
7070
"urls": [
7171
{"url": "https://github.com/graalvm/graalpython.git", "kind": "git"},

0 commit comments

Comments
 (0)