diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-21 17:19:04 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-21 17:19:04 +0000 |
commit | 310edf444908b09ea6d00c03baceb7925f3bb7a2 (patch) | |
tree | 7064577c7fa7a851e2e930beb606ea8237b0bbd2 /ml/dlib/dlib/cmake_utils/check_if_neon_available.cmake | |
parent | Releasing debian version 1.44.3-2. (diff) | |
download | netdata-310edf444908b09ea6d00c03baceb7925f3bb7a2.tar.xz netdata-310edf444908b09ea6d00c03baceb7925f3bb7a2.zip |
Merging upstream version 1.45.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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() |