-
Notifications
You must be signed in to change notification settings - Fork 237
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
angerman
wants to merge
163
commits into
master
Choose a base branch
from
armv7a
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 155 commits
Commits
Show all changes
163 commits
Select commit
Hold shift + click to select a range
939365b
Support for armv7a-bionic (android)
angerman 0ca227b
allow setupBuildFlags on components and packages
angerman c3c3ca4
android + ios: missing patches (#1884)
shumvgolove 079fcba
Fix hadrian naming convenction
angerman 676aab2
Fix format
angerman c1dfab0
newlines
angerman 9b3230d
WIP tools
angerman 26379ae
Add iserv logic
angerman 44af1d4
WIP
angerman fc0989b
Fix 9.6.3 aarch64 outline atomics
angerman 8c33c01
Better patch
angerman e8198e9
Better linux cross
angerman 4009bb7
Fix ghc:-dynamic-system-linker for android
angerman 0c9b2ac
Fixup arm
angerman 90094fd
Patch only for aarch64
angerman 79882ce
add aggregated ghc-9.6 patch
angerman 6922b22
More android patches
angerman eb3d141
Adds genapply patch for 9.6
angerman 315446d
Add [PATCH] AArch64: Fix broken conditional jumps for offsets >= 1MB
angerman cd404c4
Update default.nix
angerman 72d622c
fix native musl
angerman 2884b5f
add debug secno patch
angerman 9ad088f
fix musl being considered stage2
angerman 4e9820c
Allow undefined weak symbols.
angerman d1321de
Map missing symbols to 0xDEADBEEF.
angerman 746a154
Set -dynamic-system-linker if musl and not x86_64
angerman 3623f1b
proper parens
angerman 74026f9
Add i686 cross
angerman b953554
more patches
angerman 8ccbc65
:facepalm:
angerman 12b7e01
patch interpreter also for windows.
angerman 793163e
No dynamic loading on x86.
angerman 8ec031e
:facepalm:
angerman 2dfd858
Sigh
angerman 22dae4d
Disable linux cross patch for now.
angerman a9035e4
Fix 32bit patch
angerman 9b66410
No symbol loading on darwin.
angerman 56ab95e
all ghc c files apple-a7
angerman 8b72989
Drop duplicate patch
angerman d0c35e7
Fixup compilers
angerman ee32432
Update nixpkgs pins
hamishmack 3d7f4c4
ifdLevel 0
hamishmack d7dac30
Simplify bootPkgs
hamishmack 2ddccc0
Update materialized files
hamishmack aa83440
Bump nixpkgs-unstable and ghc911
hamishmack 5ce8ded
Simplify bootPkgs
hamishmack f309e82
Simplify bootPkgs
hamishmack 8c9fa55
Merge remote-tracking branch 'origin/master' into hkm/nixpkgs-update
hamishmack 366a923
Update ghc911
hamishmack e76e589
Reduce the number of compilers tested
hamishmack 915aaf4
Bump llvm for ghc >=9.10
hamishmack cac7369
Update patch upper bounds
hamishmack b9150b0
Include clang for useLLVM GHC
hamishmack a9e6f39
ifdLevel 1
hamishmack d8b5cc7
Add materialized files
hamishmack 852d6c7
Disable haskell-gi-overloading (it's too slow to build)
hamishmack 2a3d7f2
Update patch upper bound
hamishmack 26e6735
ifdLevel 2
hamishmack 663ae4f
Fixes for GHC HEAD
hamishmack 2f22c31
ifdLevel 3
hamishmack 7600b7f
Fixes for GHC HEAD
hamishmack caec44b
Fix supported-languages for GHC HEAD
hamishmack d55ec23
More fixes for GHC HEAD
hamishmack c20f0c0
Possible fix for plugin failure on aarch64-darwin
hamishmack 7ac6c38
ifdLevel 0
hamishmack b0c2fb3
ifdLevel 3
hamishmack 7a225bc
Add emar and emranlib to ghc js builds
hamishmack de5afd7
Fix `repo-tar` downloads
hamishmack 4e41959
Fix `repo-tar` downloads
hamishmack 431caa5
More fixes for ghc HEAD
hamishmack f474ff4
Merge remote-tracking branch 'origin/master' into hkm/nixpkgs-update
hamishmack 6886c43
Fix for GHC 9.6 JS backend
hamishmack 8956daa
Fix for GHC HEAD JS
hamishmack 8b2a567
Merge branch 'hkm/nixpkgs-update' into armv7a
hamishmack 00b830b
Merge remote-tracking branch 'origin/master' into armv7a
hamishmack 209c2cd
fix syntax errors
hamishmack dd3ecbb
ifdLevel 0
hamishmack aec1d0b
Disable darwin on hydra for now.
hamishmack 6b879fe
ifdLevel 1
hamishmack 0395359
ifdLevel 2
hamishmack ff5049a
ifdLevel 3
hamishmack 226e097
Fix eval
hamishmack bf96421
Fix patches
hamishmack 4eaf4b5
Fix patches
hamishmack 502db16
ifdLevel 0
hamishmack 79350f9
ifdLevel 1
hamishmack 48fae4a
ifdLevel 2
hamishmack 885c207
ifdLevel 3
hamishmack 79a0606
Add upper bound for patch
hamishmack d828c0b
Add ArchX86 and ArchRISCV64
hamishmack cac3cf7
Fix logic for iserv-syms.patch
hamishmack 106a506
Fix logic for iserv-syms.patch
hamishmack 6c31610
Remove old patch. Latest upstream GHC >9.6 have a better one.
hamishmack c8af6d6
Merge remote-tracking branch 'origin/master' into hkm/nixpkgs-update
hamishmack 52ebca3
ifdLevel 0
hamishmack a70f5ad
ifdLevel 1
hamishmack b139433
Fix hadrian strip patch
hamishmack 8f2754f
Fix hadrian strip patch
hamishmack b825a43
Merge remote-tracking branch 'origin/master' into hkm/nixpkgs-update
hamishmack a46fe4b
Merge branch 'hkm/nixpkgs-update' into armv7a
hamishmack 4692b1a
Fix haddock (now that isNativeMusl works correctly)
hamishmack 173edcc
Fix haddock (now that isNativeMusl works correctly)
hamishmack 076782f
Avoid building source-pins on hackage (just make sure the components …
hamishmack 321acd9
ifdLevel 2
hamishmack da3dd66
Merge branch 'hkm/nixpkgs-update' into armv7a
hamishmack ecabb6e
Fix for native musl builds
hamishmack 922ec59
ifdLevel 3
hamishmack 4b883cf
Add musl32 and android tests
hamishmack 4f04b86
Add AArch32 to call-cabal-project-to-nix.nix
hamishmack df06075
Update iserv-proxy patches
hamishmack 8e08834
Fix duplication of patch in overlays/bootstrap.nix
hamishmack e59fd8d
Merge remote-tracking branch 'origin/master' into hkm/nixpkgs-update
hamishmack a090d4e
Add missing materialized file
hamishmack 06b9333
Merge remote-tracking branch 'origin/master' into hkm/nixpkgs-update
hamishmack e4b6e9b
Merge branch 'hkm/nixpkgs-update' into armv7a
hamishmack 2145cdb
Remove patch already in 9.2.8
hamishmack 159fb66
Build android compilers with nixpkgs 24.05
hamishmack a1e0b30
Fix gi-gtk test
hamishmack 3e34303
Merge branch 'hkm/nixpkgs-update' into armv7a
hamishmack 5fc3f08
Merge remote-tracking branch 'origin/master' into armv7a
hamishmack 3521582
Merge remote-tracking branch 'origin/master' into armv7a
hamishmack 49a2fb9
Merge remote-tracking branch 'origin/master' into armv7a
hamishmack 057a33c
Fix eval
hamishmack ee588ac
Try aarch64-android-prebuilt
hamishmack 089b3fd
Merge remote-tracking branch 'origin/master' into armv7a
hamishmack 21ef26b
ifdLevel 1
hamishmack e7ea82c
Disable ncurses on android for now
hamishmack 7a139cc
Fix patch
hamishmack 4eae1c1
Use aarch64-android (not prebuilt)
hamishmack a6ad46d
Fixes for armv7a
hamishmack 467f0ec
Fixes for armv7a
hamishmack 646e64b
Fix ghc-9.6-32bit-cmm.patch bounds
hamishmack 5928eca
Fix genapply patch bound
hamishmack 770b95f
Try Android SDK version 26
hamishmack bc9ba01
Try Android SDK version 26
hamishmack 9af775a
Try Android SDK version 26
hamishmack 989066b
Use small address space
hamishmack 821f72a
Use small address space
hamishmack fac5029
androidNdkVersion = "24"
hamishmack 1d689df
Fix android sdk/ndk pins so they work for ci.nix
hamishmack f1309bb
Add missing casts
hamishmack 821ad3b
Add preBuild to set CFLAGS
hamishmack 689d5bc
Better fix?
hamishmack d6ad31d
Better fix?
hamishmack f666fdf
Support Cabal calling configure with "--host=arm-android"
hamishmack a158ea6
Fix ghc 9.8
hamishmack 1293f27
Fix for ghc >9.10
hamishmack 378ddb5
Fix patch error
hamishmack 91dade0
Possible fix for aarch64 android
hamishmack 5915b86
Fix patches for GHC 8.10
hamishmack 9e161b9
Try aarch64-android-prebuilt
hamishmack f1b5442
Merge remote-tracking branch 'origin/master' into armv7a
hamishmack 837523e
Include clang
hamishmack 134d69a
Don't include clang for prebuilt android
hamishmack 827008f
Merge remote-tracking branch 'origin/master' into armv7a
hamishmack 87ac69d
Set `LLVMAS`
hamishmack 6758658
Setting LLVMAS to `llvm-as` did not help
hamishmack 09bc75d
Set `LLVMAS` the same as `CC`
hamishmack 79c3370
Relax llvm max version
hamishmack ea25d0b
Try with llvm version bound relaxed, but without LLVMAS env var
hamishmack 08efe5b
Define ELF64_ST_VISIBILITY and ELF32_ST_VISIBILITY for android
hamishmack e951f77
ifdLevel 2
hamishmack 917ce14
ifdLevel 3
hamishmack File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[diff] reported by reviewdog 🐶