Skip to content

Fix ghc 9 windows cross compilation #1450

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

Merged
merged 73 commits into from
May 19, 2022
Merged

Conversation

hamishmack
Copy link
Collaborator

@hamishmack hamishmack commented Apr 22, 2022

Fixes Windows cross compilation for GHC 9.0 and 9.2.

Updates wine to use the version that is included with the chosen Nixpkgs (it used to be pinned to an older version).

Moves the configuration of the GHC source into the GHC derivation. This should make adding Hadrian support easier.

Propagates library dependences (not just pkgconfig ones) on windows so that any DLLs in those libraries can be copied for TH evaluation and to the /bin directory of executable components.

Adds gcc and mfcgthreads as library dependencies on Windows so that the DLLs they include will be found.

Use $pkgsHostTarget (instead of ghc-pkg) to find all the DLLs can copy them to the /bin directory of executable components.

Adds support for __int128_t and __uint128_t to language-c to fix aarch64-darwin builds.

Fixed reinstalling packages that come with patched versions in ghcjs.

@hamishmack
Copy link
Collaborator Author

bors try

iohk-bors bot added a commit that referenced this pull request Apr 22, 2022
@hamishmack hamishmack requested a review from angerman April 22, 2022 02:44
@hamishmack
Copy link
Collaborator Author

bors try-

@hamishmack
Copy link
Collaborator Author

bors try

iohk-bors bot added a commit that referenced this pull request Apr 22, 2022
@hamishmack
Copy link
Collaborator Author

bors try-

@hamishmack
Copy link
Collaborator Author

bors try

iohk-bors bot added a commit that referenced this pull request Apr 22, 2022
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Apr 22, 2022

try

Timed out.

@hamishmack
Copy link
Collaborator Author

bors try

iohk-bors bot added a commit that referenced this pull request Apr 22, 2022
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Apr 22, 2022

@hamishmack
Copy link
Collaborator Author

bors try

iohk-bors bot added a commit that referenced this pull request Apr 22, 2022
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Apr 22, 2022

try

Build failed:

@hamishmack
Copy link
Collaborator Author

bors try

iohk-bors bot added a commit that referenced this pull request Apr 22, 2022
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Apr 22, 2022

try

Build failed:

@hamishmack
Copy link
Collaborator Author

bors try

iohk-bors bot added a commit that referenced this pull request May 18, 2022
@iohk-bors
Copy link
Contributor

iohk-bors bot commented May 18, 2022

try

Build failed:

@hamishmack
Copy link
Collaborator Author

bors try

iohk-bors bot added a commit that referenced this pull request May 18, 2022
@iohk-bors
Copy link
Contributor

iohk-bors bot commented May 19, 2022

try

Timed out.

@hamishmack
Copy link
Collaborator Author

bors try

iohk-bors bot added a commit that referenced this pull request May 19, 2022
@hamishmack
Copy link
Collaborator Author

bors try-

@hamishmack
Copy link
Collaborator Author

bors try

iohk-bors bot added a commit that referenced this pull request May 19, 2022
@iohk-bors
Copy link
Contributor

iohk-bors bot commented May 19, 2022

try

Build failed:

@hamishmack
Copy link
Collaborator Author

bors try

iohk-bors bot added a commit that referenced this pull request May 19, 2022
@iohk-bors
Copy link
Contributor

iohk-bors bot commented May 19, 2022

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.

2 participants