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 A4E78158020 for ; Sun, 25 Dec 2022 09:09:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D0A9E07D3; Sun, 25 Dec 2022 09:09:38 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6D9D2E07D0 for ; Sun, 25 Dec 2022 09:09:38 +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 21EC6340F26 for ; Sun, 25 Dec 2022 09:09:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 67F526F2 for ; Sun, 25 Dec 2022 09:09:35 +0000 (UTC) From: "Denis Reva" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Denis Reva" Message-ID: <1671959365.4a58545d1dd3bf03f4874c8f1244d49fdac02aa0.RarogCmex@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-libs/amdvlk/amdvlk-2022.4.4.ebuild X-VCS-Directories: media-libs/amdvlk/ X-VCS-Committer: RarogCmex X-VCS-Committer-Name: Denis Reva X-VCS-Revision: 4a58545d1dd3bf03f4874c8f1244d49fdac02aa0 X-VCS-Branch: dev Date: Sun, 25 Dec 2022 09:09:35 +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: 8469c836-cbcd-408a-bf37-95de12a51912 X-Archives-Hash: df4925626655ff0c47b9ddbf2297952e commit: 4a58545d1dd3bf03f4874c8f1244d49fdac02aa0 Author: Denis Reva gmail com> AuthorDate: Sun Dec 25 08:53:51 2022 +0000 Commit: Denis Reva gmail com> CommitDate: Sun Dec 25 09:09:25 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4a58545d media-libs/amdvlk: Updated requirements checking Signed-off-by: Denis Reva gmail.com> media-libs/amdvlk/amdvlk-2022.4.4.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild index 27a9903d6..0b0f75db4 100644 --- a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild +++ b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild @@ -34,7 +34,7 @@ RDEPEND=" ${DEPEND} >=media-libs/vulkan-loader-1.3.224[${MULTILIB_USEDEP}] dev-util/glslang[${MULTILIB_USEDEP}]" -CHECKREQS_MEMORY="16G" +CHECKREQS_MEMORY="7G" CHECKREQS_DISK_BUILD="4G" S="${WORKDIR}" CMAKE_USE_DIR="${S}/xgl" @@ -71,6 +71,15 @@ PATCHES=( "${FILESDIR}/amdvlk-2022.4.4-r1-disable-Werror.patch" #887777 ) +pkg_pretend(){ + ewarn "It's generally recomended to have at least 16GB memory to build" + ewarn "However, experiments shows that if you'll use MAKEOPTS=\"-j1\" you can build it with 8GB RAM" + ewarn "See https://wiki.gentoo.org/wiki/AMDVLK#Additional_system_requirements_to_build" + ewarn "Use CHECKREQS_DONOTHING=1 if you need to bypass memory checking" + + check-reqs_pkg_pretend +} + src_prepare() { einfo "moving src to proper directories" mkdir -p "${S}"