Enable ccache on gbs build system.
authorJongsoo Yoon <join.yoon@samsung.com>
Thu, 3 Dec 2015 07:16:06 +0000 (16:16 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 07:55:23 +0000 (07:55 +0000)
In order to enable ccache build option,
we should change it's PATH value to /var/lib/build/ccache/bin.
Because ccache path is moved to there in latest gbs build system.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=15086

Change-Id: Icd70453aa96a85553a9e949aad3ee3d2d0128688
Signed-off-by: Jongsoo Yoon <join.yoon@samsung.com>
tizen_src/build/ccache_env.sh

index 0d691f1..5af59bb 100644 (file)
@@ -23,6 +23,7 @@ if [ "$1" == "desktop" -o  "$1" == "mobile" -o "$1" == "tv" -o "$1" == "crosscom
     #unlike /var/tmp and /tmp directories
     #so having /.ccache as out ccache dir will make possible to use
     #ccache also with bot incremental and non-incremental builds
+    export PATH=/var/lib/build/ccache/bin:$PATH
     export CCACHE_DIR=/.ccache/${OUTPUT_BASE_FOLDER}
   fi