summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorDominic Steinitz <dominic@steinitz.org>2018-03-15 16:37:14 +0000
committerDominic Steinitz <dominic@steinitz.org>2018-03-15 16:37:14 +0000
commit7b98f43f6ddca22ec0581e1a48e0626e2a8bc3de (patch)
tree42e9faeb2d241ef6c70f824885cda1e1611ae73e /packages
parent2cb51cd3cbc111a0251560516e772b6cece5446d (diff)
Build instructions
Diffstat (limited to 'packages')
-rw-r--r--packages/sundials/README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/sundials/README.md b/packages/sundials/README.md
new file mode 100644
index 0000000..400b36f
--- /dev/null
+++ b/packages/sundials/README.md
@@ -0,0 +1,16 @@
1I think this builds the executable. I haven't tried cleaning
2everything yet to double check.
3
4```
5cabal install
6cd src
7/nix/store/qrwfai93qhdaj5d4xd34n9bq58slzfxw-gcc-wrapper-6.4.0/bin/gcc -c helpers.c -I/nix/store/dr0yrlmscybjs5ifzw1m063g6xgw5imq-ghc-8.2.2-with-packages/lib/ghc-8.2.2/include
8cd ..
9ghc src/Main.hs src/helpers.o -lsundials_arkode -o Main
10```
11
12To run you will (on MACos) also need
13
14```
15export DYLD_LIBRARY_PATH=~/.cabal/bin:/nix/store/dr0yrlmscybjs5ifzw1m063g6xgw5imq-ghc-8.2.2-with-packages/lib/ghc-8.2.2/rts
16``` \ No newline at end of file