Skip to content

Commit

Permalink
pip and performance
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Bickmann committed Oct 16, 2024
1 parent f047898 commit 88fcd0d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions base/src/python.ecmp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[info]
name = python
version = 3.12.4
version = 3.12.7
type = src
license = PSF
url = https://www.python.org/ftp/python/$VERSION/Python-$VERSION.tar.xz
sha256 = f6d419a6d8743ab26700801b4908d26d97e8b986e14f95de31b32de2b0e79554
sha256 = 24887b92e2afd4a2ac602419ad4b596372f67ac9b077190f459aba390faf5550

[description]
The Python 3 package contains the Python development environment. It is useful for object-oriented programming, writing scripts, prototyping large programs, and developing entire applications. Python is an interpreted computer language.
Expand All @@ -15,11 +15,14 @@ tar xf $NAME-$VERSION.tar.xz
mv Python-$VERSION python-$VERSION

[install]
# improves pgo
export CFLAGS="${CFLAGS/-O2/-O3} -ffat-lto-objects"
./configure --prefix=/usr \
--enable-shared \
--with-lto \
--with-system-expat \
--enable-optimizations \
--disable-test-modules
--with-ensurepip=install

make
make DESTDIR=$SOVIET_BUILD_DIR install

0 comments on commit 88fcd0d

Please sign in to comment.