[Git][ghc/ghc][master] RTS: make Cabal flags manual

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Mon Dec 9 21:28:55 UTC 2024



Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
158261f7 by Sylvain Henry at 2024-12-09T16:27:01-05:00
RTS: make Cabal flags manual

Cabal shouldn't automatically try to set them. We set them explicitly.

- - - - -


1 changed file:

- rts/rts.cabal


Changes:

=====================================
rts/rts.cabal
=====================================
@@ -30,38 +30,55 @@ source-repository head
 
 flag libm
   default: False
+  manual: True
 flag librt
   default: False
+  manual: True
 flag libdl
   default: False
+  manual: True
 flag use-system-libffi
   default: False
+  manual: True
 flag libffi-adjustors
   default: False
+  manual: True
 flag need-pthread
   default: False
+  manual: True
 flag libbfd
   default: False
+  manual: True
 flag need-atomic
   default: False
+  manual: True
 flag libdw
   default: False
+  manual: True
 flag libnuma
   default: False
+  manual: True
 flag libzstd
   default: False
+  manual: True
 flag static-libzstd
   default: False
+  manual: True
 flag leading-underscore
   default: False
+  manual: True
 flag unregisterised
   default: False
+  manual: True
 flag tables-next-to-code
   default: False
+  manual: True
 flag smp
   default: True
+  manual: True
 flag find-ptr
   default: False
+  manual: True
 -- Some cabal flags used to control the flavours we want to produce
 -- for libHSrts in hadrian. By default, we just produce vanilla and
 -- threaded. The flags "compose": if you enable debug and profiling,
@@ -69,18 +86,23 @@ flag find-ptr
 -- _thr_debug_p and so on.
 flag profiling
   default: False
+  manual: True
 flag debug
   default: False
+  manual: True
 flag dynamic
   default: False
+  manual: True
 flag threaded
   default: False
+  manual: True
 flag thread-sanitizer
   description:
     Enable checking for data races using the ThreadSanitizer (TSAN)
     mechanism supported by GCC and Clang. See Note [ThreadSanitizer]
     in @rts/include/rts/TSANUtils.h at .
   default: False
+  manual: True
 
 library
     -- rts is a wired in package and



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/158261f72fbc97f072046eb6b64f2856639c7264

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/158261f72fbc97f072046eb6b64f2856639c7264
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/20241209/7f46b82d/attachment-0001.html>


More information about the ghc-commits mailing list