revise build time 72/82272/3 accepted/tizen/common/20160812.140840 accepted/tizen/ivi/20160811.090056 accepted/tizen/mobile/20160811.090008 accepted/tizen/tv/20160811.090025 accepted/tizen/wearable/20160811.090044 submit/tizen/20160811.073905
authorYoungjae Shin <yj99.shin@samsung.com>
Tue, 2 Aug 2016 09:42:16 +0000 (18:42 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Wed, 10 Aug 2016 23:49:20 +0000 (16:49 -0700)
Change-Id: I674157a6b446c8fad54cb7c8a2a937007f04db8a

packaging/iotivity.spec

index 0004758..8c20d08 100644 (file)
@@ -20,7 +20,9 @@ BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(sqlite3)
 Requires(postun): /sbin/ldconfig
 Requires(post): /sbin/ldconfig
-
+%if 0%{?speedpython}
+%en_speedpython
+%endif
 
 ## If tizen 2.x, RELEASE follows tizen_build_binary_release_type_eng. ##
 ## and if tizen 3.0, RELEASE follows tizen_build_devel_mode. ##
@@ -102,7 +104,13 @@ cp %{SOURCE1001} ./%{name}-test.manifest
 %define RPM_ARCH "x86"
 %endif
 
-scons -j2 --prefix=%{_prefix} \
+%define JOB "-j4"
+
+%if 0%{?speedpython}
+%define JOB %{?_smp_mflags}
+%endif
+
+scons %{JOB} --prefix=%{_prefix} \
        VERBOSE=%{VERBOSE} \
        TARGET_OS=tizen TARGET_ARCH=%{RPM_ARCH} TARGET_TRANSPORT=%{TARGET_TRANSPORT} \
        RELEASE=%{RELEASE} SECURED=1 LOGGING=%{LOGGING} ROUTING=%{ROUTING} \