From 7de516c1fa86658f184abf44c7e710e328344d33 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 17 Apr 2020 11:58:48 +0200 Subject: extra/amdvlk: added patching for 32-bit builds --- extra/amdvlk/PKGBUILD | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 extra/amdvlk/PKGBUILD diff --git a/extra/amdvlk/PKGBUILD b/extra/amdvlk/PKGBUILD new file mode 100644 index 00000000..8c10a1e1 --- /dev/null +++ b/extra/amdvlk/PKGBUILD @@ -0,0 +1,17 @@ +eval "$( + declare -f build \ + | sed ' + s|-Bbuilds/Release64|-Bbuilds/Release| + s|cmake|cmake -DCMAKE_C_FLAGS=-m32 -DCMAKE_CSS_FLAGS=-m32| + s|Release64|Release|g + ' +)" + +eval "$( + declare -f package \ + | sed ' + s|Release64|Release|g + s|amdvlk64.so|amdvlk32.so|g + s|amd_icd64.json|amd_icd32.json| + ' +)" -- cgit v1.2.3-70-g09d2