Skip to content
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

Add better support for armv7a cross compilation #1874

Open
wants to merge 163 commits into
base: master
Choose a base branch
from
Open

Add better support for armv7a cross compilation #1874

wants to merge 163 commits into from

Conversation

angerman
Copy link
Collaborator

@angerman angerman commented Mar 10, 2023

TODO:

  • thanks! I think we might want the libcharset to be behind its own flag, otherwise it will be disable for all smallAddressSpace and on macOS. I'll keep an eye on the eval of this, and then adjust.

@stale
Copy link

stale bot commented Jul 21, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jul 21, 2023
@andreabedini
Copy link
Member

@angerman are you still interested in this?

@stale stale bot removed the wontfix label Jul 24, 2023
@angerman
Copy link
Collaborator Author

I'm afraid yes.

angerman and others added 21 commits January 20, 2024 07:06
This adds support to haskell.nix for building for armv7a-android.
It includes
- various minor fixes
- a lot of bionic (libc) patches for ghc
- no gold on 32bit android
- android overlay: mostly static
- disable KTLS on openssl for android
* android: missing patches

* ios: missing patches
cabal ends up with

aarch64-android

whereas hadrian ends up with

aarch64-linux_android
GenApply suffers from having GHC pollute its defines.
This is added for aarch64 for now only as that's the only affeted platform.
@@ -1,4 +1,21 @@
_final: prev: prev.lib.optionalAttrs prev.stdenv.hostPlatform.isAndroid ({
final: prev: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[diff] reported by reviewdog 🐶

Suggested change
final: prev: {
_final: prev: {

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.

4 participants