[Git][ghc/ghc][wip/ci-docs] try setting pythonpath

Matthew Pickering (@mpickering) gitlab at gitlab.haskell.org
Tue Feb 27 13:17:39 UTC 2024



Matthew Pickering pushed to branch wip/ci-docs at Glasgow Haskell Compiler / GHC


Commits:
ff80b1fe by Matthew Pickering at 2024-02-27T13:17:29+00:00
try setting pythonpath

- - - - -


1 changed file:

- .gitlab/ci.sh


Changes:

=====================================
.gitlab/ci.sh
=====================================
@@ -193,6 +193,8 @@ function set_toolchain_paths() {
       HAPPY="$toolchain/bin/happy$exe"
       ALEX="$toolchain/bin/alex$exe"
       SPHINXBUILD="$toolchain/sphinx/bin/sphinx-build"
+      PYTHONPATH="$toolchain/sphinx:$PYTHONPATH"
+      export PYTHONPATH
       if [ "$(uname)" = "FreeBSD" ]; then
         GHC=/usr/local/bin/ghc
       fi
@@ -355,9 +357,7 @@ function fetch_sphinx() {
         # N.B.
         MSYS_*|MINGW*)
           pip uninstall -y sphinx
-          which pip
           pip install -v --target=$toolchain/sphinx --upgrade "sphinx==$SPHINXBUILD_VERSION"
-          ls $toolchain/sphinx/bin
 #          $PYTHON -m venv $toolchain/.venv-sphinx
 #          $toolchain/.venv-sphinx/bin/pip uninstall -y sphinx
 #          cat $toolchain/.venv-sphinx/bin/pip



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/ff80b1fe6919e50cf23dae03860c3ea86504961b
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/20240227/84744419/attachment-0001.html>


More information about the ghc-commits mailing list