Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Add a flag "threaded" for building haddock with the threaded RTS #1575

Merged
merged 1 commit into from
Jan 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion haddock.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,18 @@ flag in-ghc-tree
default: False
manual: True

flag threaded
description: Build haddock with the threaded RTS
default: True
manual: True

executable haddock
default-language: Haskell2010
main-is: Main.hs
hs-source-dirs: driver
ghc-options: -funbox-strict-fields -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -O2 -threaded
ghc-options: -funbox-strict-fields -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -O2
if flag(threaded)
ghc-options: -threaded

-- haddock typically only supports a single GHC major version
build-depends:
Expand Down