blob: 711bf1674a7d6e93a100dd0f52f49289b813b561 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# avoid breakage in newer CPU ISAs, supporting SSE2 should be enough for
# 32-bit platforms
# for special use cases (like running Archlinux32 on 64-bit hardware)
# we can support up to SSE4.2 (everything above is too hard to fix).
# As Embree chooses the ISA at runtime, this is no problem for machines
# not having SSE4.2
eval "$(
declare -f build | \
sed '
/cmake/s/-DEMBREE_MAX_ISA="AVX512SKX"/-DEMBREE_MAX_ISA="SSE4.2"/
'
)"
|