public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
Date: Fri,  2 Feb 2024 23:06:29 +0000 (UTC)	[thread overview]
Message-ID: <1706915187.8476661324dc5004b4bdd12c77d06a87b13b91ee.xgqt@gentoo> (raw)

commit:     8476661324dc5004b4bdd12c77d06a87b13b91ee
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  2 18:34:44 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> 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ć <xgqt <AT> 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"


             reply	other threads:[~2024-02-02 23:06 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-02 23:06 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-22 17:34 [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/ Arthur Zamarin
2025-01-14 17:07 Maciej Barć
2024-12-31  1:18 Maciej Barć
2024-12-16 23:26 Maciej Barć
2024-12-10  1:33 Maciej Barć
2024-12-10  1:33 Maciej Barć
2024-12-07  3:42 Maciej Barć
2024-12-07  3:42 Maciej Barć
2024-12-06  1:08 Maciej Barć
2024-12-04 22:33 Maciej Barć
2024-12-04 22:33 Maciej Barć
2024-12-03  0:29 Maciej Barć
2024-09-04  8:09 Maciej Barć
2024-07-31  0:03 Maciej Barć
2024-05-17  0:32 Maciej Barć
2024-05-17  0:32 Maciej Barć
2024-05-10 17:22 Maciej Barć
2024-04-14 21:57 Maciej Barć
2024-04-11  4:55 Arthur Zamarin
2024-04-07 16:20 Maciej Barć
2024-03-11  4:49 Maciej Barć
2024-03-11  4:49 Maciej Barć
2024-03-11  4:49 Maciej Barć
2024-03-10  5:43 Sam James
2024-03-10  0:29 Maciej Barć
2024-02-02  9:37 Maciej Barć
2024-02-01 13:22 Maciej Barć
2024-02-01 10:10 Maciej Barć
2023-12-17 21:45 Maciej Barć
2023-12-17 12:39 Sam James
2023-12-13 17:17 Maciej Barć
2023-12-08  0:29 Maciej Barć
2023-11-24 20:09 Maciej Barć
2023-11-18  1:31 Maciej Barć
2023-11-18  1:31 Maciej Barć
2023-09-25 20:36 Maciej Barć
2023-09-24 22:02 Maciej Barć
2023-09-24  4:02 Maciej Barć
2023-09-15 20:49 Maciej Barć

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1706915187.8476661324dc5004b4bdd12c77d06a87b13b91ee.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox