-
10. Configurable distribution and command-line access UID: PPL-HLR-000010 STATUS: APPROVED COMPONENT: BUILD_DISTRIBUTION APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Child): - PPL-LLR-000216 Core build prerequisite validation (Refined by)
- PPL-LLR-000217 Installation of configured public artifacts (Refined by)
- PPL-LLR-000218 Source distribution build completeness (Refined by)
- PPL-LLR-000440 Optional-component prerequisite identification (Refined by)
- PPL-LLR-000219 Polyhedral representation conversion tool (Refined by)
- PPL-LLR-000220 Linear optimization command-line solver (Refined by)
- PPL-LLR-000221 Parametric integer optimization tool (Refined by)
- PPL-LLR-000441 Command-line input and outcome reporting (Refined by)
STATEMENT: PPL shall provide a configurable source distribution that identifies the enabled numerical and language facilities, and shall provide its distributed command-line tools with documented input, output and failure behavior.
RATIONALE: Users need to select supported configurations, link applications consistently and use the distributed numerical tools.
VERIFICATION_CRITERIA: Review supported configuration choices and published build/link information; check representative enabled and disabled features and the documented success and failure outcomes of each command-line tool.
BIBLIOGRAPHY: BagnaraHZ08SCP | Whole work (background on the library's numerical abstractions and design).
SOURCE: configure.ac; README.md; INSTALL; src/ppl-config.cc.in; demos/ppl_lcdd; demos/ppl_lpsol; demos/ppl_pips.
The configuration process shall select and verify C++20 language mode for PPL C++ compilation and, when selected components require C compilation, C18 language mode for those components. It shall establish that the selected compilers and standard libraries support the facilities required by those components, and that a compatible GMP installation provides the required C++ interface and documented minimum supported library version. It shall report an error when a required prerequisite cannot be established by the applicable configuration checks, without silently substituting a different language edition.
The selected production-language baselines and exact arithmetic depend on explicitly checked compiler modes, required language and standard-library facilities, and a compatible GMP installation. Compiler acceptance of some language constructs alone cannot establish the mode used for the selected build components.
The documented GMP minimum is version 6.3.0. Cross-compilation does not by itself establish that the target library version matches the headers. Production-language obligations are defined by 🔗 10. C++ language baseline and 🔗 12. C language baseline; they do not automatically define an additional minimum client compilation-language promise. Verification covers compiler-mode selection, required-facility and GMP prerequisite checks, and their failure behavior. Inspection of configuration results, compilation commands and dependency evidence verifies those checks; optional-component prerequisites are covered by 🔗 4. Optional-component prerequisite identification.
For supported selections, inspect configuration results and actual compilation commands across the selected components, including generated native bindings, to establish C++20 mode for C++ compilation and C18 mode wherever C compilation is required. Check the required compiler and standard-library facilities, GMP C++ interface, compatibility and documented minimum version. Configuration tests reject unavailable required modes or facilities, missing GMP C++ support and insufficient GMP versions, without silently falling back to another language edition. Cross-compilation evidence distinguishes compile and link checks from checks requiring target execution; an unexecuted target check is not recorded as passed. Review the configuration's error reporting when a required prerequisite cannot be established.
The sections “Using the Right Version of GMP” and “Using the Right C and C++ Compilers” in README.configure.md. The language-mode and GMP checks are in configure.ac, m4/ac_check_cxx20.m4 and m4/ac_check_gmp.m4.
-
1. Core configuration prerequisite protocol UID: PPL-SPEC-001701 STATUS: APPROVED COMPONENT: BUILD_DISTRIBUTION APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Inspection VISIBILITY: Public RELATIONS (Parent): STATEMENT: Configuration shall select C++20 for native C++ compilation and C18 for selected C components, and shall check the required compiler/standard-library facilities in those modes. A selected build shall not silently substitute another language edition. GMP shall provide compatible headers, libraries, the C++ interface and at least version 6.3.0.
If a required prerequisite cannot be established by the applicable checks, configuration shall fail with a diagnostic. Build-machine compile/link checks and target-execution checks shall remain distinguishable; an unexecuted target program shall not be recorded as a successful execution. User compiler, include, library and prefix selections shall be applied consistently to probes and the configured build.
RATIONALE: A successful configuration must describe the language modes and arithmetic library used by the actual compilation.
COMMENT: LANGUAGE is omitted because this is a language-neutral external protocol and artifact contract; it contains no implementation-language source.
INTERFACE: Input: the source distribution's configure command, compiler environment and documented options including --with-cc, --with-cxx and --with-gmp and their documented include/library alternatives. Output on success: configured Makefiles and configuration headers identifying the selected modes, coefficient profile and required dependencies. Failure: unsuccessful configuration with the missing/incompatible prerequisite identified. Configuration is run in a fresh build directory, with documented external tools available.
VERIFICATION_CRITERIA: Configure and compile from a clean source archive, inspect effective language modes and GMP checks, and reject an unusable compiler and missing GMP selection. Inspect cross-execution branches separately; check quoted/prefixed compiler flags through the registered prefix regression.
SOURCE: configure.ac; m4/ac_check_cxx20.m4; m4/ac_check_gmp.m4; m4/check_ppl_prefix_flags.sh; tests/build_contracts.py.
-
10. Configurable distribution and command-line access UID: PPL-HLR-000010 STATUS: APPROVED COMPONENT: BUILD_DISTRIBUTION APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Child): - PPL-LLR-000216 Core build prerequisite validation (Refined by)
- PPL-LLR-000217 Installation of configured public artifacts (Refined by)
- PPL-LLR-000218 Source distribution build completeness (Refined by)
- PPL-LLR-000440 Optional-component prerequisite identification (Refined by)
- PPL-LLR-000219 Polyhedral representation conversion tool (Refined by)
- PPL-LLR-000220 Linear optimization command-line solver (Refined by)
- PPL-LLR-000221 Parametric integer optimization tool (Refined by)
- PPL-LLR-000441 Command-line input and outcome reporting (Refined by)
STATEMENT: PPL shall provide a configurable source distribution that identifies the enabled numerical and language facilities, and shall provide its distributed command-line tools with documented input, output and failure behavior.
RATIONALE: Users need to select supported configurations, link applications consistently and use the distributed numerical tools.
VERIFICATION_CRITERIA: Review supported configuration choices and published build/link information; check representative enabled and disabled features and the documented success and failure outcomes of each command-line tool.
BIBLIOGRAPHY: BagnaraHZ08SCP | Whole work (background on the library's numerical abstractions and design).
SOURCE: configure.ac; README.md; INSTALL; src/ppl-config.cc.in; demos/ppl_lcdd; demos/ppl_lpsol; demos/ppl_pips.
The installation process shall install the public headers, libraries and selected language-interface artifacts needed by a client of the configured build into the selected installation directories. The installed distribution shall make available authoritative information identifying the library version, coefficient configuration, enabled interfaces, configured non-C++ binding instantiations, supported C++ template families and applicable numerical-profile restrictions, and the compilation, linking and runtime dependencies required by its supported clients. A supported client shall be usable without files left in the originating source or build directory.
Clients must be able to use the installed build without depending on files left in its source or build directory.
Verification covers installation outputs, installed configuration identification and client compilation, linking and runtime dependency information. Staged-installation client checks verify behavior; direct artifact and metadata inspection verifies completeness and consistency. Runtime search paths and compatible third-party dependencies remain client deployment prerequisites. 🔗 1. Public C++ access to supported facilities owns public C++ facility exposure, not installation packaging. Source-archive completeness is governed by 🔗 3. Source distribution build completeness.
Check a staged installation for the selected public artifacts and published configuration information, including version, coefficients, enabled interfaces and configured non-C++ binding instantiations. Review the supported C++ template families and numerical-profile restrictions without requiring enumeration of arbitrary client-created template instances. Compile, link or load representative clients using only the installed artifacts and their documented external dependencies. Check that client compilation and linking information and runtime dependency descriptions match the installed configuration, including static and shared artifacts where supported.
INSTALL, Installation Names; src/Makefile.am, installed public header and library; interfaces/C/Makefile.am; interfaces/Java/README.java.md; interfaces/OCaml/README.ocaml.md; src/ppl-config.cc.in; interfaces/C/ppl_c_header.h, version and coefficient queries.
-
3. Installed artifacts and client configuration UID: PPL-SPEC-001703 STATUS: APPROVED COMPONENT: BUILD_DISTRIBUTION APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Inspection VISIBILITY: Public RELATIONS (Parent): STATEMENT: make install shall install the configured public headers, native libraries, selected foreign-interface artifacts and client metadata into the selected installation directories. DESTDIR shall stage those paths without becoming part of the intended installed prefix. Installed metadata shall identify the version, coefficient configuration, enabled interfaces and configured binding instantiations, and provide the compilation/linking dependencies required by supported clients. Supported C++ template families and numerical-profile restrictions shall remain available in the installed documentation and headers. The application mode of ppl-config shall report the required client flags. The library mode shall retain the library build's own flags.
An independently built supported client shall compile, link or load using only installed artifacts and documented external dependencies, without source- or build-tree files. Runtime library search paths remain deployment prerequisites. Static and shared artifacts shall follow the selected supported build modes.
RATIONALE: An installed library is usable only if its public artifacts and dependency metadata are sufficient independently of its originating tree.
COMMENT: LANGUAGE is omitted because this is a language-neutral external protocol and artifact contract; it contains no implementation-language source.
INTERFACE: Protocols: make install, make installcheck and make uninstall; standard installation-directory and DESTDIR selections; installed ppl-config and pkg-config modules; installed public headers and configured language packages. Clients select their documented external compiler/runtime and compatible dependencies.
VERIFICATION_CRITERIA: Install into an isolated prefix, compile/load registered installed clients, check version/configuration/instantiation information and inspect paths for source/build dependencies. Check selected static/shared artifacts, staging and removal separately.
SOURCE: src/Makefile.am; interfaces/Makefile.am; language-interface Makefiles; src/ppl-config.cc.in; interfaces/check_installed.sh; interfaces/check_installed_pkgconfig.py; tests/build_contracts.py.
-
10. Configurable distribution and command-line access UID: PPL-HLR-000010 STATUS: APPROVED COMPONENT: BUILD_DISTRIBUTION APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Child): - PPL-LLR-000216 Core build prerequisite validation (Refined by)
- PPL-LLR-000217 Installation of configured public artifacts (Refined by)
- PPL-LLR-000218 Source distribution build completeness (Refined by)
- PPL-LLR-000440 Optional-component prerequisite identification (Refined by)
- PPL-LLR-000219 Polyhedral representation conversion tool (Refined by)
- PPL-LLR-000220 Linear optimization command-line solver (Refined by)
- PPL-LLR-000221 Parametric integer optimization tool (Refined by)
- PPL-LLR-000441 Command-line input and outcome reporting (Refined by)
STATEMENT: PPL shall provide a configurable source distribution that identifies the enabled numerical and language facilities, and shall provide its distributed command-line tools with documented input, output and failure behavior.
RATIONALE: Users need to select supported configurations, link applications consistently and use the distributed numerical tools.
VERIFICATION_CRITERIA: Review supported configuration choices and published build/link information; check representative enabled and disabled features and the documented success and failure outcomes of each command-line tool.
BIBLIOGRAPHY: BagnaraHZ08SCP | Whole work (background on the library's numerical abstractions and design).
SOURCE: configure.ac; README.md; INSTALL; src/ppl-config.cc.in; demos/ppl_lcdd; demos/ppl_lpsol; demos/ppl_pips.
A PPL source distribution shall contain the build descriptions, distributed interface-generation inputs, headers and implementation sources needed to build its selected components with the documented external prerequisites. Its build shall not depend on undistributed files from the development checkout.
A released archive must be independently buildable rather than relying on the originating developer's workspace.
Verification covers the source-archive composition and build inputs. Direct distribution-input inspection and builds from independently unpacked archives verify completeness, with evidence identifying selected components and external prerequisites. Third-party compilers, runtimes and arithmetic libraries need not be bundled. Installed-client behavior is governed separately by 🔗 2. Installation of configured public artifacts.
Build and installation checks succeed from a freshly unpacked distribution in a separate directory with only the documented external prerequisites; review covers the distributed inputs of generated interfaces.
README.configure.md, The Standard Thing and Using the Git Sources; Makefile.am, distribution inputs; interfaces/Makefile.am; interfaces/C/Makefile.am; src/Makefile.am.
-
4. Self-contained source distribution UID: PPL-SPEC-001704 STATUS: APPROVED COMPONENT: BUILD_DISTRIBUTION APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Inspection VISIBILITY: Public RELATIONS (Parent): STATEMENT: The source archive shall contain the build descriptions, public and internal source/header inputs, interface-generation templates, selected build support and requirements sources needed to configure and build its supported selected components with documented external prerequisites. No undeclared development checkout file shall be required. Generated outputs may be distributed or recreated from distributed inputs using the declared generation tools.
A freshly unpacked archive shall configure, build and install in a separate build directory. External compilers, runtimes and dependencies need not be bundled. Source distribution completeness and installed-client sufficiency are separate obligations.
RATIONALE: Building from the archive exposes omissions hidden by files left in a developer checkout.
COMMENT: LANGUAGE is omitted because this is a language-neutral external protocol and artifact contract; it contains no implementation-language source.
INTERFACE: Producer: Automake make dist / selected source-archive targets. Consumer: fresh archive extraction, out-of-tree configure, make and make install with supported selections and documented dependencies. The archive is the only project-source input to that build.
VERIFICATION_CRITERIA: Create and unpack a fresh archive, configure/build/install from it and run installed clients. Check required generation inputs and that compilation does not refer back to the development checkout; exercise configured foreign interfaces as available.
SOURCE: Makefile.am; src/Makefile.am; interfaces/Makefile.am; doc/requirements/Makefile.am; tests/build_contracts.py.
-
10. Configurable distribution and command-line access UID: PPL-HLR-000010 STATUS: APPROVED COMPONENT: BUILD_DISTRIBUTION APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Child): - PPL-LLR-000216 Core build prerequisite validation (Refined by)
- PPL-LLR-000217 Installation of configured public artifacts (Refined by)
- PPL-LLR-000218 Source distribution build completeness (Refined by)
- PPL-LLR-000440 Optional-component prerequisite identification (Refined by)
- PPL-LLR-000219 Polyhedral representation conversion tool (Refined by)
- PPL-LLR-000220 Linear optimization command-line solver (Refined by)
- PPL-LLR-000221 Parametric integer optimization tool (Refined by)
- PPL-LLR-000441 Command-line input and outcome reporting (Refined by)
STATEMENT: PPL shall provide a configurable source distribution that identifies the enabled numerical and language facilities, and shall provide its distributed command-line tools with documented input, output and failure behavior.
RATIONALE: Users need to select supported configurations, link applications consistently and use the distributed numerical tools.
VERIFICATION_CRITERIA: Review supported configuration choices and published build/link information; check representative enabled and disabled features and the documented success and failure outcomes of each command-line tool.
BIBLIOGRAPHY: BagnaraHZ08SCP | Whole work (background on the library's numerical abstractions and design).
SOURCE: configure.ac; README.md; INSTALL; src/ppl-config.cc.in; demos/ppl_lcdd; demos/ppl_lpsol; demos/ppl_pips.
For each selected optional component, configuration shall establish the required generation tools executable on the build machine, and runtime development facilities, headers and libraries compatible with the component's execution environment. During cross-compilation, build-machine tool checks shall remain distinct from target-facility checks, and an unperformed target-execution check shall not be treated as successful. When prerequisites are unavailable, the configuration process shall follow its declared rejection or automatic-disabling policy and identify which components are enabled or disabled and why. It shall not silently advertise a component set different from the one it actually configures.
Core compiler and GMP validation alone cannot establish that optional language interfaces or distributed tools can be generated, built and used. A generation tool running on the build machine and a runtime library for the target component serve different roles; availability of one does not establish compatibility of the other.
Verification covers optional-component selection, prerequisite checks, unavailable-component diagnostics and resulting feature identification. Configuration scenario checks verify behavior; direct review of dependency checks and selection records verifies coverage. 🔗 1. Core build prerequisite validation owns core language and GMP prerequisites, 🔗 3. Consistent binding type dependencies owns generated-type dependencies, and 🔗 2. Installation of configured public artifacts owns installed-client information. No additional runtime or generation dependency is required for a component that is not selected.
Exercise representative explicit selections and automatic detection with available and missing prerequisites, including non-C++ binding generation tools, Java native-header generation, selected OCaml and Prolog runtime dependencies, and optional tool input libraries. Inspect diagnostics and the resulting enabled component set. During cross-compilation, distinguish generation-tool execution on the build machine from target header, link and runtime checks; check that target execution not performed is recorded as unresolved rather than passed. Include a case with usable build tools but incompatible target development facilities. Compare published installation metadata with the actual configured result.
README.configure.md: Configuring the Language Interfaces and Programs that Come with the Library; configure.ac: optional interface, M4, runtime and tool selection; interfaces/Java/README.java.md; interfaces/OCaml/README.ocaml.md; interfaces/Prolog/Prolog_interface.dox; demos/ppl_lpsol/Makefile.am: optional input-library linkage.
-
2. Optional component configuration protocol UID: PPL-SPEC-001702 STATUS: APPROVED COMPONENT: BUILD_DISTRIBUTION APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Inspection VISIBILITY: Public RELATIONS (Parent): STATEMENT: Configuration shall distinguish build-machine generation tools from headers, libraries and runtime facilities required by selected target components. Explicit requests and automatic detection shall follow their documented failure or disabling policies. Diagnostics and the configured interface/tool set shall identify unavailable prerequisites; disabled components shall not be advertised as enabled. If a specifically named interface cannot be built, configuration shall fail. The default and --enable-interfaces=all shall select the available interfaces.
Selected foreign interfaces shall have compatible runtime development facilities and executable generation tools, including the required M4 and Java header-generation facilities. Optional solver input/checking libraries shall follow their declared selection policies. When requirements documentation is selected, a missing or too-old StrictDoc shall disable requirements HTML export with an explanatory warning rather than fail a library build. Unperformed target-execution checks shall remain distinct from successful checks in cross configurations.
RATIONALE: A usable generator on the build machine does not by itself establish that a target component can compile, link or run.
COMMENT: LANGUAGE is omitted because this is a language-neutral external protocol and artifact contract; it contains no implementation-language source.
INTERFACE: Input: configure optional interface, instantiation, program and documentation/tool selections, including --enable-interfaces, --enable-instantiations, --enable-ppl_lpsol, --enable-ppl_pips and --with-strictdoc. Output: the enabled component list, configured build conditionals and diagnostics identifying unavailable prerequisites. Only supported combinations and documented tool/runtime search options apply.
VERIFICATION_CRITERIA: Exercise explicit and automatic selections with present/missing prerequisites; compare summaries, Makefiles and installed metadata. Check missing StrictDoc is nonfatal with an actionable warning. Review cross-build generation versus target checks and include a build-tool/target-facility mismatch.
SOURCE: configure.ac; optional-tool macros in m4; tests/build_contracts.py; interface generation capability checks.