Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Commit

Permalink
various build note updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mzero committed Jul 3, 2015
1 parent bd74b80 commit 3704e0a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
9 changes: 5 additions & 4 deletions notes/BUILD-NEW
Expand Up @@ -127,10 +127,11 @@ TO DO
=====
key: [ ] = open, [x] = done, [+] = in progress, [-] = won't do (probably)

[ ] check-in (rebase, rebase -i, merge, push, merge, push)
[ ] copy up website
[ ] final check live site
[ ] e-mail, reddit, G+

-- A List --

[ ] tar ball should be based on GHC tarball name
[ ] do, disassociate official version from tarball name


-- B List --
Expand Down
15 changes: 8 additions & 7 deletions notes/building-ghc-docker
Expand Up @@ -113,7 +113,7 @@ Starting a container for buliding:

in the container:

. /home/mark/bashrc
. .bashrc
export PATH=/opt/ghc-7.10.1/bin:$PATH

(see https://ghc.haskell.org/trac/ghc/wiki/Building/GettingTheSources)
Expand Down Expand Up @@ -143,8 +143,10 @@ now, to build right in-place - rather than have a src tarball:

./configure 2>&1 | tee /tmp/conf.log
make -j 4 2>&1 | tee /tmp/make.log
make 2>&1 | tee -a /tmp/make.log
make binary-dist 2>&1 | tee /tmp/bd.log


copy out of the container:

sudo cp -p ghc-7.10.1.20150528-x86_64-unknown-linux.tar.bz2 /home/mark/platform/
Expand All @@ -159,7 +161,7 @@ Starting a container for buliding:

in the container:

. /home/mark/bashrc
. .bashrc
export PATH=/opt/ghc-7.10.1/bin:$PATH

git clone https://github.com/haskell/haskell-platform.git hp
Expand Down Expand Up @@ -205,13 +207,12 @@ Starting a container for building:

in the container:

. /home/mark/bashrc
. .bashrc

install the built HP:

cd /
sudo tar xvf /home/mark/platform/haskell-platform-7.10.2-unknown-posix-x86_64.tar.gz
sudo /usr/local/haskell/ghc-7.10.1.20150528-x86_64/bin/activate-hs
sudo tar xf /home/mark/platform/haskell-platform-7.10.2-unknown-posix-x86_64.tar.gz
sudo ./install-haskell-platform.sh

now test

Expand All @@ -220,7 +221,7 @@ now test
cabal unpack pandoc
cd pandoc-1.14.0.2
cabal sandbox init
cabal install --only-dependcies --enable-tests
cabal install --only-dependencies --enable-tests
cabal build
cabal test

Expand Down

0 comments on commit 3704e0a

Please sign in to comment.