mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-13 12:53:53 +00:00
Fix files being installed in the wrong place on aral
Estimated hours taken: 0.5 Branches: main, release Fix files being installed in the wrong place on aral due to non-canonical grades in LIBGRADES. Mmake.common.in: Canonicalize the grade string used to compute the installation directories.
This commit is contained in:
@@ -129,7 +129,7 @@ FINAL_INSTALL_MERC_GC_LIB_DIR = $(FINAL_INSTALL_MERC_GRADELESS_LIB_DIR)
|
||||
# Note that the definition below does _not_ include GRADEFLAGS.
|
||||
# So any changes to the grade flags for the standard library or
|
||||
# compiler itself should be done by setting GRADE, not GRADEFLAGS.
|
||||
GRADESTRING = $(GRADE)
|
||||
GRADESTRING = $(shell $(SCRIPTS_DIR)/canonical_grade $(ALL_GRADEFLAGS))
|
||||
|
||||
# Options to pass to the Mercury compiler
|
||||
MCFLAGS += --no-infer-all --halt-at-warn --no-warn-inferred-erroneous
|
||||
|
||||
Reference in New Issue
Block a user