From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8CA5115815E for ; Fri, 2 Feb 2024 23:06:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E39CE2A07; Fri, 2 Feb 2024 23:06:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ECD89E2A07 for ; Fri, 2 Feb 2024 23:06:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AF20C343159 for ; Fri, 2 Feb 2024 23:06:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DEDB9358 for ; Fri, 2 Feb 2024 23:06:29 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1706915187.8476661324dc5004b4bdd12c77d06a87b13b91ee.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild X-VCS-Directories: dev-dotnet/dotnet-sdk/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 8476661324dc5004b4bdd12c77d06a87b13b91ee X-VCS-Branch: master Date: Fri, 2 Feb 2024 23:06:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: dc79cb5a-93b6-4fc2-9763-9d37813488df X-Archives-Hash: ea1b61734cee44d701442906c987c7f8 commit: 8476661324dc5004b4bdd12c77d06a87b13b91ee Author: Maciej Barć gentoo org> AuthorDate: Fri Feb 2 18:34:44 2024 +0000 Commit: Maciej Barć gentoo org> CommitDate: Fri Feb 2 23:06:27 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84766613 dev-dotnet/dotnet-sdk: log verbosity settings; set maxCpuCount Bug: https://github.com/dotnet/source-build/discussions/4082 Signed-off-by: Maciej Barć gentoo.org> dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild index 7595aa29a8ac..1662f5f5ee6c 100644 --- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild +++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild @@ -1,6 +1,7 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Pre-build (and distribution preparation) # Build the tarball: # git clone --depth 1 -b v8.0.1 https://github.com/dotnet/dotnet dotnet-sdk-8.0.1 # cd dotnet-sdk-8.0.1 @@ -11,6 +12,11 @@ # tar -acf dotnet-sdk-8.0.101-prepared-gentoo-amd64.tar.xz dotnet-sdk-8.0.1 # Upload dotnet-sdk-8.0.101-prepared-gentoo-amd64.tar.xz +# Build ("src_compile") +# To learn about arguments that are passed to the "build.sh" script see: +# https://github.com/dotnet/source-build/discussions/4082 +# User variable: GENTOO_DOTNET_BUILD_VERBOSITY - set other verbosity log level. + EAPI=8 COMMIT=b27976e5a6850466ee5b4ce24f91ee93bef645f7 @@ -20,7 +26,7 @@ RUNTIME_SLOT="${SDK_SLOT}.1" LLVM_MAX_SLOT=17 PYTHON_COMPAT=( python3_{10..12} ) -inherit check-reqs flag-o-matic llvm python-any-r1 +inherit check-reqs flag-o-matic llvm multiprocessing python-any-r1 DESCRIPTION=".NET is a free, cross-platform, open-source developer platform" HOMEPAGE="https://dotnet.microsoft.com/ @@ -140,12 +146,21 @@ src_compile() { # The "source_repository" should always be the same. local source_repository="https://github.com/dotnet/dotnet" + local verbosity="${GENTOO_DOTNET_BUILD_VERBOSITY:-minimal}" ebegin "Building the .NET SDK ${SDK_SLOT}" local -a buildopts=( --clean-while-building --source-repository "${source_repository}" --source-version "${COMMIT}" + + -- + -maxCpuCount:"$(makeopts_jobs)" + -verbosity:"${verbosity}" + -p:ContinueOnPrebuiltBaselineError=true + -p:LogVerbosity="${verbosity}" + -p:MinimalConsoleLogOutput=false + -p:verbosity="${verbosity}" ) bash ./build.sh "${buildopts[@]}" eend ${?} || die "build failed"