[Haskell-cafe] ghc and OpenMP
PICCA Frederic-Emmanuel
frederic-emmanuel.picca at synchrotron-soleil.fr
Sun Sep 1 18:14:00 UTC 2019
> How do you mean? I assume you aren't using hsc2hs or c2hs?
I use hsc2hs, just to write the FFI bindings of my local c files.
> Do you have something like hslua already?
> https://github.com/hslua/hslua/blob/master/hslua.cabal#L131
Yes, but it seems to me that I need to gives gcc this [1].
So how can I says to ghc, to compile the .c files with OpenMP activated ?
[1] https://gcc.gnu.org/onlinedocs/libgomp/Enabling-OpenMP.html
More information about the Haskell-Cafe
mailing list