mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-04-03 14:59:47 +02:00
Merge 0cddb70235 into 6f5f41265d
This commit is contained in:
commit
5dad887a62
@ -94,7 +94,7 @@ we're just not there yet.
|
|||||||
|
|
||||||
```
|
```
|
||||||
# Run a nightly build
|
# Run a nightly build
|
||||||
/opt/stackage-build/stackage/automated/build.sh nightly-2015-07-08
|
/opt/stackage-build/stackage/automated/run-nightly.sh
|
||||||
|
|
||||||
# Run an LTS minor bump
|
# Run an LTS minor bump
|
||||||
/opt/stackage-build/stackage/automated/build.sh lts-2.17
|
/opt/stackage-build/stackage/automated/build.sh lts-2.17
|
||||||
|
|||||||
@ -23,6 +23,11 @@ We welcome all packages, provided:
|
|||||||
|
|
||||||
Full details on how to add a package can be found in the [maintainers agreement](https://github.com/fpco/stackage/blob/master/MAINTAINERS.md#adding-a-package).
|
Full details on how to add a package can be found in the [maintainers agreement](https://github.com/fpco/stackage/blob/master/MAINTAINERS.md#adding-a-package).
|
||||||
|
|
||||||
|
__NOTE__: There is an approximate 30 minute delay between a package uploading
|
||||||
|
to Hackage and being available to the Travis build script to check upper
|
||||||
|
bounds. If a pull request is marked as failed due to using an older version,
|
||||||
|
please close and reopen the PR to retrigger a Travis build.
|
||||||
|
|
||||||
Other repos
|
Other repos
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -24,6 +24,9 @@ add-apt-repository -y ppa:marutter/rrutter
|
|||||||
# not sure what this was needed for
|
# not sure what this was needed for
|
||||||
#add-apt-repository -y ppa:openstack-ubuntu-testing/icehouse
|
#add-apt-repository -y ppa:openstack-ubuntu-testing/icehouse
|
||||||
|
|
||||||
|
# Set the GHC version
|
||||||
|
GHCVER=8.0.1
|
||||||
|
|
||||||
# Get Stack
|
# Get Stack
|
||||||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 575159689BEFB442
|
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 575159689BEFB442
|
||||||
echo 'deb http://download.fpcomplete.com/ubuntu xenial main'|tee /etc/apt/sources.list.d/fpco.list
|
echo 'deb http://download.fpcomplete.com/ubuntu xenial main'|tee /etc/apt/sources.list.d/fpco.list
|
||||||
@ -31,8 +34,8 @@ echo 'deb http://download.fpcomplete.com/ubuntu xenial main'|tee /etc/apt/source
|
|||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
build-essential \
|
build-essential \
|
||||||
ghc-8.0.1 \
|
ghc-$GHCVER \
|
||||||
ghc-8.0.1-htmldocs \
|
ghc-$GHCVER-htmldocs \
|
||||||
hscolour \
|
hscolour \
|
||||||
sudo \
|
sudo \
|
||||||
curl \
|
curl \
|
||||||
@ -91,28 +94,39 @@ apt-get install -y \
|
|||||||
libwebkitgtk-3.0-dev \
|
libwebkitgtk-3.0-dev \
|
||||||
libxau-dev \
|
libxau-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
|
libxrandr-dev \
|
||||||
libxss-dev \
|
libxss-dev \
|
||||||
libyaml-dev \
|
libyaml-dev \
|
||||||
libzip-dev \
|
libzip-dev \
|
||||||
libzmq3-dev \
|
libzmq3-dev \
|
||||||
llvm \
|
llvm-3.7 \
|
||||||
m4 \
|
m4 \
|
||||||
nettle-dev \
|
nettle-dev \
|
||||||
nodejs \
|
nodejs \
|
||||||
npm \
|
npm \
|
||||||
|
openjdk-8-jdk \
|
||||||
r-base \
|
r-base \
|
||||||
r-base-dev \
|
r-base-dev \
|
||||||
wget \
|
ruby-dev \
|
||||||
zip \
|
|
||||||
stack \
|
stack \
|
||||||
openjdk-8-jdk \
|
wget \
|
||||||
|
xclip \
|
||||||
|
zip \
|
||||||
zlib1g-dev
|
zlib1g-dev
|
||||||
|
|
||||||
|
# Put documentation where we expect it
|
||||||
|
mv /opt/ghc/$GHCVER/share/doc/ghc-$GHCVER/ /opt/ghc/$GHCVER/share/doc/ghc
|
||||||
|
|
||||||
# Buggy versions of ld.bfd fail to link some Haskell packages:
|
# Buggy versions of ld.bfd fail to link some Haskell packages:
|
||||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=17689. Gold is
|
# https://sourceware.org/bugzilla/show_bug.cgi?id=17689. Gold is
|
||||||
# faster anyways and uses less RAM.
|
# faster anyways and uses less RAM.
|
||||||
update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.gold" 20
|
update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.gold" 20
|
||||||
update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.bfd" 10
|
update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.bfd" 10
|
||||||
|
|
||||||
# See: https://github.com/fpco/stackage/issues/1388
|
# GHC requires a specific LLVM version on the system PATH for its LLVM backend.
|
||||||
ln -n /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so /usr/lib
|
# This version is tracked here:
|
||||||
|
# https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/Backends/LLVM/Installing
|
||||||
|
#
|
||||||
|
# GHC 8.0 requires LLVM 3.7 tools (specifically, llc-3.7 and opt-3.7).
|
||||||
|
update-alternatives --install "/usr/bin/llc" "llc" "/usr/bin/llc-3.7" 50
|
||||||
|
update-alternatives --install "/usr/bin/opt" "opt" "/usr/bin/opt-3.7" 50
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user