[Git][ghc/ghc][wip/req_smp] fixup: forgot to remove calls to returncode
doyougnu (@doyougnu)
gitlab at gitlab.haskell.org
Tue Dec 27 12:15:59 UTC 2022
doyougnu pushed to branch wip/req_smp at Glasgow Haskell Compiler / GHC
Commits:
54b0a064 by doyougnu at 2022-12-27T07:15:40-05:00
fixup: forgot to remove calls to returncode
- - - - -
1 changed file:
- testsuite/config/ghc
Changes:
=====================================
testsuite/config/ghc
=====================================
@@ -245,14 +245,14 @@ def get_compiler_info():
return res
def compiler_supports_way(flags):
- return test_compile(flags).returncode == 0
+ return test_compile(flags)
# Test the Host RTS to determine if it supports SMP. For cross compilers the
# Host /= Target, so we cannot determine from the ghcconfig file if the host
# itself supports smp. To support smp the host must be linked with an RTS
# built with 'defined(THREADED_RTS) && !defined(NO_SMP)'. Thus we directly
# query the RTS the host is linked with.
- config.host_with_smp = test_compile(["+RTS", "-N"]).returncode == 0
+ config.host_with_smp = test_compile(["+RTS", "-N"])
config.have_vanilla = compiler_supports_way([])
config.have_dynamic = compiler_supports_way(['-dynamic'])
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/54b0a0647bb5be783c21c5185a9bf58db4545106
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/54b0a0647bb5be783c21c5185a9bf58db4545106
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20221227/97569cec/attachment-0001.html>
More information about the ghc-commits
mailing list