Skip to content

Test plan for Compile --pure #46

@ermo

Description

@ermo

With the newest version of the Compile tool supporting using Runner to construct a sandbox during build (see this forum post [BACKUP]), focus now moves to verifying the various different Recipe types.

Test Recipes

Each category should be populated with 2-3 test recipes for verification.

See the Recipe Format Specification documentation for the supported types.

Each test should be conducted with updated versions of /Data/Compile/Recipes, /Programs/Compile/Current, /Programs/Scripts/Current on a system where all steps in the Known Issues and Fixes post-install guide have been completed. Note that the GrepReplace step in particular is important, otherwise build failures WILL occur!

Please use the command Compile --debug --pure <Recipe> and report any issues with a full build log.

Notes on Compile Dependencies

The new Dependencies required during Compile --pure runs should actually belong to
Compile/Resources/Dependencies.

We already have GCC and Python. Lua and CMake should be there too.

Also, the way that I implemented Compile --pure will allow any hand-written dependency file which states a
specific > version (or a range of versions) of a program to get prioritized over dependencies that simply
list the program name.

That is, if you add CMake to Compile/Resources/Dependencies and add CMake >= x.y.z to your Recipe,
the version requested by your Recipe will be honored.

First pass of the above was added in Compile PR #49.

Cabal

  • (TBD)

Cmake

Configure

  • Lazy (randomly chosen as a simple example)
  • GCC (9.3.0 now builds on my end, but I need some guidance re. what belongs GCC deps and what belongs in Compile deps)
  • Glibc (2.31 builds with the addition of Bison and Flex to BuildDependencies, see Recipes PR 103)
  • Dracut
  • Kmod

Makefile

  • Linux (5.9.16 builds with some additions to BuildDependencies and some Dracut changes)
  • (TBD)

Manifest

  • (TBD)

Meson

  • (TBD)

Meta

  • (TBD)

Python

  • (TBD)

Scons

  • (TBD)

WAF

  • Samba

xmkmf

  • (TBD)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions