diff --git a/deca.hsfiles b/deca.hsfiles index e704009..2425b06 100644 --- a/deca.hsfiles +++ b/deca.hsfiles @@ -827,6 +827,14 @@ common common-options -- remain strict. -fno-unbox-small-strict-fields -fno-unbox-strict-fields + + -- GHC floats shared local bindings to the top level, where Clash turns + -- every use into a separate component instance. See: + -- + -- https://github.com/clash-lang/clash-compiler/issues/3515 + -- + -- This flag disables that. + -fno-local-float-out-top-level build-depends: base, Cabal, diff --git a/orangecrab.hsfiles b/orangecrab.hsfiles index 873a659..1a0a963 100644 --- a/orangecrab.hsfiles +++ b/orangecrab.hsfiles @@ -880,6 +880,14 @@ common common-options -- remain strict. -fno-unbox-small-strict-fields -fno-unbox-strict-fields + + -- GHC floats shared local bindings to the top level, where Clash turns + -- every use into a separate component instance. See: + -- + -- https://github.com/clash-lang/clash-compiler/issues/3515 + -- + -- This flag disables that. + -fno-local-float-out-top-level build-depends: base, Cabal, diff --git a/projects-nix/simple-nix/simple-nix.cabal b/projects-nix/simple-nix/simple-nix.cabal index 55086c1..ad648cb 100644 --- a/projects-nix/simple-nix/simple-nix.cabal +++ b/projects-nix/simple-nix/simple-nix.cabal @@ -70,6 +70,14 @@ common common-options -- remain strict. -fno-unbox-small-strict-fields -fno-unbox-strict-fields + + -- GHC floats shared local bindings to the top level, where Clash turns + -- every use into a separate component instance. See: + -- + -- https://github.com/clash-lang/clash-compiler/issues/3515 + -- + -- This flag disables that. + -fno-local-float-out-top-level build-depends: base, Cabal, diff --git a/projects/deca/{{name}}.cabal b/projects/deca/{{name}}.cabal index 4a45330..d45478b 100644 --- a/projects/deca/{{name}}.cabal +++ b/projects/deca/{{name}}.cabal @@ -67,6 +67,14 @@ common common-options -- remain strict. -fno-unbox-small-strict-fields -fno-unbox-strict-fields + + -- GHC floats shared local bindings to the top level, where Clash turns + -- every use into a separate component instance. See: + -- + -- https://github.com/clash-lang/clash-compiler/issues/3515 + -- + -- This flag disables that. + -fno-local-float-out-top-level build-depends: base, Cabal, diff --git a/projects/orangecrab/{{name}}.cabal b/projects/orangecrab/{{name}}.cabal index b268178..cbdbae3 100644 --- a/projects/orangecrab/{{name}}.cabal +++ b/projects/orangecrab/{{name}}.cabal @@ -70,6 +70,14 @@ common common-options -- remain strict. -fno-unbox-small-strict-fields -fno-unbox-strict-fields + + -- GHC floats shared local bindings to the top level, where Clash turns + -- every use into a separate component instance. See: + -- + -- https://github.com/clash-lang/clash-compiler/issues/3515 + -- + -- This flag disables that. + -fno-local-float-out-top-level build-depends: base, Cabal, diff --git a/projects/simple/{{name}}.cabal b/projects/simple/{{name}}.cabal index 8ff65db..5c20580 100644 --- a/projects/simple/{{name}}.cabal +++ b/projects/simple/{{name}}.cabal @@ -70,6 +70,14 @@ common common-options -- remain strict. -fno-unbox-small-strict-fields -fno-unbox-strict-fields + + -- GHC floats shared local bindings to the top level, where Clash turns + -- every use into a separate component instance. See: + -- + -- https://github.com/clash-lang/clash-compiler/issues/3515 + -- + -- This flag disables that. + -fno-local-float-out-top-level build-depends: base, Cabal, diff --git a/simple.hsfiles b/simple.hsfiles index dd5a96f..04ac787 100644 --- a/simple.hsfiles +++ b/simple.hsfiles @@ -644,6 +644,14 @@ common common-options -- remain strict. -fno-unbox-small-strict-fields -fno-unbox-strict-fields + + -- GHC floats shared local bindings to the top level, where Clash turns + -- every use into a separate component instance. See: + -- + -- https://github.com/clash-lang/clash-compiler/issues/3515 + -- + -- This flag disables that. + -fno-local-float-out-top-level build-depends: base, Cabal,