From 3806c8726b8aee135a79ddd0b5dff3c289117cb4 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 13 Mar 2020 12:51:56 +0100 Subject: [PATCH] amdvlk: update to 2020.Q1.3. --- srcpkgs/amdvlk/template | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/srcpkgs/amdvlk/template b/srcpkgs/amdvlk/template index eea03685c81..196a63ec9ac 100644 --- a/srcpkgs/amdvlk/template +++ b/srcpkgs/amdvlk/template @@ -1,12 +1,12 @@ # Template file for 'amdvlk' pkgname=amdvlk -version=2020.Q1.2 +version=2020.Q1.3 revision=1 -_llpc_commit=f5268c3f6f906a3ae430a1aada7f54f70df091e8 -_xgl_commit=8024f27f9457e3235bf4fcde0d2879bbaae7b0f2 -_pal_commit=45f531beaf2c2b0bc2272e63a2da0022f1b07ccf -_llvm_project_commit=a163b38723cbc05f3014d4eaa1936c82bbfbf3ea -_spvgen_commit=e9b2bc3a889ed6ac4f5a47b6c4c58460988e352e +_llpc_commit=fc21c950b629753f9cc7d0941937c57262ceadcf +_xgl_commit=80e5a4b11ad2058097e77746772ddc9ab2118e07 +_pal_commit=e642f608a62887d40d1f25509d2951a4a3576985 +_llvm_project_commit=e404e4b2db325184dbc2d14f31ef891d938f3835 +_spvgen_commit=843c6b95f731589bf497fad29dadf7fda4934aad _MetroHash_commit=2b6fee002db6cc92345b02aeee963ebaaf4c0e2f _CWPack_commit=b601c88aeca7a7b08becb3d32709de383c8ee428 archs="i686* x86_64*" @@ -31,12 +31,12 @@ distfiles="https://github.com/GPUOpen-Drivers/AMDVLK/archive/v-${version}.tar.gz https://github.com/GPUOpen-Drivers/spvgen/archive/${_spvgen_commit}.tar.gz https://github.com/GPUOpen-Drivers/MetroHash/archive/${_MetroHash_commit}.tar.gz https://github.com/GPUOpen-Drivers/CWPack/archive/${_CWPack_commit}.tar.gz" -checksum="4efa42755db31b4c0663757a42d9e624f6d79038bafe621735c1020cf98862fa - c0cc57bfd962f061deea21684086fee93ff05f98a411082f8017097534cff53a - bd4f8ee2e9d8f034849050a1696aa1a0999552688147ebe58ef529cbb51c9b51 - b42d1285b52aed10e6bb2d58aa71e79ed1cd02a3cb53df20dc6e440e14053cb4 - 616f31c857fa925f9074404204bfd0541582efd6e499da59d107ea5ac84fbf32 - 3dc82f3f60b449f7a6a461e893a388d6561377ab24dc4f7939a73927beb70ce4 +checksum="7b64c44f26e8d62b5b5c58ca7e3fd3c72d73cfaca64eedf4de06584ff712b34e + 61e2eba47009df30d6ed7afcd0018cdda1363e021dc049ed5914a7d0a5313c7d + 486ff5dabd2bc73939ef70a1110ad44d530b42429b0d32efa69e1040034078ce + ab84b6a857f0eee6d8466b685603b5edd8d547c2438b11f9e084ab6a49ce50d9 + b77a63766dbecc0a4d9f78f5e1025784ddc56aba238c7452e0a73d0d42aa6094 + 53e466428a237406790a0c27821c24493d9468786be36c88e003eec6f9140a8b e8ecf026584dd953e39c3abba2eb04d28b28ed4577482ee70265f0d421fef398 58ca397f33d62bcfecaecd89eb4ad466a6c33e1c619e5cf742822074f1f7d664" nocross=yes @@ -62,6 +62,16 @@ pre_configure() { configure_args+=" -DLLVM_DEFAULT_TARGET_TRIPLE=${XBPS_CROSS_TRIPLET:-$XBPS_TRIPLET}" } +pre_build() { + # lower burden on build servers, llvm eats too much memory + if [ "$XBPS_MAKEJOBS" -gt 2 ]; then + echo $XBPS_MAKEJOBS + export makejobs="-j$(( $XBPS_MAKEJOBS / 2 ))" + echo $XBPS_MAKEJOBS + fi + +} + do_install() { case $XBPS_TARGET_MACHINE in i686*|mips*|arm*|ppc|ppc-musl)