clash-ghc 1.6.5 → 1.6.6
raw patch · 2 files changed
+27/−4 lines, 2 filesdep ~clash-libdep ~clash-preludePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: clash-lib, clash-prelude
API changes (from Hackage documentation)
Files
- CHANGELOG.md +11/−0
- clash-ghc.cabal +16/−4
CHANGELOG.md view
@@ -1,4 +1,15 @@ # Changelog for the Clash project+## 1.6.6 *Oct 2nd 2023*++* Support Aeson 2.2 [#2578](https://github.com/clash-lang/clash-compiler/pull/2578)+* Drop the snap package [#2439](https://github.com/clash-lang/clash-compiler/pull/2439)++ The Clash snap package has not been a recommended way to use Clash for quite some time, and it is a hassle to support.++ In order to build a snap package, we build .deb packages for Clash with Ubuntu 20.04 LTS. But the interaction between the Debian build system and GHC is problematic, requiring significant effort to support and to upgrade to a more recent Ubuntu release.++ Additionally, snap packages have their own issues on distributions other than Ubuntu. Given that we no longer recommend people use our snap package and given the effort required to keep supporting them, we have decided to drop the snap package.+ ## 1.6.5 *Jun 27th 2023* Fixed:
clash-ghc.cabal view
@@ -1,6 +1,6 @@ Cabal-version: 2.2 Name: clash-ghc-Version: 1.6.5+Version: 1.6.6 Synopsis: Clash: a functional hardware description language - GHC frontend Description: Clash is a functional hardware description language that borrows both its@@ -65,12 +65,24 @@ default: False manual: True +flag workaround-ghc-mmap-crash+ description:+ Only use this flag when hit by GHC bug #19421. See clash-compiler PR #2444.+ default: False+ manual: True+ executable clash Main-Is: src-ghc/Batch.hs Build-Depends: base, clash-ghc- GHC-Options: -Wall -Wcompat -threaded -rtsopts -with-rtsopts=-A128m+ GHC-Options: -Wall -Wcompat -threaded -rtsopts if flag(dynamic) GHC-Options: -dynamic+ -- Note that multiple -with-rtsopts are not cumulative, so we can't add the+ -- common RTS options in the unconditional GHC-Options+ if flag(workaround-ghc-mmap-crash)+ GHC-Options: "-with-rtsopts=-A128m -xm20000000"+ else+ GHC-Options: -with-rtsopts=-A128m extra-libraries: pthread default-language: Haskell2010 @@ -148,8 +160,8 @@ transformers >= 0.5.2.0 && < 0.7, unordered-containers >= 0.2.1.0 && < 0.3, - clash-lib == 1.6.5,- clash-prelude == 1.6.5,+ clash-lib == 1.6.6,+ clash-prelude == 1.6.6, concurrent-supply >= 0.1.7 && < 0.2, ghc-typelits-extra >= 0.3.2 && < 0.5, ghc-typelits-knownnat >= 0.6 && < 0.8,