File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11context :
22 # XXX: keep up to date
33 version : " 3.15"
4- minor_version : " 3.15"
54
65package :
76 name : python
1716 script :
1817 file : ../build.sh
1918 env :
20- MINOR_VERSION : ${{ minor_version }}
21- PYTHON_ASAN : " 1"
19+ PYTHON_VARIANT : " asan"
2220
2321# XXX: maybe not all requirements necessary
2422# derived from https://github.com/conda-forge/python-feedstock/blob/main/recipe/meta.yaml
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- if [[ " ${PYTHON_ASAN } " == 1 ]]; then
3+ if [[ " ${PYTHON_VARIANT } " == " asan " ]]; then
44 echo " BUILD TYPE: ASAN"
55 BUILD_DIR=" ../build_asan"
66 CONFIGURE_EXTRA=" --with-address-sanitizer"
7- export ASAN_OPTIONS=" detect_leaks=0:symbolize=1:strict_init_order=true:allocator_may_return_null=1:use_sigaltstack=0"
7+ export PYTHON_ASAN=" 1"
8+ export ASAN_OPTIONS=" strict_init_order=true"
89else
910 echo " BUILD TYPE: DEFAULT"
1011 BUILD_DIR=" ../build"
2829touch configure-done
2930
3031make -j" ${CPU_COUNT} " install
31- ln -sf " ${PREFIX} /bin/python ${MINOR_VERSION} " " ${PREFIX} /bin/python"
32+ ln -sf " ${PREFIX} /bin/python3 " " ${PREFIX} /bin/python"
3233
3334# https://github.com/prefix-dev/rattler-build/issues/2012
3435if [[ ${OSTYPE} == " darwin" * ]]; then
Original file line number Diff line number Diff line change 11context :
22 # XXX: keep up to date
33 version : " 3.15"
4- minor_version : " 3.15"
54
65package :
76 name : python
1615 - " *.o"
1716 script :
1817 file : ../build.sh
19- env :
20- MINOR_VERSION : ${{ minor_version }}
2118
2219# XXX: maybe not all requirements necessary
2320# derived from https://github.com/conda-forge/python-feedstock/blob/main/recipe/meta.yaml
You can’t perform that action at this time.
0 commit comments