Skip to content

Commit 742276c

Browse files
authored
Update ccache setting for mlgo buildbots (#58)
1 parent a403446 commit 742276c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

buildbot/osuosl/master/config/builders.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2313,7 +2313,8 @@
23132313
depends_on_projects=['llvm'],
23142314
extra_configure_args=[
23152315
"-DCMAKE_BUILD_TYPE=Release",
2316-
"-DLLVM_CCACHE_BUILD=ON",
2316+
"-DCMAKE_C_COMPILER_LAUNCHER=ccache",
2317+
"-DCMAKE_CXX_COMPILER_LAUNCHER=ccache",
23172318
"-DLLVM_ENABLE_ASSERTIONS=ON",
23182319
"-DTENSORFLOW_C_LIB_PATH=/tmp/tensorflow",
23192320
"-C", "/tmp/tflitebuild/tflite.cmake",
@@ -2331,7 +2332,8 @@
23312332
depends_on_projects=['llvm'],
23322333
extra_configure_args= [
23332334
"-DCMAKE_BUILD_TYPE=Release",
2334-
"-DLLVM_CCACHE_BUILD=ON",
2335+
"-DCMAKE_C_COMPILER_LAUNCHER=ccache",
2336+
"-DCMAKE_CXX_COMPILER_LAUNCHER=ccache",
23352337
"-DLLVM_ENABLE_ASSERTIONS=ON",
23362338
"-DTENSORFLOW_C_LIB_PATH=/tmp/tensorflow",
23372339
"-C", "/tmp/tflitebuild/tflite.cmake",
@@ -2353,7 +2355,8 @@
23532355
depends_on_projects=['llvm'],
23542356
extra_configure_args= [
23552357
"-DCMAKE_BUILD_TYPE=Release",
2356-
"-DLLVM_CCACHE_BUILD=ON",
2358+
"-DCMAKE_C_COMPILER_LAUNCHER=ccache",
2359+
"-DCMAKE_CXX_COMPILER_LAUNCHER=ccache",
23572360
"-DLLVM_ENABLE_ASSERTIONS=ON",
23582361
"-DTENSORFLOW_AOT_PATH=/var/lib/buildbot/.local/lib/python3.7/site-packages/tensorflow"
23592362
])},

0 commit comments

Comments
 (0)