mise
mise copied to clipboard
Q: What params are used to configure python?
Where can I found what Python configure params are used when I run command rtx use -g [email protected]
?
I guess it should be smth like ./configure --enable-optimizations --with-lto etc etc
.
pyenv/plugins/python-build expects it as PYTHON_CONFIGURE_OPTS
It just calls python-build
What should I do to build python with optimizations using rtx? Should I do the following?
-
export PYTHON_CONFIGURE_OPTS="--enable-optimizations --with-lto"
-
rtx uninstall [email protected]
-
rtx use -g [email protected]
yeah but PYTHON_CONFIGURE_OPTS="--enable-optimizations --with-lto" rtx i [email protected] -f
will also do it