CMake: clean up archive files with cmake
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 8 Jul 2019 10:52:51 +0000 (19:52 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 8 Jul 2019 11:04:14 +0000 (20:04 +0900)
There are dirty cmake caches in archives.
Clean them up.

Change-Id: Iafdbe246499afc4e75f920c43a4eaa60e044c91b
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/tensorflow.spec

index 4cfe3d0ecf394abbdd0675acd948a9194add658a..90330a54424da68b61bdd518a230a3cfa4a57c8d 100644 (file)
@@ -256,6 +256,7 @@ CXXFLAGS="${CXXFLAGS} -DARM_NON_MOBILE -mfpu=neon -mno-unaligned-access"
 %endif
 
 pushd build
+find -name "CMakeCache.txt" -delete
 # Seems some arguments of %%cmake is causing errors.
 # -Dtensorflow_ENABLE_SSL_SUPPORT=OFF  Cut the dependency to Go (not available in Tizen)
 cmake ../tensorflow/contrib/cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=/usr/lib -DINCLUDE_INSTALL_DIR=/usr/include -Dtensorflow_ENABLE_SSL_SUPPORT=OFF