mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-07-09 09:17:10 +08:00
[Build] Env var to disable sccache (#22968)
Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com>
This commit is contained in:
parent
7caec10e7b
commit
5157827cfc
3
setup.py
3
setup.py
@ -60,7 +60,8 @@ MAIN_CUDA_VERSION = "12.8"
|
|||||||
|
|
||||||
|
|
||||||
def is_sccache_available() -> bool:
|
def is_sccache_available() -> bool:
|
||||||
return which("sccache") is not None
|
return which("sccache") is not None and \
|
||||||
|
not bool(int(os.getenv("VLLM_DISABLE_SCCACHE", "0")))
|
||||||
|
|
||||||
|
|
||||||
def is_ccache_available() -> bool:
|
def is_ccache_available() -> bool:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user