diff options
author | Denis Reva <denis7774@gmail.com> | 2022-12-25 13:53:51 +0500 |
---|---|---|
committer | Denis Reva <denis7774@gmail.com> | 2022-12-25 14:09:25 +0500 |
commit | 4a58545d1dd3bf03f4874c8f1244d49fdac02aa0 (patch) | |
tree | 4e1c5573772dd4768f18e67f5f9d7d9409b817ad /media-libs | |
parent | media-fonts/3270font: drop 2.3.0 (diff) | |
download | guru-4a58545d1dd3bf03f4874c8f1244d49fdac02aa0.tar.gz guru-4a58545d1dd3bf03f4874c8f1244d49fdac02aa0.tar.bz2 guru-4a58545d1dd3bf03f4874c8f1244d49fdac02aa0.zip |
media-libs/amdvlk: Updated requirements checking
Signed-off-by: Denis Reva <denis7774@gmail.com>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/amdvlk/amdvlk-2022.4.4.ebuild | 11 |
1 files changed, 10 insertions, 1 deletions
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}" |