Fix libmvec build for aarch64 (revised) 83/312883/1 accepted/tizen_9.0_unified accepted/tizen_unified accepted/tizen_unified_dev accepted/tizen_unified_toolchain accepted/tizen_unified_x accepted/tizen_unified_x_asan tizen tizen_9.0 accepted/tizen/9.0/unified/20241030.232333 accepted/tizen/unified/20240618.010204 accepted/tizen/unified/dev/20240620.000159 accepted/tizen/unified/toolchain/20240624.121356 accepted/tizen/unified/x/20240618.033407 accepted/tizen/unified/x/asan/20240625.092159 tizen_9.0_m2_release
authorSeungbae Shin <seungbae.shin@samsung.com>
Mon, 17 Jun 2024 05:09:12 +0000 (14:09 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Mon, 17 Jun 2024 05:50:52 +0000 (14:50 +0900)
[Version] 1.2-2
[Issue Type] Build

Change-Id: I2615bb83c43e0bc7fccac3684d421d1a8d10b458

CMakeLists.txt
packaging/noise-suppression.spec

index 96810f0b44b621c0db12ef0ba4a9e3fca7a891bb..6aca49d1d14297702a3d7766bae35ba013b7b0ae 100644 (file)
@@ -40,6 +40,10 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "armv7l")
 elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
        SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DUSE_NEON_OPTIMIZATION")
        SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DUSE_NEON_OPTIMIZATION")
+       find_library(MVEC_LIB "mvec")
+       if (MVEC_LIB)
+               SET(PKG_LDFLAGS "${PKG_LDFLAGS} -lmvec")
+       endif()
 endif()
 
 SET(LIB_NAME "${PROJECT_NAME}")
index f3f380a1490da6336daee590f9384bf418dcfeb6..998bb590402abb2b57057d1db7636ba43b2ffdfc 100644 (file)
@@ -1,7 +1,7 @@
 Name: noise-suppression
 Summary: Acoustic noise suppression library
 Version: 1.2
-Release: 1
+Release: 2
 License: BSD-3-Clause
 Source0: %{name}-%{version}.tar.gz