This is an automated email from the ASF dual-hosted git repository.

zclll pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 96ce6243c54 [fix](build) Fix wrong ccache argument for BE UT and 
display (#61305)
96ce6243c54 is described below

commit 96ce6243c54f78a6a74b70883bd6623be13fc597
Author: zclllyybb <[email protected]>
AuthorDate: Fri Mar 13 15:19:23 2026 +0800

    [fix](build) Fix wrong ccache argument for BE UT and display (#61305)
    
    it causes BE UT ccache always miss. now fixed.
---
 build.sh     | 2 +-
 run-be-ut.sh | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/build.sh b/build.sh
index b4268e0d306..9c96dce579a 100755
--- a/build.sh
+++ b/build.sh
@@ -651,7 +651,7 @@ if [[ "${BUILD_BE}" -eq 1 ]]; then
     fi
 
     echo "-- Make program: ${MAKE_PROGRAM}"
-    echo "-- Use ccache: ${CMAKE_USE_CCACHE}"
+    echo "-- Use ccache: ${CMAKE_USE_CCACHE_CXX} and ${CMAKE_USE_CCACHE_C}"
     echo "-- Extra cxx flags: ${EXTRA_CXX_FLAGS:-}"
     echo "-- Build fs benchmark tool: ${BUILD_FS_BENCHMARK}"
     echo "-- Build task executor simulator: ${BUILD_TASK_EXECUTOR_SIMULATOR}"
diff --git a/run-be-ut.sh b/run-be-ut.sh
index c9579ead354..50b76f6d6f1 100755
--- a/run-be-ut.sh
+++ b/run-be-ut.sh
@@ -239,7 +239,7 @@ fi
 
 MAKE_PROGRAM="$(command -v "${BUILD_SYSTEM}")"
 echo "-- Make program: ${MAKE_PROGRAM}"
-echo "-- Use ccache: ${CMAKE_USE_CCACHE}"
+echo "-- Use ccache: ${CMAKE_USE_CCACHE_CXX} and ${CMAKE_USE_CCACHE_C}"
 echo "-- Extra cxx flags: ${EXTRA_CXX_FLAGS:-}"
 
 if [[ "${CMAKE_BUILD_TYPE}" = "ASAN" ]]; then
@@ -264,7 +264,8 @@ cd "${CMAKE_BUILD_DIR}"
     -DEXTRA_CXX_FLAGS="${EXTRA_CXX_FLAGS}" \
     -DENABLE_CLANG_COVERAGE="${DENABLE_CLANG_COVERAGE}" \
     -DENABLE_INJECTION_POINT="${ENABLE_INJECTION_POINT}" \
-    ${CMAKE_USE_CCACHE:+${CMAKE_USE_CCACHE}} \
+    ${CMAKE_USE_CCACHE_CXX:+${CMAKE_USE_CCACHE_CXX}} \
+    ${CMAKE_USE_CCACHE_C:+${CMAKE_USE_CCACHE_C}} \
     -DENABLE_PCH="${ENABLE_PCH}" \
     -DDORIS_JAVA_HOME="${JAVA_HOME}" \
     -DBUILD_AZURE="${BUILD_AZURE}" \


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to