mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Move sccache compilation log to its own group (#71444)
Summary:
The sccache compilation log is often misleading.
We can move it to its own group so people don't see it right away
Pull Request resolved: https://github.com/pytorch/pytorch/pull/71444
Reviewed By: atalman
Differential Revision: D33659650
Pulled By: janeyx99
fbshipit-source-id: f22fd21640a8747beeacce8857bbb8281efd76f4
(cherry picked from commit e25970abf9)
This commit is contained in:
parent
7ed2a43d26
commit
671a0b5376
|
|
@ -95,11 +95,13 @@ if [[ "$BUILD_ENVIRONMENT" != *win-* ]]; then
|
|||
# Report sccache stats for easier debugging
|
||||
sccache --zero-stats
|
||||
function sccache_epilogue() {
|
||||
echo "::group::Sccache Compilation Log"
|
||||
echo '=================== sccache compilation log ==================='
|
||||
python "$SCRIPT_DIR/print_sccache_log.py" ~/sccache_error.log 2>/dev/null
|
||||
echo '=========== If your build fails, please take a look at the log above for possible reasons ==========='
|
||||
sccache --show-stats
|
||||
sccache --stop-server || true
|
||||
echo "::endgroup::"
|
||||
}
|
||||
|
||||
if [[ "${JOB_BASE_NAME}" == *-build ]]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user