ports/opt (3.4): python3: remove PGO
commit 9b03ba22469674e1ce6e3021b49779ed6115f5f4 Author: Danny Rawlins <monster.romster@gmail.com> Date: Sat Nov 10 18:19:33 2018 +1100 python3: remove PGO diff --git a/python3/.signature b/python3/.signature index 83a341c96..60c3a8a5f 100644 --- a/python3/.signature +++ b/python3/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/W6FfP7SWgN2ZoKQxuVRP2O2lE2PJrikcPczAmisd4kI5WobuOU5nHX8FmsfYASRasYHltwwxu3NTaT5MV9ATgc= -SHA256 (Pkgfile) = 0839b25360733f7044003fe59f37b0e36355a31fd653bdadbb1d13d4621552b4 +RWSE3ohX2g5d/f7qpHB4iQNXtIGXJvrH1D98VT1qYRKNXTX8toZNf/O1C4i0ZqBFPaKIT6oAslYzrNwM8zD45OVoAFlvCez8dQ0= +SHA256 (Pkgfile) = 0a3e1fe297985188ed97e0e0021a5bf64c0b4fea1f8d2bf78fafe2d6d21c8f38 SHA256 (.footprint) = 9357c204cf5a561b9da657ff11d4e312c1faff8ac8893ae13fa3bc366b5aeb8b SHA256 (Python-3.6.7.tar.xz) = 81fd1401a9d66533b0a3e9e3f4ea1c7c6702d57d5b90d659f971e6f1b745f77d diff --git a/python3/Pkgfile b/python3/Pkgfile index 0462f1159..34bb5abe8 100644 --- a/python3/Pkgfile +++ b/python3/Pkgfile @@ -17,16 +17,7 @@ build() { rm -r Modules/_ctypes/{darwin,libffi}* rm -r Modules/_decimal/libmpdec - if [ -n "${PKGMK_PGO}" ]; then - # PGO should be done with -O3 - CFLAGS="${CFLAGS/-O2/-O3}" - - # Speed up LTO - sed -i -e "s|-flto |-flto=4 |g" configure configure.ac - PKGMK_PYTHON3='--with-lto --enable-optimizations ' - fi - - ./configure ${PKGMK_PYTHON3} --prefix=/usr \ + ./configure --prefix=/usr \ --enable-shared \ --enable-ipv6 \ --enable-loadable-sqlite-extensions \
participants (1)
-
crux@crux.nu