mirror of https://github.com/microsoft/vcpkg.git
29 lines
1002 B
Diff
29 lines
1002 B
Diff
diff --git a/Configure.cmake b/Configure.cmake
|
|
index e23f577..23225ab 100644
|
|
--- a/Configure.cmake
|
|
+++ b/Configure.cmake
|
|
@@ -247,6 +247,9 @@ set(CLANG_FLAGS_ENABLE_AVX2128 "-mavx2;-mfma")
|
|
set(CLANG_FLAGS_ENABLE_AVX512F "-mavx512f")
|
|
set(CLANG_FLAGS_ENABLE_AVX512FNOFMA "-mavx512f")
|
|
set(CLANG_FLAGS_ENABLE_NEON32 "--target=arm-linux-gnueabihf;-mcpu=cortex-a8")
|
|
+if(ANDROID)
|
|
+ list(FILTER CLANG_FLAGS_ENABLE_NEON32 EXCLUDE REGEX "^--target")
|
|
+endif()
|
|
set(CLANG_FLAGS_ENABLE_NEON32VFPV4 "-march=armv7-a;-mfpu=neon-vfpv4")
|
|
# Arm AArch64 vector extensions.
|
|
set(CLANG_FLAGS_ENABLE_SVE "-march=armv8-a+sve")
|
|
diff --git a/src/dft/CMakeLists.txt b/src/dft/CMakeLists.txt
|
|
index 15bee24..57a4a80 100644
|
|
--- a/src/dft/CMakeLists.txt
|
|
+++ b/src/dft/CMakeLists.txt
|
|
@@ -173,7 +173,9 @@ if (COMPILER_SUPPORTS_SVE)
|
|
endif(COMPILER_SUPPORTS_SVE)
|
|
|
|
if (COMPILER_SUPPORTS_NEON32)
|
|
+ if(FORCE_NEON32)
|
|
set(ISALIST_SP ${ISALIST_SP} neon32sp)
|
|
+ endif()
|
|
endif(COMPILER_SUPPORTS_NEON32)
|
|
|
|
if (COMPILER_SUPPORTS_RVVM1)
|