Unverified Commit d83c5fe4 authored by Tim Dettmers's avatar Tim Dettmers Committed by GitHub
Browse files

Merge pull request #621 from cebtenzzre/fix-make-clean

improve `make clean` target
parents e8760101 4b0e401c
...@@ -8,9 +8,11 @@ ifeq ($(CUDA_HOME),) ...@@ -8,9 +8,11 @@ ifeq ($(CUDA_HOME),)
endif endif
ifndef CUDA_VERSION ifndef CUDA_VERSION
ifneq ($(MAKECMDGOALS),clean)
$(warning WARNING: CUDA_VERSION not set. Call make with CUDA string, for example: make cuda11x CUDA_VERSION=115 or make cpuonly CUDA_VERSION=CPU) $(warning WARNING: CUDA_VERSION not set. Call make with CUDA string, for example: make cuda11x CUDA_VERSION=115 or make cpuonly CUDA_VERSION=CPU)
CUDA_VERSION:= CUDA_VERSION:=
endif endif
endif
...@@ -135,10 +137,5 @@ $(ROOT_DIR)/dependencies/cub: ...@@ -135,10 +137,5 @@ $(ROOT_DIR)/dependencies/cub:
cd dependencies/cub; git checkout 1.11.0 cd dependencies/cub; git checkout 1.11.0
clean: clean:
rm build/* rm -rf build/* *.egg*
rm -f bitsandbytes/libbitsandbytes*.so
cleaneggs:
rm -rf *.egg*
cleanlibs:
rm ./bitsandbytes/libbitsandbytes*.so
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment