From 7eea9fa321bf80c3c00b5509980bf9fa8ea58a24 Mon Sep 17 00:00:00 2001 From: f4exb Date: Mon, 19 Jun 2017 01:01:18 +0200 Subject: [PATCH] Updates for aarch64 and openSUSE --- CMakeLists.txt | 6 ++++++ Readme.md | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e32d5c5a4..0b54b279b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -525,6 +525,12 @@ elseif (${ARCHITECTURE} MATCHES "armv7l") else() set(HAS_NEON OFF CACHE BOOL "Architecture does not have NEON SIMD enabled") endif() +elseif (${ARCHITECTURE} MATCHES "aarch64") + set(HAS_NEON ON CACHE BOOL FORCE "Architecture has NEON SIMD enabled") + if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANGXX) + message(STATUS "Aarch64 always has NEON SIMD instructions") + add_definitions(-DUSE_NEON) + endif() endif() ############################################################################## diff --git a/Readme.md b/Readme.md index 922ef33ca..821efde6f 100644 --- a/Readme.md +++ b/Readme.md @@ -290,7 +290,9 @@ For Debian Jessie or Stretch: This has been tested with the bleeding edge "Thumbleweed" distribution: -`sudo zypper install cmake fftw3-devel gcc-c++ libusb-1_0-devel libqt5-qtbase-devel libQt5OpenGL-devel libqt5-qtmultimedia-devel libqt5-qttools-devel libQt5Network-devel libQt5Widgets-devel boost-devel alsa-devel pulseaudio` +`sudo zypper install Mesa-libGL1 Mesa-libEGL-devel Mesa-libGL-devel Mesa-libGLESv1_CM-devel Mesa-libGLESv2-devel Mesa-libGLESv3-devel Mesa-libglapi-devel libOSMesa-devel` + +`sudo zypper install cmake fftw3-devel gcc-c++ libusb-1_0-devel libqt5-qtbase-devel libQt5OpenGL-devel libqt5-qtmultimedia-devel libqt5-qttools-devel libQt5Network-devel libQt5Widgets-devel boost-devel alsa-devel pulseaudio opencv-devel` Then you should be all set to build the software with `cmake` and `make` as discussed earlier.