This patch series adds the following 4 new aports:
- ghc-bootstrap
- ghc-llvm
- ghc
- cabal
ghc-bootstrap is the only apkbuild that is likely be the most questionable. It
currently uses docker to build a ghc cross compiler that is then used
by the ghc package to build natively on the correct alpine $CARCH. I
have left in links and checksums that I have validated but this specific
apkbuild would be the one that needs updating based on where bootstrapped
ghc installs end up.
Additionally, due to LLVM not providing a forward or backward guarantee
for generated IR, I compile LLVM 3.7.1 to ensure that system LLVM
upgrades do not affect ghc's ability to produce code on arm.
A better option here would be to have a community/llvm-3.N apk that could
be depended on by packages that cannot reasonably depend on system
llvm without breaking on version upgrades.
Only x86_64 and armhf are supported for now. Adding a new platform
wouldn't be too hard and would mostly mean updating ghc-bootstrap
and ensuring a cross compiled ghc functions to build a native
ghc.
Also include the cabal package tool used to install and build ghc
packages.
Mitch Tishmack (4):
testing/ghc-llvm new aport
testing/ghc-bootstrap new aport
testing/ghc new aport
testing/cabal new aport
testing/cabal/APKBUILD | 53 +++++++
testing/cabal/cabal-0001-force-ld.gold.patch | 10 ++
testing/ghc-bootstrap/APKBUILD | 50 ++++++
testing/ghc-bootstrap/bootstrap/armhf/Dockerfile | 154 +++++++++++++++++++
.../ghc-bootstrap/bootstrap/armhf/bootstrap.patch | 112 ++++++++++++++
testing/ghc-bootstrap/bootstrap/armhf/settings | 32 ++++
testing/ghc-bootstrap/bootstrap/gmpurl.patch | 22 +++
testing/ghc-bootstrap/bootstrap/llvm-3.7.1.sh | 88 +++++++++++
testing/ghc-bootstrap/bootstrap/x86_64/Dockerfile | 143 +++++++++++++++++
.../ghc-bootstrap/bootstrap/x86_64/bootstrap.patch | 112 ++++++++++++++
testing/ghc-bootstrap/bootstrap/x86_64/settings | 32 ++++
testing/ghc-llvm/APKBUILD | 169 +++++++++++++++++++++
testing/ghc-llvm/llvm-0002-musl-triple.patch | 90 +++++++++++
testing/ghc-llvm/llvm-0003-musl-hacks.patch | 114 ++++++++++++++
testing/ghc/APKBUILD | 106 +++++++++++++
15 files changed, 1287 insertions(+)
create mode 100644 testing/cabal/APKBUILD
create mode 100644 testing/cabal/cabal-0001-force-ld.gold.patch
create mode 100755 testing/ghc-bootstrap/APKBUILD
create mode 100644 testing/ghc-bootstrap/bootstrap/armhf/Dockerfile
create mode 100644 testing/ghc-bootstrap/bootstrap/armhf/bootstrap.patch
create mode 100644 testing/ghc-bootstrap/bootstrap/armhf/settings
create mode 100644 testing/ghc-bootstrap/bootstrap/gmpurl.patch
create mode 100755 testing/ghc-bootstrap/bootstrap/llvm-3.7.1.sh
create mode 100644 testing/ghc-bootstrap/bootstrap/x86_64/Dockerfile
create mode 100644 testing/ghc-bootstrap/bootstrap/x86_64/bootstrap.patch
create mode 100644 testing/ghc-bootstrap/bootstrap/x86_64/settings
create mode 100755 testing/ghc-llvm/APKBUILD
create mode 100644 testing/ghc-llvm/llvm-0002-musl-triple.patch
create mode 100644 testing/ghc-llvm/llvm-0003-musl-hacks.patch
create mode 100755 testing/ghc/APKBUILD
--
2.8.0
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---