Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
6234385f
Unverified
Commit
6234385f
authored
Sep 10, 2024
by
Daniele
Committed by
GitHub
Sep 10, 2024
Browse files
[CI/Build] enable ccache/scccache for HIP builds (#8327)
parent
da1a844e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
setup.py
setup.py
+4
-1
No files found.
setup.py
View file @
6234385f
...
...
@@ -170,14 +170,17 @@ class cmake_build_ext(build_ext):
if
is_sccache_available
():
cmake_args
+=
[
'-DCMAKE_C_COMPILER_LAUNCHER=sccache'
,
'-DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
,
'-DCMAKE_CUDA_COMPILER_LAUNCHER=sccache'
,
'-DCMAKE_
C
_COMPILER_LAUNCHER=sccache'
,
'-DCMAKE_
HIP
_COMPILER_LAUNCHER=sccache'
,
]
elif
is_ccache_available
():
cmake_args
+=
[
'-DCMAKE_C_COMPILER_LAUNCHER=ccache'
,
'-DCMAKE_CXX_COMPILER_LAUNCHER=ccache'
,
'-DCMAKE_CUDA_COMPILER_LAUNCHER=ccache'
,
'-DCMAKE_HIP_COMPILER_LAUNCHER=ccache'
,
]
# Pass the python executable to cmake so it can find an exact
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment