Skip to content

Commit f424e7e

Browse files
committed
Clean up after language repositories changes.
1 parent 9227013 commit f424e7e

File tree

2 files changed

+0
-57
lines changed

2 files changed

+0
-57
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 = {

0 commit comments

Comments
 (0)