From nobody Sun Jun 23 18:38:50 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W6fxk2kjfz5NlYj; Sun, 23 Jun 2024 18:38:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W6fxk1gtSz4CTJ; Sun, 23 Jun 2024 18:38:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719167930; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VtaUssnMMegl6u0Ofnh1CqSikvEYO6+NZKPEH/D9kHs=; b=sF/v+blbi6viPbT5YWJafAHRfWBLjIv7IQM2ulb7eIoD9UxXH+wr6C3pc321p5tcIGr4RC O8OHjCSPiNTVe4c0m6K27+HZtagv0t/KBYKZZxkpxahEJXvJy7ZfgdnfJ+XDO5lCgnHsOG 6LX6yxMcfQbEFlYkJ1y5tYOEj8Q1/QSJ24/opveBqlIiB1pMQZhbWyLEyLbPYL6EM23C0B ejua5H8TOIW6Al6DaBVKU5EZ0cZcNcZqekgsf40PFFoLnAPTMe/n4mx5zlkrmgNFlJsKlH JZNA2jPzBQ+nZkDoqH7x5YCi0SWwDUe4QvbMHOTT/5f8drky3Es8hR4vIRttkA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719167930; a=rsa-sha256; cv=none; b=DyqSI8sWmoqYRU1BoDyq+SPnT8GKXejjKgXjAvEhDTrq0sdQ5VmS1sPgZ7RW1VtDkt4/MN 6sDTseWgPYqcNP0lyVDuGTlI1yZsxC/s0vCea3cFHgXwzw4XJ81BnTqqxygEdi7b6hrfG6 EestL7Tup601zBvfhaA/fKvCCta209FGLs1299yhVTE3INb5PC0meJd0hdIcTFHcWhBceE xylsN8/G58hZKyfU+q1jAvGfV8/jIyMcxK2Lz/Qg4RYMnYvWMeb0hUpguEQ2thzzino3p2 w90FJg863JHfaefm0fQepVT9khCDAiizR1/yoX9KFYlMAUcEcZyOlUfPRP1krw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719167930; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VtaUssnMMegl6u0Ofnh1CqSikvEYO6+NZKPEH/D9kHs=; b=dwVzy56xX9rE6Txmm0R3ST5U5imZSWnSe4RUtcAH0W5Cgyxc28odE8d9Rx5OBemyrMqWtf KQTMJiGnX4PAt4hWJPZMvlpp5VuyAiuyWzaaUTJKan1m7Y5zNynbp4uKxJU5tfxi1s6ZqW HrxVNLAGnsVGTBxOTAcFoyP/9yROKtI1Lb98HgFqMtnnnjSoXj6JHmtUtqxtUKMsDJKMJh +LvNgY5fOkbiIK/bFPHIMce+4Qh6OlC0XELxOzLaloehJQxxgnB6JiC5PSs/6Yrd9geepr /6J/zZhOplBTNxhx6XV5EdGZMe1cG+pIqHgXPxYZllV/XuQhFPN87vL3qXEisA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4W6fxk1Hh2zm3n; Sun, 23 Jun 2024 18:38:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45NIcovE044589; Sun, 23 Jun 2024 18:38:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45NIcoh0044586; Sun, 23 Jun 2024 18:38:50 GMT (envelope-from git) Date: Sun, 23 Jun 2024 18:38:50 GMT Message-Id: <202406231838.45NIcoh0044586@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: a7cf5f2a3a2c - main - lang/python311: Improve build times List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a7cf5f2a3a2c8adb21d4cdb5a8ed6dd48a636b5d Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=a7cf5f2a3a2c8adb21d4cdb5a8ed6dd48a636b5d commit a7cf5f2a3a2c8adb21d4cdb5a8ed6dd48a636b5d Author: Daniel Engberg AuthorDate: 2024-06-23 17:48:15 +0000 Commit: Daniel Engberg CommitDate: 2024-06-23 18:19:18 +0000 lang/python311: Improve build times Don't generate debug symbols by default, we discard these anyway and on my Tigerlake laptop it reduces build time roughly by 25% with LTO enabled Switch from -flto=thin to (fat)lto, there's no parallization so it's actually slower and produces slightly larger binaries PR: 279585 Approved by: portmgr (maintainer timeout, 2+ weeks) --- lang/python311/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/python311/Makefile b/lang/python311/Makefile index f2b04ef29cc9..c996da90018c 100644 --- a/lang/python311/Makefile +++ b/lang/python311/Makefile @@ -28,7 +28,7 @@ SHEBANG_FILES+= Lib/test/ziptestdata/exe_with_z64 \ DISABLED_EXTENSIONS= _sqlite3 _tkinter _gdbm CONFIGURE_ARGS+= --enable-shared --without-ensurepip \ --with-system-ffi -CONFIGURE_ENV+= OPT="" # Null out OPT to respect user CFLAGS and remove optimizations +CONFIGURE_ENV+= OPT="" ac_cv_prog_cc_g=false # Null out OPT to respect user CFLAGS and remove optimizations INSTALL_TARGET= altinstall # Don't want cloberring of unprefixed files @@ -68,7 +68,7 @@ IPV6_CONFIGURE_ENABLE= ipv6 LIBMPDEC_CONFIGURE_ON= --with-system-libmpdec LIBMPDEC_LIB_DEPENDS= libmpdec.so:math/mpdecimal -LTO_CONFIGURE_ON= --with-lto=thin +LTO_CONFIGURE_ON= --with-lto # Use CPPFLAGS over CFLAGS due to -I ordering, causing elementtree and pyexpat # to break in Python 2.7, or preprocessor complaints in Python >= 3.3