mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-18 10:53:40 +00:00
Branches: main, 11.07 Make compilation of extras/references more reliable. extras/references/Makefile: extras/references/Mmakefile: extras/references/Mercury.options: Use mmc --make to build and install this library (as we do with some of the other extras packages) instead of mmake. This allows us to sue the grade filtering mechanism in mmc --make to ensure that we only install the library in grades that support trailing. Fix a number of problems that prevent this library installing cleanly: + don't require the presence of asm_fast grades; build the library in the default grade with the trail segment component added. + use trail segment grades instead of fixed sized trail grades (the latter are not installed anymore unless specifically requested by the user). + install the C header file that is part of this library. + delete ancient workarounds for supporting shared libraries on Linux. extras/references/tests/Mmakefile: extras/references/samples/Mmakefile: Conform to the above changes. Don't assume that the extension for static libraries is .a; it's not on some systems. extras/references/global.m: Add a feature set pragma specifying that trailing is required. extras/references/nb_reference.m: s/__/./ extras/lex/lex.m: Unrelated change: avoid using an obsolete function.
8 lines
185 B
Mathematica
8 lines
185 B
Mathematica
:- module global.
|
|
:- interface.
|
|
:- import_module nb_reference.
|
|
:- import_module reference.
|
|
:- import_module scoped_update.
|
|
:- implementation.
|
|
:- pragma require_feature_set([trailing]).
|