Created
April 3, 2024 20:23
-
-
Save gwerbin/658a16130679f9b54574bc367cb4ae94 to your computer and use it in GitHub Desktop.
Optimized builds with Pyenv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install openssl@3 readline tcl-tk | |
export PYENV_CCACHE_DISABLE=1 | |
export PYTHON_CFLAGS='-mcpu=native' | |
export PYTHON_CONFIGURE_OPTS='--enable-optimizations' | |
MAKE_OPTS='-j4' pyenv install -f 3.8 | |
export PYTHON_CONFIGURE_OPTS='--enable-optimizations --with-lto' | |
MAKE_OPTS='-j4' pyenv install -f 3.9 3.10 3.11 3.12 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment