summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
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