Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Superseded by #17, which contains both logical commits.
All eight Haskell tools and the three test runners now build through Cabal. Make installs those binaries and builds the native/runtime pieces serially; Cabal owns Haskell dependency scheduling and parallelism.
Generated sources live in each component's build directory. A local Warmup module loads dependency interfaces in a stable order before compilation, and GHC 9.14.1 or newer uses object determinism and a shared job semaphore. Older supported GHC versions build serially by default. Build-affecting environment aliases become tracked Cabal flags, and native source edits trigger the relevant native rebuilds.
CI adds a GHC 9.14.1 determinism check comparing clean builds with 1, 16, 64, 64, and 64 workers, followed by a source edit/revert cycle. It hashes objects, interfaces, libraries, all tools, and test runners. The existing version matrix remains serial below 9.14.1.
This is based on the head of B-Lang-org#1084 (
f092cfe34ad9851d67b963aea4c4c61926999ea1). The complete change, including this commit and the compiler-library split, is reviewed in #17.Validation on GHC 9.14.1 / Cabal 3.16.1.0:
The reported Git revision is captured on component build. Cabal 3.16 can retain that stamp after a Git-only change until the component is rebuilt; INSTALL.md documents this limitation. The determinism check covers one checkout and toolchain, not reproducibility across paths or machines.