[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ghc and -threaded



Le 2025-01-29 20:26, Ilias Tsitsimpis a écrit :
Hi Fred,

On Wed, Jan 29, 2025 at 12:36PM, picca wrote:
How can I know which arch support and which arch doesn not suport threading
on Debian ?

You can see if GHC supports threaded runtime using 'ghc --info':

  $ ghc --info | grep SMP
   ,("Support SMP","NO")

You can then use this information in your debian/rules file to pass the
correct build arguments. As an example, see [1].

[1] https://salsa.debian.org/haskell-team/DHG_packages/-/blob/a470cb972e12ca5b1c2f1d776e642e913ce9edf6/p/haskell-safe-exceptions/debian/rules

Hope the above helps,

Thanks a lot

Fred


Reply to: