File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ set -ex
44# Get an updated config.sub and config.guess
55cp $BUILD_PREFIX /share/libtool/build-aux/config.* .
66
7- if [[ ! -d ${BUILD_PREFIX } /python-bin ]]; then
7+ if [[ ! -d ${SRC_DIR } /python-bin ]]; then
88 # Need an up-to-date python to build python.
99 # python 3.10 in miniforge is too old.
10- CONDA_SUBDIR=$build_platform conda create -p ${BUILD_PREFIX } /python-bin python -c conda-forge --yes --quiet
11- export PATH=${BUILD_PREFIX } /python-bin/bin:${PATH}
10+ CONDA_SUBDIR=$build_platform conda create -p ${SRC_DIR } /python-bin python -c conda-forge --yes --quiet
11+ export PATH=${SRC_DIR } /python-bin/bin:${PATH}
1212fi
1313
1414# The LTO/PGO information was sourced from @pitrou and the Debian rules file in:
Original file line number Diff line number Diff line change 44{% set ver2 = '.'.join(version.split('.')[0:2]) %}
55{% set ver2nd = ''.join(version.split('.')[0:2]) %}
66{% set ver3nd = ''.join(version.split('.')[0:3]) %}
7- {% set build_number = 0 %}
7+ {% set build_number = 1 %}
88
99# this makes the linter happy
1010{% set channel_targets = channel_targets or 'conda-forge main' %}
You can’t perform that action at this time.
0 commit comments