[Git][ghc/ghc][wip/T23726] configure: Derive library version from ghc-prim.cabal.in

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Tue Jul 25 16:15:59 UTC 2023



Ben Gamari pushed to branch wip/T23726 at Glasgow Haskell Compiler / GHC


Commits:
fc952a27 by Ben Gamari at 2023-07-25T12:15:54-04:00
configure: Derive library version from ghc-prim.cabal.in

Since ghc-prim.cabal is now generated by Hadrian, we cannot depend upon
it.

Closes #23726.

- - - - -


1 changed file:

- configure.ac


Changes:

=====================================
configure.ac
=====================================
@@ -1139,11 +1139,11 @@ dnl The packages below should include all packages needed by
 dnl doc/users_guide/ghc_config.py.in.
 LIBRARY_VERSION(base)
 LIBRARY_VERSION(Cabal, Cabal/Cabal/Cabal.cabal)
-dnl template-haskell.cabal is generated later
-dnl but the .in file already has the version
+dnl template-haskell.cabal and ghc-prim.cabal are generated later
+dnl by Hadrian but the .in files already have the version
 LIBRARY_VERSION(template-haskell, template-haskell/template-haskell.cabal.in)
 LIBRARY_VERSION(array)
-LIBRARY_VERSION(ghc-prim)
+LIBRARY_VERSION(ghc-prim, ghc-prim/ghc-prim.cabal.in)
 LIBRARY_VERSION(ghc-compact)
 LIBRARY_ghc_VERSION="$ProjectVersion"
 AC_SUBST(LIBRARY_ghc_VERSION)



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/fc952a273a9d81af5f742afc52a9acb58fdcbb57

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/fc952a273a9d81af5f742afc52a9acb58fdcbb57
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/20230725/8fd86352/attachment-0001.html>


More information about the ghc-commits mailing list