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
92e08ffa3e
commit
bf11d86dcb
1 changed files with 1 additions and 5 deletions
|
@ -245,11 +245,7 @@ ifneq ($(TARGET_KERNEL_CLANG_COMPILE),false)
|
||||||
endif
|
endif
|
||||||
PATH_OVERRIDE += PATH=$(TARGET_KERNEL_CLANG_PATH)/bin:$$PATH
|
PATH_OVERRIDE += PATH=$(TARGET_KERNEL_CLANG_PATH)/bin:$$PATH
|
||||||
ifeq ($(KERNEL_CC),)
|
ifeq ($(KERNEL_CC),)
|
||||||
CLANG_EXTRA_FLAGS := --cuda-path=/dev/null
|
KERNEL_CC := CC="$(CCACHE_BIN) clang"
|
||||||
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)"
|
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue