Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/amdvlk
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-04-17 11:58:48 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2020-04-17 11:58:48 +0200
commit7de516c1fa86658f184abf44c7e710e328344d33 (patch)
tree39b30c84d34e2a31e911c747dac030f854137e21 /extra/amdvlk
parent5a8ba0f290663e6a9a4a8380a2d89cdfdaa3e490 (diff)
extra/amdvlk: added patching for 32-bit builds
Diffstat (limited to 'extra/amdvlk')
-rw-r--r--extra/amdvlk/PKGBUILD17
1 files changed, 17 insertions, 0 deletions
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|
+ '
+)"