[3.13] reinstate _OPTIMIZED & LTO_CFLAGS for correct flag handling in install_base.sh - #915
Conversation
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( I do have some suggestions for making it better though... For recipe/meta.yaml:
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/33570514128. Examine the logs at this URL for more detail. |
…l_base.sh deleted in 605b74c without noticing remaining use
|
I think this introduced a regression in the Linux 3.13 build. With $ python -c 'import sysconfig; print(sysconfig.get_config_var("CFLAGS"))'
-fno-strict-overflow -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -fno-merge-constants -isystem /opt/conda/envs/test/include -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/python-split_1788361500653/work=/usr/local/src/conda/python-split-3.13.15 -fuse-linker-plugin -ffat-lto-objects -partition=none -fPIC -O2 -fno-merge-constants -isystem /opt/conda/envs/test/include -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/python-split_1788361500653/work=/usr/local/src/conda/python-split-3.13.15 -fuse-linker-plugin -ffat-lto-objects -partition=noneand pip builds of C extensions fail with: Downgrading to It looks like the intent here is to rewrite In EDIT: now I see the same reported in #914 (comment) (on 3.14) as well as #919 and #920. |
Fix-up for #902 (same as #914), because the following code actually requires
_OPTIMIZEDto be setpython-feedstock/recipe/install_base.sh
Lines 40 to 59 in 28c6e49