[commit: ghc] wip/nfs-locking: Add build.sh for building on Posix platforms (525f966)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:24:38 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/525f9668125f368584aa62a0d47e6bc8df23d8b4/ghc

>---------------------------------------------------------------

commit 525f9668125f368584aa62a0d47e6bc8df23d8b4
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Wed Dec 16 01:28:13 2015 +0100

    Add build.sh for building on Posix platforms


>---------------------------------------------------------------

525f9668125f368584aa62a0d47e6bc8df23d8b4
 build.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..cf217bd
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,6 @@
+#!/bin/bash -e
+
+root=`dirname $0`
+mkdir -p $root/_shake
+ghc --make -Wall $root/src/Main.hs -i$root/src -rtsopts -with-rtsopts=-I0 -outputdir=$root/_shake -o $root/_shake/build
+$root/_shake/build --lint --directory $root/.. $@



More information about the ghc-commits mailing list