[Git][ghc/ghc][wip/jeltsch/ghc-9-14-building-base] Make relative directories absolute
Wolfgang Jeltsch pushed to branch wip/jeltsch/ghc-9-14-building-base at Glasgow Haskell Compiler / GHC Commits: 256ec94c by Wolfgang Jeltsch at 2026-08-07T22:26:26+03:00 Make relative directories absolute - - - - - 1 changed file: - .gitlab/base-ci.sh Changes: ===================================== .gitlab/base-ci.sh ===================================== @@ -27,6 +27,9 @@ mkdir other-ghcs mkdir other-ghcs/src mkdir other-ghcs/opt +# Save project root +project_root=$PWD + # Create Cabal file for `base` ( cd libraries/base @@ -46,15 +49,16 @@ do >${ghc_version}.tar.xz tar -xJf ${ghc_version}.tar.xz cd ghc-${ghc_version}-* - ./configure --prefix "../../opt/${ghc_version}" + ./configure --prefix "${project_root}/opt/${ghc_version}" make install ) # Build `base` with the installed GHC ( cd libraries/base - cabal build --with-compiler ../../other-ghcs/opt/${ghc_version}/bin/ghc \ - --allow-boot-library-installs \ - -O0 + cabal build + --with-compiler "${project_root}/other-ghcs/opt/${ghc_version}/bin/ghc" \ + --allow-boot-library-installs \ + -O0 ) done View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/256ec94c2189177bcab6d1475aacb0a5... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/256ec94c2189177bcab6d1475aacb0a5... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help
participants (1)
-
Wolfgang Jeltsch (@jeltsch)