File tree Expand file tree Collapse file tree 3 files changed +17
-4
lines changed
Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # ----------------- BEGIN LICENSE BLOCK ---------------------------------
4+ #
5+ # Copyright (c) 2025 Intel Corporation
6+ #
7+ # ----------------- END LICENSE BLOCK -----------------------------------
8+ # #
9+
10+ # use virtual environment for our build dependencies
11+ if [ ! -f build/map-build-venv/bin/activate ]; then
12+ python${PYTHON_BINDING_VERSION} -m venv build/map-build-venv
13+ fi
14+ source build/map-build-venv/bin/activate
Original file line number Diff line number Diff line change 6969 run : |
7070 sudo apt-get install ${EXTRA_PACKAGES}
7171 rm -rf log build install
72+ source .github/workflows/activate_python_environment.sh
7273 eval CC=${CC} CXX=${CXX} ${BUILDCMD}
Original file line number Diff line number Diff line change @@ -33,15 +33,13 @@ sudo apt-get install -y --no-install-recommends build-essential castxml cmake sq
3333
3434
3535sudo apt-get install -y --no-install-recommends python${PYTHON_BINDING_VERSION} -dev libpython${PYTHON_BINDING_VERSION} -dev
36- curl -sS https://bootstrap.pypa.io/get-pip.py | sudo python${PYTHON_BINDING_VERSION}
3736
3837if [[ " ${BUILD_DOCU} x" != " x" ]]; then
3938 sudo apt-get install doxygen graphviz lcov
4039fi
4140
4241sudo apt remove python3-pygments
4342
44- # use virtual environment for our build dependencies
45- python${PYTHON_BINDING_VERSION} -m venv build/map-build-venv
46- source build/map-build-venv/bin/activate
43+ source activate_python_environment.sh
44+ curl -sS https://bootstrap.pypa.io/get-pip.py | python${PYTHON_BINDING_VERSION}
4745python${PYTHON_BINDING_VERSION} -m pip install -r .github/workflows/requirements.txt
You can’t perform that action at this time.
0 commit comments