diff options
author | Cheng Shao <astrohavoc@gmail.com> | 2022-10-28 16:12:56 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-11-11 00:26:55 -0500 |
commit | 2e6ab4537ff5a2d496de44a0475efb274867317a (patch) | |
tree | b6c424f48d7e498dd76b9839f7c0ab9567aedabe /utils | |
parent | f5dfd1b48f82d08d7346a1988ec08ec3544c940c (diff) | |
download | haskell-2e6ab4537ff5a2d496de44a0475efb274867317a.tar.gz |
hadrian: add targetSupportsThreadedRts flag
This patch adds a targetSupportsThreadedRts flag to indicate whether
the target supports the threaded rts at all, different from existing
targetSupportsSMP that checks whether -N is supported by the RTS. All
existing flavours have also been updated accordingly to respect this
flags.
Some targets (e.g. wasm32-wasi) does not support the threaded rts,
therefore this flag is needed for the default flavours to work. It
makes more sense to have proper autoconf logic to check for threading
support, but for the time being, we just set the flag to False iff the
target is wasm32.
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions