Skip to content

Andreas make-build changes#4

Closed
angerman wants to merge 90 commits intowip/make-buildfrom
andrea/make-build
Closed

Andreas make-build changes#4
angerman wants to merge 90 commits intowip/make-buildfrom
andrea/make-build

Conversation

@angerman
Copy link

No description provided.

@andreabedini andreabedini force-pushed the andrea/make-build branch 10 times, most recently from eec3056 to 56151a3 Compare February 14, 2025 10:53
@andreabedini andreabedini force-pushed the andrea/make-build branch 6 times, most recently from af0c49f to dd0df21 Compare February 25, 2025 08:18
The field "extra-libraries-static" is available only since version 3.8
of the Cabal specification.
Unused at least since August 2008 (9329cdb)
AC_PROG_CC already sets the necessary compiler flags
to enable the latest language standard.
Checking the source code is appropriate for a linter,
not for the configure script.
The boot script performs two tasks
- it checks for the presence of boot packages
- it runs autoreconf in each boot package

The first task is not valuable enough and likely could be implemented
within autoconf.

The second task be implemented in a standardised way using the macro
AC_CONFIG_SUBDIRS.
Checking LLVM version introduces complexity for not enough benefits.
Trust the users and let them deal with the consequences.
There is little value in generating a C array from a Python list.
angerman and others added 28 commits March 21, 2025 19:42
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)
Instead of the _thr _debug, ... suffix logic, we now use the flags as recorded by cabal to pick the appropriate RTS.
@angerman angerman mentioned this pull request May 26, 2025
@angerman angerman closed this May 26, 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