summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
author이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 <chunseok.lee@samsung.com>2018-04-11 21:43:32 +0900
committer서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 <sangmin7.seo@samsung.com>2018-04-11 21:43:32 +0900
commitf21e7bf87233a32d44d4d981a35811116636ebf9 (patch)
treebebc2b018e82f4c189e0e5a0c5f8178332a776d4 /packaging
parentdfc48aa55b6308173a9118b913a8364883c430b3 (diff)
downloadnnfw-f21e7bf87233a32d44d4d981a35811116636ebf9.tar.gz
nnfw-f21e7bf87233a32d44d4d981a35811116636ebf9.tar.bz2
nnfw-f21e7bf87233a32d44d4d981a35811116636ebf9.zip
Fix tizen cross/obs build fail (#595)
1. For obs build, save downloaded_deps.tar.gz to nnfw/packaging 2. To distinguish obs build, introduce OBS_BUILD flag
Diffstat (limited to 'packaging')
-rw-r--r--packaging/download_dependencies.tar.gzbin0 -> 24956006 bytes
-rw-r--r--packaging/nnfw.spec4
2 files changed, 2 insertions, 2 deletions
diff --git a/packaging/download_dependencies.tar.gz b/packaging/download_dependencies.tar.gz
new file mode 100644
index 000000000..076cf6bdd
--- /dev/null
+++ b/packaging/download_dependencies.tar.gz
Binary files differ
diff --git a/packaging/nnfw.spec b/packaging/nnfw.spec
index 6f3f92ddd..1c8557da4 100644
--- a/packaging/nnfw.spec
+++ b/packaging/nnfw.spec
@@ -37,10 +37,10 @@ nnfw is a high-performance, on-device neural network framework for Tizen
cp %{SOURCE1} .
%build
-BUILD_TYPE=%{build_type} INSTALL_PATH=%{buildroot}%{install_prefix} TARGET_ARCH=%{target_arch} HOST_OS=tizen make %{?jobs:-j%jobs}
+OBS_BUILD=1 BUILD_TYPE=%{build_type} INSTALL_PATH=%{buildroot}%{install_prefix} TARGET_ARCH=%{target_arch} HOST_OS=tizen make %{?jobs:-j%jobs}
%install
-BUILD_TYPE=%{build_type} INSTALL_PATH=%{buildroot}%{install_prefix} TARGET_ARCH=%{target_arch} HOST_OS=tizen make install
+OBS_BUILD=1 BUILD_TYPE=%{build_type} INSTALL_PATH=%{buildroot}%{install_prefix} TARGET_ARCH=%{target_arch} HOST_OS=tizen make install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig