From ea98db46fddce2511c48c1ee0a15e3747ca61292 Mon Sep 17 00:00:00 2001 From: MatheusGASource Date: Sun, 17 Dec 2023 00:47:03 -0300 Subject: [PATCH] fixup! It was returning the path instead of the command output --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6f5c5bec0..21be47a23 100644 --- a/Makefile +++ b/Makefile @@ -442,7 +442,7 @@ ifdef LLAMA_HIPBLAS ifeq ($(wildcard /opt/rocm),) ROCM_PATH ?= /usr - GPU_TARGETS ?= $(shell which amdgpu-arch) + GPU_TARGETS ?= $(shell $(shell which amdgpu-arch)) else ROCM_PATH ?= /opt/rocm GPU_TARGETS ?= $(shell $(ROCM_PATH)/llvm/bin/amdgpu-arch)