X-Original-To: alpine-devel@mail.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id B67BDDC0309 for ; Mon, 18 Jan 2016 03:04:20 +0000 (UTC) Received: from mail-io0-f175.google.com (mail-io0-f175.google.com [209.85.223.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 74868DC014A for ; Mon, 18 Jan 2016 03:04:20 +0000 (UTC) Received: by mail-io0-f175.google.com with SMTP id 1so490048166ion.1 for ; Sun, 17 Jan 2016 19:04:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=ePWOLKbYBSXlcJmmMrPaG30EAGS05jqelYH6bH99EzU=; b=IwvylAgWMgvtKF4Z0EsZIR27+QI8FXu2eNOU9fvZL3jXdhEUwVXJAQb5LzPPiQNBDI hid7oIDoiAxwoApQ9orErt/yNk8+C+9o2mGkBQ4rGMjfSZo8dzykFn83VXcJw9FQ4Sde OalXs4Nc3DbPmjwDGhKi56UWxZvcy4yp5ejKOOn+90xxMnDsZ5D6ov8PR1T2yc2hd7Mh tDCglLooQJ+TLTIfiSaeK8k7cCOKO/+2mGCce2R4F+9HNrcmfqlba/zOcBOZltIQP/U4 +RawpnRutGd1e+Usgo/sjEPbuTR/Ft+vT4FJbsBo3R/dX5Nxe1qVPljAlk0YkQ40GprX nmfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:content-transfer-encoding :subject:message-id:date:to:mime-version; bh=ePWOLKbYBSXlcJmmMrPaG30EAGS05jqelYH6bH99EzU=; b=SoutiGJSn9J2c2daLgQKfSh7e6mGBsHGmSq5WyepmZ50QiYKfDor1hBMeiRxnno0OM df8p1Ry3IDc0XjMAXuG8fM4cRvSdxfycx59JZ3MGA4XhdbDHyCT/pZQoYFJctfzGEraU 6loTrwIpoAVWwttoRAxhnSHlBj8qNZveB/GKmyNyAjffmpw7/U3KBedc+dsUcTaQ9Zky vFMBsfkS0aPUJZ/9Shvvu/b4f/0w4UqVQSLWXUOUTnI3xolX6dXteCdelVKzrh9cCeZ8 vmkFCllFcvmYl1acs7w6Jw8Ulmo5cLV1MCBvP7p5uurdHx4Rc3Nyexdv+/JFl4eVSqF6 pmnQ== X-Gm-Message-State: ALoCoQkyZQeOzARjlrugOOjOq7QHxVsizyXt8/W4DewyABmYcDEQ6p3kfYZ4qf+mUVnxhthzgm/qNqC9iHhER5H9/MPoqHnWbg== X-Received: by 10.107.43.17 with SMTP id r17mr19859220ior.156.1453086259295; Sun, 17 Jan 2016 19:04:19 -0800 (PST) Received: from mb.lan (c-50-137-255-230.hsd1.mn.comcast.net. [50.137.255.230]) by smtp.gmail.com with ESMTPSA id qe5sm4912925igb.10.2016.01.17.19.04.18 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 17 Jan 2016 19:04:18 -0800 (PST) From: Mitch Tishmack Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: [alpine-devel] [PATCH] Add port of ghc 7.10.3b, the Glasgow Haskell Compiler Message-Id: Date: Sun, 17 Jan 2016 21:04:17 -0600 To: alpine-devel@lists.alpinelinux.org X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) X-Mailer: Apple Mail (2.3112) X-Virus-Scanned: ClamAV using ClamSMTP Patch file is here http://sprunge.us/CPAa https://www.haskell.org x86_64 only for now. Also includes the cabal build tool as required by ghc to build itself and other packages. Also includes llvm 3.5 llc/opt as required by this specific release. Note, this port requires a bootstrap compiler. I've been using a version built via the bootstrap.sh script which uses docker and ubuntu-14.04 to generate a cross compiler that can be used to build this compiler. To build this port in alpine using that same cross compiler one need simply set the BOOTSTRAP env variable and the cross compiled ghc will be used to build a ghc bootstrap apk. Example of building a bootstrapped ghc apk (I wouldn't use this for much beyond building ghc itself, it is slow): $ export = BOOTSTRAP=3Dhttps://s3-us-west-2.amazonaws.com/alpine-ghc/7.10/ghc-x86_64-= linux-musl-7.10.2.tar.xz $ abuild checksum && abuild -r $ unset BOOTSTRAP $ abuild checksum && abuild -r The sha256sum of the bootstrap compiler tarball used since 7.10.2 is: dbc3922ca7be8dd0134862998b355c0867fa2e82f20ea48f1d133e66cde5ce1d ghc-x86_64-linux-musl-7.10.2.tar.xz If you have any questions just ping mitchty on freenode in #alpine-devel cheers, mitch= --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---