diff --git a/deca.hsfiles b/deca.hsfiles index f388c39..d03718c 100644 --- a/deca.hsfiles +++ b/deca.hsfiles @@ -848,6 +848,9 @@ executable clash main-is: bin/Clash.hs default-language: Haskell2010 Build-Depends: base, clash-ghc, {{name}} + -- Use the RTS options that upstream clash uses for better performance: + -- https://github.com/clash-lang/clash-compiler/blob/daef4893dee4910ab4eced0c141a39d40d88996a/changelog/2026-05-06T15_20_00%2B02_00_ghc_style_rts_defaults + ghc-options: "-with-rtsopts=-K512M -H -I5 -T" if !os(Windows) ghc-options: -dynamic @@ -855,6 +858,7 @@ executable clash executable clashi main-is: bin/Clashi.hs default-language: Haskell2010 + ghc-options: "-with-rtsopts=-K512M -H -I5 -T" if !os(Windows) ghc-options: -dynamic build-depends: base, clash-ghc, {{name}} diff --git a/orangecrab.hsfiles b/orangecrab.hsfiles index 7d1a21a..9a4cbe3 100644 --- a/orangecrab.hsfiles +++ b/orangecrab.hsfiles @@ -904,6 +904,9 @@ executable clash main-is: bin/Clash.hs default-language: Haskell2010 Build-Depends: base, clash-ghc, {{name}} + -- Use the RTS options that upstream clash uses for better performance: + -- https://github.com/clash-lang/clash-compiler/blob/daef4893dee4910ab4eced0c141a39d40d88996a/changelog/2026-05-06T15_20_00%2B02_00_ghc_style_rts_defaults + ghc-options: "-with-rtsopts=-K512M -H -I5 -T" if !os(Windows) ghc-options: -dynamic @@ -911,6 +914,7 @@ executable clash executable clashi main-is: bin/Clashi.hs default-language: Haskell2010 + ghc-options: "-with-rtsopts=-K512M -H -I5 -T" if !os(Windows) ghc-options: -dynamic build-depends: base, clash-ghc, {{name}} diff --git a/projects-nix/simple-nix/simple-nix.cabal b/projects-nix/simple-nix/simple-nix.cabal index bd2e887..5f1025e 100644 --- a/projects-nix/simple-nix/simple-nix.cabal +++ b/projects-nix/simple-nix/simple-nix.cabal @@ -92,12 +92,16 @@ library executable clash main-is: bin/Clash.hs default-language: Haskell2010 + -- Use the RTS options that upstream clash uses for better performance: + -- https://github.com/clash-lang/clash-compiler/blob/daef4893dee4910ab4eced0c141a39d40d88996a/changelog/2026-05-06T15_20_00%2B02_00_ghc_style_rts_defaults + ghc-options: "-with-rtsopts=-K512M -H -I5 -T" Build-Depends: base, clash-ghc, simple-nix -- Builds the executable 'clashi', with simple-nix project in scope executable clashi main-is: bin/Clashi.hs default-language: Haskell2010 + ghc-options: "-with-rtsopts=-K512M -H -I5 -T" build-depends: base, clash-ghc, simple-nix test-suite doctests diff --git a/projects/deca/{{name}}.cabal b/projects/deca/{{name}}.cabal index fb49d6b..1da368b 100644 --- a/projects/deca/{{name}}.cabal +++ b/projects/deca/{{name}}.cabal @@ -89,6 +89,9 @@ executable clash main-is: bin/Clash.hs default-language: Haskell2010 Build-Depends: base, clash-ghc, {{name}} + -- Use the RTS options that upstream clash uses for better performance: + -- https://github.com/clash-lang/clash-compiler/blob/daef4893dee4910ab4eced0c141a39d40d88996a/changelog/2026-05-06T15_20_00%2B02_00_ghc_style_rts_defaults + ghc-options: "-with-rtsopts=-K512M -H -I5 -T" if !os(Windows) ghc-options: -dynamic @@ -96,6 +99,7 @@ executable clash executable clashi main-is: bin/Clashi.hs default-language: Haskell2010 + ghc-options: "-with-rtsopts=-K512M -H -I5 -T" if !os(Windows) ghc-options: -dynamic build-depends: base, clash-ghc, {{name}} diff --git a/projects/orangecrab/{{name}}.cabal b/projects/orangecrab/{{name}}.cabal index ed33434..7a431a8 100644 --- a/projects/orangecrab/{{name}}.cabal +++ b/projects/orangecrab/{{name}}.cabal @@ -95,6 +95,9 @@ executable clash main-is: bin/Clash.hs default-language: Haskell2010 Build-Depends: base, clash-ghc, {{name}} + -- Use the RTS options that upstream clash uses for better performance: + -- https://github.com/clash-lang/clash-compiler/blob/daef4893dee4910ab4eced0c141a39d40d88996a/changelog/2026-05-06T15_20_00%2B02_00_ghc_style_rts_defaults + ghc-options: "-with-rtsopts=-K512M -H -I5 -T" if !os(Windows) ghc-options: -dynamic @@ -102,6 +105,7 @@ executable clash executable clashi main-is: bin/Clashi.hs default-language: Haskell2010 + ghc-options: "-with-rtsopts=-K512M -H -I5 -T" if !os(Windows) ghc-options: -dynamic build-depends: base, clash-ghc, {{name}} diff --git a/projects/simple/{{name}}.cabal b/projects/simple/{{name}}.cabal index 05515ce..10fa014 100644 --- a/projects/simple/{{name}}.cabal +++ b/projects/simple/{{name}}.cabal @@ -93,6 +93,9 @@ executable clash main-is: bin/Clash.hs default-language: Haskell2010 Build-Depends: base, clash-ghc, {{name}} + -- Use the RTS options that upstream clash uses for better performance: + -- https://github.com/clash-lang/clash-compiler/blob/daef4893dee4910ab4eced0c141a39d40d88996a/changelog/2026-05-06T15_20_00%2B02_00_ghc_style_rts_defaults + ghc-options: "-with-rtsopts=-K512M -H -I5 -T" if !os(Windows) ghc-options: -dynamic @@ -100,6 +103,7 @@ executable clash executable clashi main-is: bin/Clashi.hs default-language: Haskell2010 + ghc-options: "-with-rtsopts=-K512M -H -I5 -T" if !os(Windows) ghc-options: -dynamic build-depends: base, clash-ghc, {{name}} diff --git a/simple.hsfiles b/simple.hsfiles index f043b8f..3cbdc2a 100644 --- a/simple.hsfiles +++ b/simple.hsfiles @@ -666,6 +666,9 @@ executable clash main-is: bin/Clash.hs default-language: Haskell2010 Build-Depends: base, clash-ghc, {{name}} + -- Use the RTS options that upstream clash uses for better performance: + -- https://github.com/clash-lang/clash-compiler/blob/daef4893dee4910ab4eced0c141a39d40d88996a/changelog/2026-05-06T15_20_00%2B02_00_ghc_style_rts_defaults + ghc-options: "-with-rtsopts=-K512M -H -I5 -T" if !os(Windows) ghc-options: -dynamic @@ -673,6 +676,7 @@ executable clash executable clashi main-is: bin/Clashi.hs default-language: Haskell2010 + ghc-options: "-with-rtsopts=-K512M -H -I5 -T" if !os(Windows) ghc-options: -dynamic build-depends: base, clash-ghc, {{name}}