diff --git a/embree.spec b/embree.spec index 3e0bd45..c8fe5f7 100644 --- a/embree.spec +++ b/embree.spec @@ -80,8 +80,15 @@ The %{name}-examples package contains sample binaries using %{name}. -DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF \ %if %{with ispc} -DEMBREE_ISPC_SUPPORT=ON \ -%%endif - -DEMBREE_MAX_ISA=DEFAULT \ +%endif +%ifarch x86_64 + -DEMBREE_ISA_SSE2=ON \ + -DEMBREE_ISA_SSE4=ON \ + -DEMBREE_ISA_AVX=ON \ + -DEMBREE_ISA_AVX2=ON \ +%else + -DEMBREE_ISA_NEON=ON \ +%endif -DEMBREE_TUTORIALS=OFF %cmake_build