[Git][ghc/ghc][wip/ci-fix-index-state] 2 commits: Update hackage index state

Bryan R (@chreekat) gitlab at gitlab.haskell.org
Thu Oct 5 13:30:35 UTC 2023



Bryan R pushed to branch wip/ci-fix-index-state at Glasgow Haskell Compiler / GHC


Commits:
60df9f21 by Bryan Richter at 2023-10-05T16:29:56+03:00
Update hackage index state

- - - - -
374026cb by Bryan Richter at 2023-10-05T16:30:18+03:00
Ensure hadrian uses CI's hackage index state

- - - - -


2 changed files:

- .gitlab/ci.sh
- hadrian/cabal.project


Changes:

=====================================
.gitlab/ci.sh
=====================================
@@ -7,7 +7,7 @@
 set -Eeuo pipefail
 
 # Configuration:
-HACKAGE_INDEX_STATE="2020-12-21T14:48:20Z"
+HACKAGE_INDEX_STATE="2023-10-05T11:38:51Z"
 MIN_HAPPY_VERSION="1.20"
 MIN_ALEX_VERSION="3.2.6"
 
@@ -480,6 +480,9 @@ function build_hadrian() {
 
   check_release_build
 
+  # Just to be sure, use the same hackage index state when building Hadrian.
+  echo "index-state: $HACKAGE_INDEX_STATE" > hadrian/cabal.project.local
+
   # We can safely enable parallel compression for x64. By the time
   # hadrian calls tar/xz to produce bindist, there's no other build
   # work taking place.


=====================================
hadrian/cabal.project
=====================================
@@ -3,7 +3,8 @@ packages: ./
           ../libraries/ghc-platform/
 
 -- This essentially freezes the build plan for hadrian
-index-state: 2023-09-18T18:43:12Z
+-- It would be wise to keep this up to date with the state set in ci.sh
+index-state: 2023-10-05T11:38:51Z
 
 -- N.B. Compile with -O0 since this is not a performance-critical executable
 -- and the Cabal takes nearly twice as long to build with -O1. See #16817.



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/7729f619690f0a7f1b8bd2311f21bd4efb1703e8...374026cb916f518066c5acae7b8fe7e2a4b257e9

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/7729f619690f0a7f1b8bd2311f21bd4efb1703e8...374026cb916f518066c5acae7b8fe7e2a4b257e9
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20231005/2978a748/attachment-0001.html>


More information about the ghc-commits mailing list