kernel: Nuke --cuda-path/--hip-path
Revert "kernel: Check HIP support of clang before disabling it" This reverts commit62c1374385
. Revert "kernel: Force disable LLVM HIP" This reverts commitef68678120
. Revert "kernel: Force disable LLVM CUDA" This reverts commitba14020f85
. Change-Id: I5cb2b4624eb0ec25dbc8c1b5888708d961ae59d7
This commit is contained in:
parent
2b6f24489b
commit
737cfe0d71
1 changed files with 1 additions and 5 deletions
|
@ -245,11 +245,7 @@ ifneq ($(TARGET_KERNEL_CLANG_COMPILE),false)
|
|||
endif
|
||||
PATH_OVERRIDE += PATH=$(TARGET_KERNEL_CLANG_PATH)/bin:$$PATH
|
||||
ifeq ($(KERNEL_CC),)
|
||||
CLANG_EXTRA_FLAGS := --cuda-path=/dev/null
|
||||
ifeq ($(shell $(TARGET_KERNEL_CLANG_PATH)/bin/clang -v --hip-path=/dev/null >/dev/null 2>&1; echo $$?),0)
|
||||
CLANG_EXTRA_FLAGS += --hip-path=/dev/null
|
||||
endif
|
||||
KERNEL_CC := CC="$(CCACHE_BIN) clang $(CLANG_EXTRA_FLAGS)"
|
||||
KERNEL_CC := CC="$(CCACHE_BIN) clang"
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue