Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
bitsandbytes
Commits
d83c5fe4
Unverified
Commit
d83c5fe4
authored
Jan 01, 2024
by
Tim Dettmers
Committed by
GitHub
Jan 01, 2024
Browse files
Merge pull request #621 from cebtenzzre/fix-make-clean
improve `make clean` target
parents
e8760101
4b0e401c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
Makefile
Makefile
+4
-7
No files found.
Makefile
View file @
d83c5fe4
...
@@ -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
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