clash-compiler icon indicating copy to clipboard operation
clash-compiler copied to clipboard

Binary distribution and installer

Open christiaanb opened this issue 11 years ago • 3 comments

Only being able to install CLaSH via source through cabal is not ideal. It works well enough for people who are already working with Haskell, but not for anyone else. Eventually we want to have installers and/or a binary distributions of CLaSH.

christiaanb avatar May 28 '14 10:05 christiaanb

I totally agree, if there would be some nice self-contained install image like https://github.com/ghcformacosx I would check it out this weekend!

ggreif avatar May 28 '14 10:05 ggreif

Turned out that cabal install on top of the recent haskell platform is a matter of minutes only. Time to play around.

ggreif avatar Aug 21 '14 22:08 ggreif

I've given it a go and put some experimental build scripts here.

  • Debian: these are quite basic right now. All dependencies are supplied within the Debian package, which is not really.. debionic? On top of that, we cannot use PPAs as the buildserver do not have access to the internet and are thus unable to fetch the dependecies from Hackage. A solution would be to package all dependencies missing in the Ubuntu repos ourselves. At the moment, this means ALL the packages as Ubuntu ships old versions of GHC even on their newer distributions. So we'll need to wait until 20.04 (if we want to target LTS releases) in order for the PPA path to work.

  • Snap: snaps are like debs, but are supposed to be self-contained. This actually works quite nicely. Unfortunately, we cannot use the snapcraft build servers to build a snap, due to timing limitations. Even if we could solve the timing limitations, we'd still struggle to use the servers as they can only build from the master branch.

Both Windows packages and Mac packages are missing right now. I haven't been able to find a nice package management system for Windows, and I don't own a Mac..

martijnbastiaan avatar Sep 25 '18 12:09 martijnbastiaan