-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Aditya Alok <[email protected]>
- Loading branch information
1 parent
d452b71
commit ea8e51b
Showing
4 changed files
with
60 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# This Stage2 iserv will run under qemu emulated proot. | ||
|
||
--- ghc-9.12.1/hadrian/src/Settings/Default.hs 2025-02-24 22:46:43.668323779 +0530 | ||
+++ ghc-9.12.1.mod/hadrian/src/Settings/Default.hs 2025-03-02 14:45:19.932865008 +0530 | ||
@@ -171,12 +173,12 @@ | ||
, transformers | ||
, unlit | ||
, xhtml | ||
+ , iserv | ||
, if winTarget then win32 else unix | ||
] | ||
, when (not cross) | ||
[ haddock | ||
, hpcBin | ||
- , iserv | ||
, runGhc | ||
, ghcToolchainBin | ||
] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- ghc-9.12.1/hadrian/src/Rules/Program.hs 2025-02-24 22:46:43.666788988 +0530 | ||
+++ ghc-9.12.1.mod/hadrian/src/Rules/Program.hs 2025-02-26 23:01:57.610058317 +0530 | ||
@@ -99,13 +99,7 @@ | ||
-- so we use pkgRegisteredLibraryFile instead. | ||
registerPackages =<< contextDependencies ctx | ||
|
||
- cross <- flag CrossCompiling | ||
- -- For cross compiler, copy @stage0/bin/<pgm>@ to @stage1/bin/@. | ||
- case (cross, stage) of | ||
- (True, s) | s > stage0InTree -> do | ||
- srcDir <- buildRoot <&> (-/- (stageString stage0InTree -/- "bin")) | ||
- copyFile (srcDir -/- takeFileName bin) bin | ||
- _ -> buildBinary rs bin ctx | ||
+ buildBinary rs bin ctx | ||
|
||
buildBinary :: [(Resource, Int)] -> FilePath -> Context -> Action () | ||
buildBinary rs bin context@Context {..} = do |