fpco / inline-c

284 stars 50 forks source link

Get test suite to compile on macos and CI it #89

Closed domenkozar closed 5 years ago

domenkozar commented 5 years ago

Fixes #75 with working around Cabal bug.

But the test suite fails:

Basic C++
Hello, world!3
  Hello World
Exception handling
libc++abi.dylib: terminating with uncaught exception of type std::runtime_error: C++ error message                               
bitonic commented 5 years ago

for the record, I'm happy to merge once it passes. I'm even able to test myself in 2 weeks once I have my macbook around :upside_down_face: .

domenkozar commented 5 years ago

I've applied the workaround for https://gitlab.haskell.org/ghc/ghc/issues/11829 but apparently, I'm doing something wrong or the fix should be different.

domenkozar commented 5 years ago

Due to https://gitlab.haskell.org/ghc/ghc/issues/14784 I'm no longer convinced this can be fixed for darwin in GHC 8.4 and 8.2, but GHC 8.6 does run tests succesfully :)

bitonic commented 5 years ago

@domenkozar thanks!