conda-forge / conda-forge/python-feedstock

Investigate -fno-semantic-interposition build option

Open
#287 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
47
Forks
112
Avg merge
2d 9h
Merged PRs (30d)
18

Description

Fedora 32 has a proposal to build python with with `-fno-semantic-interposition` for better performance (https://fedoraproject.org/wiki/Changes/PythonNoSemanticInterpositionSpeedup),
> We add the -fno-semantic-interposition compiler/linker flag when building Python interpreters, as it provides significant performance improvement, up to 27% depending on the workload. Users will no longer be able to use LD_PRELOAD to override a symbol from libpython, which we consider a good trade off for the speedup.

It would be interesting to investigate whether the same could be done for conda-forge Linux (and possibly MacOS) builds.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.