Skip to content

Cabal + Make based build#34

Closed
angerman wants to merge 637 commits intotmp/make-build-offsetfrom
wip/make-build-pre-zig
Closed

Cabal + Make based build#34
angerman wants to merge 637 commits intotmp/make-build-offsetfrom
wip/make-build-pre-zig

Conversation

@angerman
Copy link

This builds upon wip/make-build, and integrates some of the andrea/make-build parts.

@angerman angerman self-assigned this May 10, 2025
@angerman angerman changed the base branch from master to wip/make-build May 10, 2025 03:31
@angerman angerman changed the base branch from wip/make-build to tmp/make-build-offset May 10, 2025 04:45
@angerman angerman force-pushed the wip/make-build-pre-zig branch from 74fdffe to a3d41c0 Compare May 10, 2025 08:34
@angerman
Copy link
Author

This supersedes #4

GHC GitLab CI and others added 28 commits August 9, 2025 13:06
… we should print the invocation that caused the failure.This would help a LOT when debugging.
the same fields were repeated over and over
- Avoid target variables to minimise hidden flow of information
- Use ::group:: only on GitHub Actions
- Use in-tree cabal by default as it is the only reasonable thing to do
  since the Cabal library will necessarily be the in-tree one.
- Make the build directory relocatable
- Remove some commented lines and unused variables
- Added comments
… Hackage index

This avoid unnecesary rebuilds.
…build

Our cabal-install is now taking care of that. Leave a comment so we do not forget.
e.g. before we would not update ghc-bin.cabal when ghc-bin.cabal.in changed.
The check is too eager. For example, when compiling C sources the rts is not required.
This is not a real dependency. The real dependency is (transitively) on the rts main library. How the compiler fuitfil that dependency is an implementation detail.
@andreabedini andreabedini force-pushed the wip/make-build-pre-zig branch from 62bf802 to 38e2200 Compare August 18, 2025 06:21
@angerman angerman closed this Aug 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants