[Tizen] Disable AVX instruction set on GenericsTest
authorAleksandr Shaurtaev <a.shaurtaev@partner.samsung.com>
Wed, 15 Mar 2023 13:20:52 +0000 (16:20 +0300)
committerGleb Balykov/Advanced System SW Lab /SRR/Staff Engineer/Samsung Electronics <g.balykov@samsung.com>
Tue, 21 Mar 2023 08:54:22 +0000 (11:54 +0300)
src/tests/Interop/PInvoke/Generics/CMakeLists.txt

index 9d6a3f3..115217a 100644 (file)
@@ -24,7 +24,8 @@ else()
   if (NOT CLR_CMAKE_TARGET_ARCH_ARM64 AND NOT CLR_CMAKE_TARGET_ARCH_ARM)
     # We need -march=native so we can detect if AVX2 is present.
     # ARM does not like that option too and it make no sense to have this detection there.
-    add_compile_options(-march=native)
+    # Disabled this line because AVX instruction set unsupported on x64 emulator
+    # add_compile_options(-march=native)
   endif()
 endif()
 set(SOURCES