HuwCampbell / grenade

Deep Learning in Haskell
BSD 2-Clause "Simplified" License
1.45k stars 84 forks source link

grenade more easily built with stack than mafia #77

Open silky opened 6 years ago

silky commented 6 years ago

i tried the mafia build, but it failed immediately:

08:17 PM noon ∈ grenade (master*) ♫ ./mafia 
INFO: No explicit mafia version requested installing latest (39ec1dff2fbc9a0dad49e26f203f696d929ad316).
Building mafia-39ec1dff2fbc9a0dad49e26f203f696d929ad316 in /tmp/tmp.NF0BVAdorK
Cloning into '/tmp/tmp.NF0BVAdorK'...
remote: Enumerating objects: 27, done.
remote: Counting objects: 100% (27/27), done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 2434 (delta 11), reused 15 (delta 4), pack-reused 2407
Receiving objects: 100% (2434/2434), 721.96 KiB | 207.00 KiB/s, done.
Resolving deltas: 100% (1352/1352), done.
HEAD is now at 39ec1df Merge pull request #239 from tmcgilchrist/topic/entwine
./bin/bootstrap: 12: ./bin/bootstrap: cabal: not found
mafia version (39ec1dff2fbc9a0dad49e26f203f696d929ad316) could not be built.

i then did stack init && stack build and that worked :)

HuwCampbell commented 6 years ago

Grenade should install with just plain old cabal and GHC as well. I tried to make it easy install with any chosen tool chain (although I should probably update the readme to reflect that).

Mafia didn't install for you btw because you don't have cabal on your path.

tmcgilchrist commented 5 years ago

It works really nicely with cabal new-build for me.