Skip to content

Commit

Permalink
kernel: Nuke --cuda-path/--hip-path
Browse files Browse the repository at this point in the history
Revert "kernel: Check HIP support of clang before disabling it"

This reverts commit 62c1374.

Revert "kernel: Force disable LLVM HIP"

This reverts commit ef68678.

Revert "kernel: Force disable LLVM CUDA"

This reverts commit ba14020.

Change-Id: I5cb2b4624eb0ec25dbc8c1b5888708d961ae59d7
  • Loading branch information
mikeNG authored and luk1337 committed Oct 18, 2024
1 parent 76c539e commit dc34f77
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions build/tasks/kernel.mk
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,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

Expand Down

0 comments on commit dc34f77

Please sign in to comment.