From nobody Fri Mar 3 16:54:23 2023 X-Original-To: dev-commits-ports-main@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 4PSvFr198Xz3w6Ww; Fri, 3 Mar 2023 16:54:24 +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 4PSvFr0gQ8z3mwB; Fri, 3 Mar 2023 16:54:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677862464; 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=IsZYU1Ssah0bx3uSl3oBMM59vz0LwVi3mDW+5D7LHfI=; b=aAkOCfixKa1xCxCM7FU9t7pbJtsoRDpVV8GvL/zfsNmKLLID+f7lPN+qPQ/WdlKI7AxZES 8udBGpujmY3w5/S1IoJ5N9wUUUGrQ4Ba3JuFLUmFFLheYRvbaMP6yIYZlMxBr3j44ZUKPT +7Oj3rU99MERqByl61+BygFAJUR1wuraIU4ihcfb8aPLM4IcXOMGiepSRnmYFKD3Gy2eTw BiUvSMiRQJhQvZAV8LE1e/EPL8ibQRAtTEtxD1ZSJzGmRTNFWsJCB36mE4mLRBW+yaTzLT yWCY5vvzr/fdYaX8GI49sClx022sDqYLtg8oxL2+Oek43M7wYCg5+pbI8Lvujw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677862464; 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=IsZYU1Ssah0bx3uSl3oBMM59vz0LwVi3mDW+5D7LHfI=; b=BzXLyDvDU6mS98K+HtpU31hpLFeOIXrFIhG0OElvzzblzi+yjeXJ3F341CtDYb98xEjvMr A1klb8T4d+9lXfIdoezimVPYUWRkTrTLTGAwtmmkQzfUfxzOHjtn1m+vGUjYqzpZgmi7RQ ncKhsEkZvGHY3QZiQs0p0BiNCx7/MwQdXUOtkET7k7sazZ0W++QsU29ExuSPDvnerAts5Q gW2V0orqX3SAdvBaZKRnctuJPI2cFvQqKuQp3K3Ya8RqzgdAJ5+Swcp/CSAoPkooVXJ13v Cx0vdz6cwJ+praGHGY0S3lGUnxiEw51vZoRZlb7ErdHGI33mX1okg7UjITZ+UQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677862464; a=rsa-sha256; cv=none; b=T3fY1RpdtlkLbpGHt93VZkBRFXkpCWLhgAdNTdgB1m/u6Fmy7eltvBJLw2kTWvabiYjICm RDnSB+NrmozhHljJXxdGsKgcmxTm1oG5Jd4rkvXfJ0Bz1fOMDwXrfeNwNgFZV6/jQFhn54 nx8J+hRrzWiEPgHD+kJPx0a2RGsrGwwwT2yUzqjoduOfEUjL6R1WuZBEKOjfJshiC9Z0PT 8odiEpaBb+ZC+gKV5iirwqysqrK0HU9VIMLmUoXWstF4UGITSSJ/4r3vMJR3I8hXgANWKp 3EoLDBsN/Kt0CkxWKJFWCVxX6t8Mz9CDgR+gKrh0kxSbs3L8CIMRgieuJvjHDg== 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 4PSvFq6rcZz15VR; Fri, 3 Mar 2023 16:54:23 +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 323GsN4x066164; Fri, 3 Mar 2023 16:54:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 323GsNOk066163; Fri, 3 Mar 2023 16:54:23 GMT (envelope-from git) Date: Fri, 3 Mar 2023 16:54:23 GMT Message-Id: <202303031654.323GsNOk066163@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitri Goutnik Subject: git: 04adf6779b40 - main - Mk/Uses/go.mk: Respect MAKE_JOBS_NUMBER List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dmgk X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 04adf6779b409e1147ba05a5dfd47e7769436b45 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dmgk: URL: https://cgit.FreeBSD.org/ports/commit/?id=04adf6779b409e1147ba05a5dfd47e7769436b45 commit 04adf6779b409e1147ba05a5dfd47e7769436b45 Author: Dmitri Goutnik AuthorDate: 2023-03-03 16:50:26 +0000 Commit: Dmitri Goutnik CommitDate: 2023-03-03 16:53:56 +0000 Mk/Uses/go.mk: Respect MAKE_JOBS_NUMBER Limit GOMAXPROCS to MAKE_JOBS_NUMBER during build. Reported by: fuz --- Mk/Uses/go.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mk/Uses/go.mk b/Mk/Uses/go.mk index 3b5e934776cc..863f375cfdf4 100644 --- a/Mk/Uses/go.mk +++ b/Mk/Uses/go.mk @@ -220,7 +220,7 @@ do-build: pkg=$$(${ECHO_CMD} $${t} | \ ${SED} -Ee 's/^([^:]*).*$$/\1/' -e 's/^${PORTNAME}$$/./'); \ ${ECHO_MSG} "===> Building $${out} from $${pkg}"; \ - ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} build ${GO_BUILDFLAGS} \ + ${SETENV} ${MAKE_ENV} ${GO_ENV} GOMAXPROCS=${MAKE_JOBS_NUMBER} GOPROXY=off ${GO_CMD} build ${GO_BUILDFLAGS} \ -o ${GO_WRKDIR_BIN}/$${out} \ $${pkg}; \ done)