From nobody Sat Jul 16 15:15:13 2022 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 4LlWxZ1THHz4Wmkf; Sat, 16 Jul 2022 15:15:14 +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 4LlWxZ12m7z3b6s; Sat, 16 Jul 2022 15:15:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657984514; 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=XflM6YrEp6+9SZPd08nwfjHph56NQ+C12er/GrFp0Vk=; b=fojLeT6eMaIEpAiAgaTeuIUV0FY+NYMpWq6KuTt+5G7MA6JGA4KVmRxN7MchvlPEganROf iWPhX56bZV5jPSrnUj7genoSP0R44nv4apWLM6+HhwfIdAJA3mC4SNBSbbCIYXIDcV1kbF BnZolbIBckwwkZ84pJLqutOr+O4xsLR9OWerysquNkTbCkNFNYtTmQaS+29phRCHieuX+t 7jbO+ZImPB2QjimN7eXsBoGGB0dotOho9Leu1FjLt9UYR/3+1EaKCqOW/JzftmH2hAiYtm b74JvCXdsNvBfcn8n0sExRCF/iWipIl/dJ1zzFbEjalRP/X8Uqg6ccPjR06/Sw== 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 4LlWxZ05fyzQMZ; Sat, 16 Jul 2022 15:15:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26GFFDSu079712; Sat, 16 Jul 2022 15:15:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26GFFD8i079711; Sat, 16 Jul 2022 15:15:13 GMT (envelope-from git) Date: Sat, 16 Jul 2022 15:15:13 GMT Message-Id: <202207161515.26GFFD8i079711@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= Subject: git: 0aabc02be187 - main - databases/mongodb50: Disable LTO by default. 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0aabc02be18794a56c436233e59379ebaa86c2e0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657984514; 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=XflM6YrEp6+9SZPd08nwfjHph56NQ+C12er/GrFp0Vk=; b=WBuNNcyoK8sA3eqILrTMrp32aUa5Rkm7Dv6JUjf84D8SliKa2IGh0a1uA5734VZEIB+/eD bAH/TPua+L02naWjEepcXj4ZSqLtNIxWkGHQikeVxyUi50EYAOlueZ5iS4AzlgmPJrPIir 8FkaR4zqTJ3pqkz0UvTC2dmxFwgpYoSeJ+Z+jFzywgFEe6BqNLcyW5U41Wi/Jne4O3NrzC CkPZDxgQfYJVNHNEzyT/3ymuQTaYPuXkbf3kI6lvAXp+kdA9z40CE4vMG8gkrJDqMyu2WM yfgdy2Nsgqx42fd3pajYIvL3EsTBkEeTT/oCZCg7PcREj+BDVeauJ0ZAAGr+9A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657984514; a=rsa-sha256; cv=none; b=gAC2twW901r8Fr/OLEtwc2z+H3/LbohqY2c9cApMFmvWiaRlKSV0GGUKM/YQYDfZliAHDo Q4ZAZx37ZVlVlaFwgVV3qtZ1cUXchfNgWqUPFwcSQKC5AIJ6h43W/uNehCJ91Z/exH4wSM dLXL+eGp4fibegUe7R/6js5IiPMBMlOlLOAB0As8qVh2hTMoFztb3HAX0+hnzndjyQfa3x RfJgBNJBKG/SVSZiwaZB63SCy4VK8EYN3aiF/IIW5CLsAljEW3HWelPvvVQjcW0v/YnTHd nJlI6VuqgtbJPtGaKfgrISRnZDNMB5hv8DgqY42v9BPuz+gZeYKSQDsqHHVpMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=0aabc02be18794a56c436233e59379ebaa86c2e0 commit 0aabc02be18794a56c436233e59379ebaa86c2e0 Author: Daniel Engberb AuthorDate: 2022-07-14 14:43:02 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2022-07-16 15:11:58 +0000 databases/mongodb50: Disable LTO by default. Building mongo with LTO enabled takes a ridiculously amount of memory (32GB in amd64). Disable -ggdb so memory requirements don't sky rocket (around 10-12GB) PR: 264340 Reported by: ulassayginim@gmail.com Approved by: ronald-lists@klop.ws (maintainer) --- databases/mongodb50/files/patch-SConstruct | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/databases/mongodb50/files/patch-SConstruct b/databases/mongodb50/files/patch-SConstruct index 8fc64862a51e..fa8b0bb3ca4f 100644 --- a/databases/mongodb50/files/patch-SConstruct +++ b/databases/mongodb50/files/patch-SConstruct @@ -1,6 +1,6 @@ ---- SConstruct.orig 2021-07-15 20:56:31 UTC +--- SConstruct.orig 2022-05-17 13:56:34 UTC +++ SConstruct -@@ -1328,9 +1328,9 @@ if has_option('variables-help'): +@@ -1301,9 +1301,9 @@ if has_option('variables-help'): print(env_vars.GenerateHelpText(env)) Exit(0) @@ -13,7 +13,7 @@ if get_option('install-action') != 'default' and get_option('ninja') != "disabled": env.FatalError("Cannot use non-default install actions when generating Ninja.") -@@ -2507,7 +2507,7 @@ if env.TargetOSIs('posix'): +@@ -2370,13 +2370,13 @@ if env.TargetOSIs('posix'): # If runtime hardening is requested, then build anything # destined for an executable with the necessary flags for PIE. env.AppendUnique( @@ -22,7 +22,14 @@ PROGLINKFLAGS=['-pie'], ) -@@ -2684,8 +2684,12 @@ if not env.TargetOSIs('windows', 'macOS') and (env.Too + # -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used. + env.Append( CCFLAGS=["-fasynchronous-unwind-tables", +- "-ggdb" if not env.TargetOSIs('emscripten') else "-g", ++ # "-ggdb" if not env.TargetOSIs('emscripten') else "-g", + "-Wall", + "-Wsign-compare", + "-Wno-unknown-pragmas", +@@ -2541,8 +2541,12 @@ if not env.TargetOSIs('windows', 'macOS') and (env.Too # setting it for both C and C++ by setting both of CFLAGS and # CXXFLAGS.