packages feed

ghc-lib-parser 9.10.1.20240511 → 9.10.1.20241103

raw patch · 5 files changed

+15/−14 lines, 5 filesdep ~deepseqPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: deepseq

API changes (from Hackage documentation)

Files

compiler/GHC/Unit/Types.hs view
@@ -104,7 +104,7 @@ import GHC.Utils.Misc import GHC.Settings.Config (cProjectUnitId) -import Control.DeepSeq+import Control.DeepSeq (NFData(..)) import Data.Data import Data.List (sortBy ) import Data.Function
compiler/cbits/keepCAFsForGHCi.c view
@@ -1,7 +1,7 @@ #include <Rts.h> #include <ghcversion.h> -// Note [keepCAFsForGHCi]+// Note [ghc_lib_parser_keepCAFsForGHCi] // ~~~~~~~~~~~~~~~~~~~~~~ // This file is only included in the dynamic library. // It contains an __attribute__((constructor)) function (run prior to main())@@ -14,7 +14,7 @@ // an archive and not otherwise referenced the linker would ignore the object. // To avoid this: // * When initializing a GHC session in initGhcMonad we assert keeping cafs has been-//   enabled by calling keepCAFsForGHCi.+//   enabled by calling ghc_lib_parser_keepCAFsForGHCi. // * This causes the GHC module from the ghc package to carry a reference to this object //   file. // * Which in turn ensures the linker doesn't discard this object file, causing@@ -23,9 +23,9 @@   -bool keepCAFsForGHCi(void) __attribute__((constructor));+bool ghc_lib_parser_keepCAFsForGHCi(void) __attribute__((constructor)); -bool keepCAFsForGHCi(void)+bool ghc_lib_parser_keepCAFsForGHCi(void) {     bool was_set = keepCAFs;     setKeepCAFs();
ghc-lib-parser.cabal view
@@ -1,7 +1,7 @@ cabal-version: 3.0 build-type: Simple name: ghc-lib-parser-version: 9.10.1.20240511+version: 9.10.1.20241103 license: BSD-3-Clause license-file: LICENSE category: Development@@ -77,7 +77,7 @@   manual: True   description: Pass -DTHREADED_RTS to the C toolchain library-    default-language:   GHC2021+    default-language: GHC2021     exposed: False     include-dirs:         rts/include@@ -86,7 +86,8 @@         ghc-lib/stage0/compiler/build         compiler         libraries/containers/containers/include-    ghc-options: -fno-safe-haskell+    if impl(ghc >= 8.8.1)+        ghc-options: -fno-safe-haskell     if flag(threaded-rts)         ghc-options: -fobject-code -package=ghc-boot-th -optc-DTHREADED_RTS         cc-options: -DTHREADED_RTS@@ -116,7 +117,7 @@         process >= 1 && < 1.7     if impl(ghc >= 9.10)       build-depends: ghc-internal-    build-tool-depends: alex:alex >= 3.1, happy:happy > 1.20+    build-tool-depends: alex:alex >= 3.1, happy:happy == 1.20.* || >= 2.0.2 && < 2.1     other-extensions:         BangPatterns         CPP
ghc-lib/stage0/compiler/build/GHC/Settings/Config.hs view
@@ -22,7 +22,7 @@ cProjectName          = "The Glorious Glasgow Haskell Compilation System"  cBooterVersion        :: String-cBooterVersion        = "9.6.4"+cBooterVersion        = "9.8.3"  cStage                :: String cStage                = show (1 :: Int)
ghc-lib/stage0/lib/settings view
@@ -1,12 +1,12 @@-[("C compiler command", "/usr/bin/gcc")+[("C compiler command", "/usr/local/opt/ccache/libexec/gcc") ,("C compiler flags", "--target=x86_64-apple-darwin -Qunused-arguments")-,("C++ compiler command", "/usr/bin/g++")+,("C++ compiler command", "/usr/local/opt/ccache/libexec/g++") ,("C++ compiler flags", "--target=x86_64-apple-darwin") ,("C compiler link flags", "--target=x86_64-apple-darwin -Wl,-no_fixup_chains -Wl,-no_warn_duplicate_libraries") ,("C compiler supports -no-pie", "NO")-,("CPP command", "/usr/bin/gcc")+,("CPP command", "/usr/local/opt/ccache/libexec/gcc") ,("CPP flags", "-E")-,("Haskell CPP command", "/usr/bin/gcc")+,("Haskell CPP command", "/usr/local/opt/ccache/libexec/gcc") ,("Haskell CPP flags", "-E -undef -traditional -Wno-invalid-pp-token -Wno-unicode -Wno-trigraphs") ,("ld supports compact unwind", "YES") ,("ld supports filelist", "YES")