Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable ccache for interactive builds #229

Merged
merged 12 commits into from
May 11, 2022

Conversation

gerashegalov
Copy link
Collaborator

@gerashegalov gerashegalov commented May 7, 2022

Reattempting reverted #225

This PR enables ccache in build-in-docker script by default, closes #222.

A repeated no-change build with the native build dir cleaned is ~90 seconds
A repeated no-change build without removing the native build dir is ~30 seconds

The PR proposes to change the default to not skipping the clean of libcudf build unless CCACHE_DISABLE=1 is set.

Manual override of libcudf.clean.skip is honored.

Signed-off-by: Gera Shegalov [email protected]

@gerashegalov gerashegalov changed the title Ccache in docker 2 Enable ccache for interactive builds May 7, 2022
@jlowe jlowe added the build label May 9, 2022
build/build-in-docker Outdated Show resolved Hide resolved
build/build-in-docker Outdated Show resolved Hide resolved
build/build-in-docker Outdated Show resolved Hide resolved
Signed-off-by: Gera Shegalov <[email protected]>
  -e CMAKE_C_COMPILER_LAUNCHER="ccache" \
  -e CMAKE_CXX_COMPILER_LAUNCHER="ccache" \
  -e CMAKE_CUDA_COMPILER_LAUNCHER="ccache" \
  -e CMAKE_CXX_LINKER_LAUNCHER="ccache" \

Signed-off-by: Gera Shegalov <[email protected]>
@gerashegalov
Copy link
Collaborator Author

build

@revans2
Copy link
Collaborator

revans2 commented May 11, 2022

build

@gerashegalov gerashegalov merged commit da09bad into NVIDIA:branch-22.06 May 11, 2022
@gerashegalov gerashegalov deleted the ccache-in-docker-2 branch May 11, 2022 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEA] Use ccache in build-in-docker
3 participants