X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 9AD1DDC06B5 for ; Mon, 16 May 2016 03:30:35 +0000 (UTC) Received: from mail-ig0-f194.google.com (mail-ig0-f194.google.com [209.85.213.194]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 319C3DC00FE for ; Mon, 16 May 2016 03:30:35 +0000 (UTC) Received: by mail-ig0-f194.google.com with SMTP id rc4so5919861igc.0 for ; Sun, 15 May 2016 20:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=XSmGUxdrgWR9sLD2OyUdGgy/ecSFGT2gpbsfmDenGqs=; b=fb0nBwoSqn3vya9UAq9CeHiTDCvbi2/zfjs10fnx0FuUpsfstb2i6LRd2m8tsl36pQ +ts+b8cjEXdCST0aqOkQiu1EPCNQXJnzZocvdKvs4jnPEBAVpQvjZAqwG+Ac6BVHVjDN JR7baN2J1rp2ZT5RAHZ5oF9zNmy1gPXOKKPFfooOJZNikr7RU14w0CUVcuz0TTQH2RwR taI0oEeSXR2tDD1Hrd3Fj1uSIC7wk6gxj8pbt6EPO65taUDK8uO0q1Ft9OYooM8nfeHP KCSxXWww5jfAh+vE5jkF9+CtUANJ/rmwmKI9spCXwGa0HE887eE6raxy3UCwJqALLVBo pUNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=XSmGUxdrgWR9sLD2OyUdGgy/ecSFGT2gpbsfmDenGqs=; b=ZLeof44aEvNgVbNNAEF2xzf/avRmOV6uOAEi4q+yXc1Xwtj3+kv8SIV0+OHN6Xs5VH PlwL76sl/wQEOehMAWYkmWnRRs3VcCKA6h7IFtz6vsARSxPP5YrocMDmgzSFepFbWYBQ tZ8WUn4um7SXowY8u7AoFAKyxOHIhD4vyq5/Fdz8ParlKFm183XSbTPM+sZb2sk0Jq+Z OclKxOMJ2SXMYWgXRntQVc/7868YuT7Htg9VMffO5ybDDXrvSqrexFKL2xMRkbmldCkE YUO8305EcLW3YHTbigYSmKS9637UMuiEOTqq/fv0zuJsOTLW26NcLAHHh1kQD53//B3Q cX2A== X-Gm-Message-State: AOPr4FUcqHhGcCeTLXZOIij8BxiyeGLT2CVpoMJg0AufkU0HzpPfutHa3N5GEcvTOOBl0A== X-Received: by 10.50.184.135 with SMTP id eu7mr9491552igc.21.1463369433359; Sun, 15 May 2016 20:30:33 -0700 (PDT) Received: from mb.lan (c-73-24-18-171.hsd1.mn.comcast.net. [73.24.18.171]) by smtp.gmail.com with ESMTPSA id xp13sm4883406igc.19.2016.05.15.20.30.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 15 May 2016 20:30:32 -0700 (PDT) From: Mitch Tishmack To: alpine-aports@lists.alpinelinux.org Cc: Mitch Tishmack Subject: [alpine-aports] [PATCH 0/4] Add initial port of ghc 8.0.1 to testing for armhf/x86_64 Date: Sun, 15 May 2016 22:30:14 -0500 Message-Id: <1463369418-51523-1-git-send-email-mitch.tishmack@gmail.com> X-Mailer: git-send-email 2.8.0 X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: 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 ---