From 737cfe0d711aae7bc2e337e769d8a57be43488ab Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Mon, 30 Sep 2024 18:47:04 +0300 Subject: [PATCH] kernel: Nuke --cuda-path/--hip-path Revert "kernel: Check HIP support of clang before disabling it" This reverts commit 62c1374385b31f33e1ca02d394bc8d6f5ede97a6. Revert "kernel: Force disable LLVM HIP" This reverts commit ef68678120f9b4e77a119294cdb93f47b85e4b09. Revert "kernel: Force disable LLVM CUDA" This reverts commit ba14020f85e6923c0c983ba1a916d0931f11541e. Change-Id: I5cb2b4624eb0ec25dbc8c1b5888708d961ae59d7 --- build/tasks/kernel.mk | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/build/tasks/kernel.mk b/build/tasks/kernel.mk index 67702cdf..86d7270a 100644 --- a/build/tasks/kernel.mk +++ b/build/tasks/kernel.mk @@ -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