Skip to content

Cabal + Make based build #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 197 commits into
base: tmp/make-build-offset
Choose a base branch
from

Conversation

angerman
Copy link

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

angerman and others added 30 commits May 11, 2025 00:36
The field "extra-libraries-static" is available only since version 3.8
of the Cabal specification.
Checking LLVM version introduces complexity for not enough benefits.
Trust the users and let them deal with the consequences.
Let's use ubuntu-24.04 then for consistency for x86_64 as well.
This patch adds two commands to GHC:
- --print-prim-module: prints the contents of GHC.Internal.Prim
- --print-prim-wrappers-module: prints the contents of GHC.Internal.PrimopWrappers

These two commands can be used in ghc-internal's Setup.hs to generate
these modules. This ensures that ghc-internal's primop code is always in
sync with the GHC that builds it. It also avoids having to share code
(primops.txt.pp and friends) between ghc-internal and ghc.

(cherry picked from commit 4186a40)
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