To get started, you'll need GHC 8.0.1 (I've also reproduced these issues with GHC HEAD, so that should work too). You'll also need the HEAD version of hmatrix
. To do:
-
git clone https://github.com/albertoruiz/hmatrix
. (I'm using commit b32b37472559f202995e894f9a627871737d4619 at the moment.) -
Make sure you have OpenBLAS installed. I did
pacman -S mingw-w64-x86_64-openblas
. Apparently there are other ways to install OpenBLAS, but I haven't tried them. -
Apply the following change:
diff --git a/packages/base/hmatrix.cabal b/packages/base/hmatrix.cabal