[Haskell-cafe] ghc and OpenMP
vamchale at gmail.com
Sun Sep 1 18:18:06 UTC 2019
Ah, I see.
In the cabal file you can make a flag with cc-options. It goes in the
same place ghc-options would. That's probably the easiest way to do it :)
On 9/1/19 1:14 PM, PICCA Frederic-Emmanuel wrote:
>> 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?
> Yes, but it seems to me that I need to gives gcc this .
> So how can I says to ghc, to compile the .c files with OpenMP activated ?
>  https://gcc.gnu.org/onlinedocs/libgomp/Enabling-OpenMP.html
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 659 bytes
Desc: OpenPGP digital signature
More information about the Haskell-Cafe