Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/amdvlk/PKGBUILD
blob: 77bed939785fed4562281a820f267a0e0af55b36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Prevent OOM
options=(!debug)

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|
  '
)"