2
0

python venv madness round 2: use ensurepip if installed (#308)

When creating a python venv during the install_dependencies script, we try to use ensurepip if it is installed, as it deals better with cases where multiple venvs are active simultaneously. (as seen in CI buildbot)

[ROCm/rocshmem commit: b7a6d86c6b]
Este cometimento está contido em:
Aurelien Bouteiller
2025-11-05 10:52:22 -05:00
cometido por GitHub
ascendente 76e8750d88
cometimento 51cf7c6c05
+1 -1
Ver ficheiro
@@ -72,7 +72,7 @@ git clone --recursive $_OMPI_REPO
cd ompi
git checkout $_OMPI_COMMIT_HASH
git submodule update --init --recursive
python3 -m venv --system-site-packages --without-pip venv
python3 -m ensurepip && python3 -m venv venv || python3 -m venv --system-site-packages --without-pip venv
. venv/bin/activate
python3 -m pip install -r docs/requirements.txt
./autogen.pl