summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorCheng Shao <astrohavoc@gmail.com>2022-10-28 16:12:56 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-11-11 00:26:55 -0500
commit2e6ab4537ff5a2d496de44a0475efb274867317a (patch)
treeb6c424f48d7e498dd76b9839f7c0ab9567aedabe /utils
parentf5dfd1b48f82d08d7346a1988ec08ec3544c940c (diff)
downloadhaskell-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