diff options
Diffstat (limited to 'ml/dlib/dlib/cmake_utils/check_if_neon_available.cmake')
-rw-r--r-- | ml/dlib/dlib/cmake_utils/check_if_neon_available.cmake | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/ml/dlib/dlib/cmake_utils/check_if_neon_available.cmake b/ml/dlib/dlib/cmake_utils/check_if_neon_available.cmake deleted file mode 100644 index 0510707df..000000000 --- a/ml/dlib/dlib/cmake_utils/check_if_neon_available.cmake +++ /dev/null @@ -1,20 +0,0 @@ -# This script checks if __ARM_NEON__ is defined for your compiler - -cmake_minimum_required(VERSION 2.8.12) - -# Don't rerun this script if its already been executed. -if (DEFINED ARM_NEON_IS_AVAILABLE) - return() -endif() - -# Set to false unless we find out otherwise in the code below. -set(ARM_NEON_IS_AVAILABLE 0) - -# test if __ARM_NEON__ is defined -try_compile(test_for_neon_worked ${PROJECT_BINARY_DIR}/neon_test_build ${CMAKE_CURRENT_LIST_DIR}/test_for_neon - neon_test) - -if(test_for_neon_worked) - message (STATUS "__ARM_NEON__ defined.") - set(ARM_NEON_IS_AVAILABLE 1) -endif() |