summaryrefslogtreecommitdiff
path: root/extra/meson/PKGBUILD
blob: 376dd629b7cedc77757205e14517345a74c3c3d2 (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<${#sha512sums[@]}; i++)); do
  if [ "${sha512sums[${i}]}" = 'f451f8a7ef9cf1dd724c2ce20bb85a3f1611b87b2e7a17ef0fdbe8ab82a67389f818ea30a5adfe8413143e4eac77ea2e0b8234b5b2466b41a892e2bd0435376c' ]; then
    sha512sums[${i}]='4b389796c52a5aa84a05cecc9b0c87924992627a61faf1707624f157d03315df143a562bec982d3ad7c64a7de767fce56567e718005cb92e297672d37b39230e'
  fi
done