Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/meson/PKGBUILD
blob: 5e49a96771fdd422c68314d5b6fd4bfe69986bd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# we have no 32-bit cuda support
checkdepends=(${checkdepends[@]//cuda/})

# no rust on i486
checkdepends=(${checkdepends[@]//rust-bindgen/})
checkdepends=(${checkdepends[@]//rust/})
checkdepends_i686+=('rust')
checkdepends_i686+=('rust-bindgen')

# D compiler broken on i486
checkdepends=(${checkdepends[@]//ldc/})
checkdepends_i686+=('ldc')

checkdepends_pentium4=("${checkdepends_i686[@]}")

# still far too many tests fail, ignoring for now
unset check
unset checkdepends

# fail if upstream changes arch-meson
# we patch a version of arch-meson reading CARCH (later maybe LTOFLAGS)
# to find out whether it should add blto to the arch flags
for ((i=0; i<${#b2sums[@]}; i++)); do
  if [ "${b2sums[${i}]}" = '70f042a7603d1139f6cef33aec028da087cacabe278fd47375e1b2315befbfde1c0501ad1ecc63d04d31b232a04f08c735d61ce59d7244521f3d270e417fb5af' ]; then
    b2sums[${i}]='09f3035aaff3fe8ac8e57a6e718acd654c04604500abb897a4d6e3946c9e4d9db6a257b5cd3d27007bfcfd4799a2b52d8eaab38ecda16f8af69848ed3b8ac7ff'
  fi
done