Add prebuilt lws library for armv7hl 99/267299/1 accepted/tizen/unified/20211202.120708 submit/tizen/20211201.112105
authorcheoleun moon <chleun.moon@samsung.com>
Wed, 1 Dec 2021 06:16:08 +0000 (15:16 +0900)
committercheoleun moon <chleun.moon@samsung.com>
Wed, 1 Dec 2021 06:16:17 +0000 (15:16 +0900)
Change-Id: Icb46e9298b4ee5ff56f740a8f352e4dd33d2f0bb
Signed-off-by: cheoleun moon <chleun.moon@samsung.com>
CMakeLists.txt
packaging/capi-network-vine.spec
third-party/prebuilt/tizen/armv7hl/libwebsockets.a [new file with mode: 0644]

index bdb1403..59d13d7 100755 (executable)
@@ -46,6 +46,10 @@ SET(DEPS "")
 FIND_PROGRAM(UNAME NAMES uname)
 EXEC_PROGRAM("${UNAME}" ARGS "-m" OUTPUT_VARIABLE "BUILD_ARCH")
 
 FIND_PROGRAM(UNAME NAMES uname)
 EXEC_PROGRAM("${UNAME}" ARGS "-m" OUTPUT_VARIABLE "BUILD_ARCH")
 
+IF(HW_FP)
+       SET(BUILD_ARCH "armv7hl")
+ENDIF(HW_FP)
+
 IF(TIZEN_OS)
     SET(BUILD_OS "tizen")
     STRING(CONCAT DEPS ${DEPS} "dlog capi-base-common capi-system-info")
 IF(TIZEN_OS)
     SET(BUILD_OS "tizen")
     STRING(CONCAT DEPS ${DEPS} "dlog capi-base-common capi-system-info")
index 6f57d54..a47d0fc 100755 (executable)
@@ -1,9 +1,9 @@
 %bcond_without lws_static
 %bcond_without lws_static
-%bcond_with lws_static_prebuilt
+%bcond_without lws_static_prebuilt
 %bcond_without use_glib_event_loop
 Name:    capi-network-vine
 Summary: An service discovery framework
 %bcond_without use_glib_event_loop
 Name:    capi-network-vine
 Summary: An service discovery framework
-Version: 1.2.2
+Version: 1.2.3
 Release: 0
 Group:   Network & Connectivity/API
 License: Apache-2.0
 Release: 0
 Group:   Network & Connectivity/API
 License: Apache-2.0
@@ -90,6 +90,9 @@ export LDFLAGS+=" -lgcov"
 
 %cmake . \
         -DTIZEN_OS=%{?_with_tizen} \
 
 %cmake . \
         -DTIZEN_OS=%{?_with_tizen} \
+%ifarch armv7hl
+        -DHW_FP=ON \
+%endif
         -DCMAKE_BUILD_TYPE=%{?build_type} \
         -DCMAKE_VERBOSE_MAKEFILE=ON \
         -DLIB_DIR:PATH=%{_libdir} \
         -DCMAKE_BUILD_TYPE=%{?build_type} \
         -DCMAKE_VERBOSE_MAKEFILE=ON \
         -DLIB_DIR:PATH=%{_libdir} \
diff --git a/third-party/prebuilt/tizen/armv7hl/libwebsockets.a b/third-party/prebuilt/tizen/armv7hl/libwebsockets.a
new file mode 100644 (file)
index 0000000..6a36634
Binary files /dev/null and b/third-party/prebuilt/tizen/armv7hl/libwebsockets.a differ