summaryrefslogtreecommitdiff
path: root/dht/bp
diff options
context:
space:
mode:
Diffstat (limited to 'dht/bp')
-rwxr-xr-xdht/bp20
1 files changed, 20 insertions, 0 deletions
diff --git a/dht/bp b/dht/bp
new file mode 100755
index 00000000..8d3335d4
--- /dev/null
+++ b/dht/bp
@@ -0,0 +1,20 @@
1#!/bin/bash
2args="-rtsopts -hisuf p_hi -osuf p_o -prof -fprof-auto -fprof-auto-exported"
3
4root=${0%/*}
5cd "$root"
6
7me=${0##*/}
8me=${me%.*}
9ghc \
10 -hidir build/$me -odir build/$me \
11 -iPresence \
12 Data/BitSyntax.hs
13ghc \
14 -hidir build/$me -odir build/$me \
15 -iPresence \
16 $args \
17 -o presence \
18 build/b/Presence/monitortty.o \
19 Presence/main \
20 "$@"