Open falsifian opened 3 years ago
I'm able to run a very simple program (just prints a matrix) after doing two things:
constraint: hmatrix +no-random_r
to ~/.cabal/config
hmatrix
source and changed tho only occurrence of if os(freebsd)
to if os(freebsd) || os(dragonfly)
in hmatrix.cabal
, and made a cabal.project
file pointing to the modified source.I'd be happy to accept a patch adding support for DragonflyBSD.
The random conditional compilation bits need a bit of a clean up, but I believe that you should add dragonfly to the lists in vector-aux.c as well.
Just tried to use HMatrix on current DragonflyBSD. Here's what I see. (My file
nc.cabal
listshmatrix
as a dependency.)This seems similar to #125. I guess
struct random_data
is a Linux-only thing.