File tree Expand file tree Collapse file tree 3 files changed +20
-11
lines changed
Expand file tree Collapse file tree 3 files changed +20
-11
lines changed Original file line number Diff line number Diff line change @@ -28,17 +28,6 @@ for PYBIN in "${PYBINARIES[@]}"; do
2828 VENVS+=(${VENV} )
2929done
3030
31- VENV=" ${VENVS[0]} "
32- PYTHON_EXECUTABLE=${VENV} /bin/python
33- $PYTHON_EXECUTABLE -m pip install --no-cache cmake
34- CMAKE_EXECUTABLE=${VENV} /bin/cmake
35- $PYTHON_EXECUTABLE -m pip install --no-cache ninja
36- NINJA_EXECUTABLE=${VENV} /bin/ninja
37- $PYTHON_EXECUTABLE -m pip install --no-cache delocate
38- DELOCATE_LISTDEPS=${VENV} /bin/delocate-listdeps
39- DELOCATE_WHEEL=${VENV} /bin/delocate-wheel
40-
41-
4231# Since the python interpreter exports its symbol (see [1]), python
4332# modules should not link against any python libraries.
4433# To ensure it is not the case, we configure the project using an empty
Original file line number Diff line number Diff line change 1111script_dir=" ` cd $( dirname $0 ) ; pwd` "
1212source " ${script_dir} /macpython-build-common.sh"
1313
14+ VENV=" ${VENVS[0]} "
15+ PYTHON_EXECUTABLE=${VENV} /bin/python
16+ $PYTHON_EXECUTABLE -m pip install --no-cache cmake
17+ CMAKE_EXECUTABLE=${VENV} /bin/cmake
18+ $PYTHON_EXECUTABLE -m pip install --no-cache ninja
19+ NINJA_EXECUTABLE=${VENV} /bin/ninja
20+ $PYTHON_EXECUTABLE -m pip install --no-cache delocate
21+ DELOCATE_LISTDEPS=${VENV} /bin/delocate-listdeps
22+ DELOCATE_WHEEL=${VENV} /bin/delocate-wheel
23+
1424# Compile wheels re-using standalone project and archive cache
1525for VENV in " ${VENVS[@]} " ; do
1626 py_mm=$( basename ${VENV} )
Original file line number Diff line number Diff line change @@ -26,6 +26,16 @@ for PYBIN in "${PYBINARIES[@]}"; do
2626 VENVS+=(${VENV} )
2727done
2828
29+ VENV=" ${VENVS[0]} "
30+ PYTHON_EXECUTABLE=${VENV} /bin/python
31+ $PYTHON_EXECUTABLE -m pip install --no-cache cmake
32+ CMAKE_EXECUTABLE=${VENV} /bin/cmake
33+ $PYTHON_EXECUTABLE -m pip install --no-cache ninja
34+ NINJA_EXECUTABLE=${VENV} /bin/ninja
35+ $PYTHON_EXECUTABLE -m pip install --no-cache delocate
36+ DELOCATE_LISTDEPS=${VENV} /bin/delocate-listdeps
37+ DELOCATE_WHEEL=${VENV} /bin/delocate-wheel
38+
2939# Build standalone project and populate archive cache
3040mkdir -p standalone-build
3141pushd standalone-build > /dev/null 2>&1
You can’t perform that action at this time.
0 commit comments