diff options
| author | Alejandro W. Sior <aho@sior.be> | 2023-02-02 22:41:38 +0100 |
|---|---|---|
| committer | Alejandro W. Sior <aho@sior.be> | 2023-02-02 22:41:38 +0100 |
| commit | 80df8a7bc61c9077aee14a4a0a4a50d7396d0984 (patch) | |
| tree | 344b925f86b746d9dde711aedd10d27427beba30 /python3/build | |
| parent | a7fa192a1bd8b8bd32bc416eb42c04c53a791296 (diff) | |
python3: new package at version 3.11.1
Diffstat (limited to 'python3/build')
| -rw-r--r-- | python3/build | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/python3/build b/python3/build new file mode 100644 index 0000000..fa8baf9 --- /dev/null +++ b/python3/build @@ -0,0 +1,24 @@ +#!/bin/sh -e + +# FIXME: make curses and sqlite work +cat >> Modules/Setup <<EOF +*disabled* +_curses _curses_panel _sqlite3 +EOF + +for patch in *.patch; do + patch -p1 < $patch +done + +export CFLAGS="$CFLAGS -fno-semantic-interposition" +export LDFLAGS="$LDFLAGS -fno-semantic-interposition" + +./configure \ + --prefix=/usr \ + --enable-shared \ + --with-ensurepip=yes \ + --with-openssl=/usr/openssl/1.1 \ + --without-doc-strings + +gmake EXTRA_CFLAGS="$CFLAGS -DTHREAD_STACK_SIZE=0x100000" +gmake DESTDIR=$1 install |
