Open singpolyma opened 9 years ago
It could probably use the cabal ghc program, so the setup.hs C++ builds with the same ghc the rest of the project builds with (instead of clang++). Currently, with cabal, I have not found a work around in getting the object files other than seperatly compiling them. If you can think of a way that would be awesome.
This is related to an issue I'm having with Cabal. I'll try to get a proposal of some kind together, maybe
This package builds the cbits once using the custom rule with
clang++
and then cabal builds them again later withghc
(which is the version actually used in the library output).