summaryrefslogtreecommitdiff
path: root/extra/amdvlk/PKGBUILD
blob: 8c10a1e10c0fe7ac478bb05fafdf5124b9c0b559 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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|
  '
)"