Skip to content

Commit

Permalink
b3cc patch: remove tracy submodule to not confuse cabal
Browse files Browse the repository at this point in the history
The relevant cabal PR is haskell/cabal#10190 ,
which is not yet included in any released cabal version. It will be in
3.14, presumably.
  • Loading branch information
tomsmeding committed Oct 30, 2024
1 parent 237303a commit 4fd27fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .gitmodules

This file was deleted.

4 changes: 4 additions & 0 deletions Setup.hs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ preConfHook args config_flags = do
debugging = fromMaybe False $ lookupFlagAssignment (mkFlagName "debug") (configConfigurationsFlags config_flags)

when debugging $ do
dieNoVerbosity $ "In this version of Accelerate, debug mode is disabled to \
\prevent problems with cabal on Windows. The problems will\
\be fixed in Cabal 3.14, which is not yet released."

yes <- doesFileExist "cbits/tracy/public/TracyClient.cpp"
if yes
then
Expand Down
1 change: 0 additions & 1 deletion cbits/tracy
Submodule tracy deleted from 821ef6

0 comments on commit 4fd27fd

Please sign in to comment.