You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,10 +25,12 @@ similar to Typed Racket, and a small subset of Haskell.
25
25
26
26
## Building Gibbon
27
27
28
-
Gibbon is implemented in Haskell, and is set up to be built with
29
-
[Cabal](https://cabal.readthedocs.io/en/3.4/).
28
+
### Getting Dependencies
30
29
31
-
Follow the instructions below to have all dependencies.
30
+
Gibbon is implemented in Haskell, and is set up to be built with
31
+
[Cabal](https://cabal.readthedocs.io/en/latest/), but it has a number of native dependencies.
32
+
Follow the instructions below to get all dependencies or enter the Nix shell
33
+
with `nix-shell` to get them via [Nix](https://nix.dev/).
32
34
33
35
- Ubuntu 22.04:
34
36
(Parallelism support temporarily not available with ubuntu 22.04 as Cilk support is not avaiable with newer gcc)
@@ -77,24 +79,25 @@ Others require a few extra steps:
77
79
78
80
2.[uthash](https://github.com/troydhanson/uthash): Clone the [repository](https://github.com/troydhanson/uthash) and copy all the `.h` files in `src` to `/usr/local/include`
79
81
82
+
### Actually Building Gibbon
80
83
81
84
After you have both Cabal and all the dependencies installed, you can build
82
85
Gibbon from source:
83
86
84
87
$ git clone https://github.com/iu-parfunc/gibbon
85
88
$ cd gibbon && source set_env.sh
86
-
$ cd gibbon-compiler && cabal v2-build . -w ghc-9.4.6
89
+
$ cd gibbon-compiler && cabal v2-build
87
90
88
91
At this point you can run the Gibbon executable:
89
92
90
-
$ cabal v2-exec -w ghc-9.4.6 gibbon -- -h
93
+
$ cabal v2-run gibbon -- -h
91
94
92
95
If you'd like to run the testsuite, you can do so with:
93
96
94
-
$ cd $GIBBONDIR && ./run_all_tests.sh
97
+
$ ./run_all_tests.sh
95
98
96
99
97
-
## Building a Developement docker container for Gibbon
100
+
###Building a Developement docker container for Gibbon
98
101
99
102
To build the Dockerfile for dev purposes run the command below from the gibbon directory.
0 commit comments