export PATH="/usr/lib/llvm-21/bin:$PATH"
export CC=clang
export PYTHON_CONFIGURE_OPTS="--enable-experimental-jit --enable-optimizations --with-lto --with-tail-call-interp --disable-shared --enable-bolt --without-system-libmpdec"
export PYTHON_CFLAGS="-march=native"
export BOLT_APPLY_FLAGS="-update-debug-sections -skip-funcs=_PyEval_EvalFrameDefault,sre_ucs1_match/1,sre_ucs2_match/1,sre_ucs4_match/1 -reorder-blocks=ext-tsp -reorder-functions=cdsort -split-functions -split-eh -reorder-functions-use-hot-size -peepholes=none -jump-tables=aggressive -inline-ap -indirect-call-promotion=all -dyno-stats -use-gnu-stack -frame-opt=hot"
then
pyenv install 3.15.0
Leave a Reply