Parma Polyhedra Library requirements
Build and distribution contracts
  • 1. Core build prerequisite validation PPL-LLR-000216

    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.

    • PPL-HLR-000010
      10. Configurable distribution and command-line access PPL-HLR-000010

      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.

PPL-SPEC-001701
1. Core configuration prerequisite protocol PPL-SPEC-001701

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.

  • 3. Consistent binding type dependencies PPL-LLR-000215

    The binding configuration and generation process shall enforce the type dependencies required by exposed operations. It shall reject an inconsistent requested domain selection or omit operations whose required result types are not selected, according to the affected interface's documented configuration rules.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

  • 4. Optional-component prerequisite identification PPL-LLR-000440

    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.

    • PPL-HLR-000010
      10. Configurable distribution and command-line access PPL-HLR-000010

      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.

PPL-SPEC-001702
2. Optional component configuration protocol PPL-SPEC-001702

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.

  • 2. Installation of configured public artifacts PPL-LLR-000217

    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.

    • PPL-HLR-000010
      10. Configurable distribution and command-line access PPL-HLR-000010

      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.

PPL-SPEC-001703
3. Installed artifacts and client configuration PPL-SPEC-001703

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.

  • PPL-LLR-000218
    3. Source distribution build completeness PPL-LLR-000218

    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.

    • PPL-HLR-000010
      10. Configurable distribution and command-line access PPL-HLR-000010

      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.

PPL-SPEC-001704
4. Self-contained source distribution PPL-SPEC-001704

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.