From dd1cca6cddf5b57884aab8619dd52bf7a84ef9f7 Mon Sep 17 00:00:00 2001 From: Ron Lieberman Date: Sat, 27 Jun 2026 10:37:12 -0500 Subject: [PATCH] set RUNENV LD_LIBRARY_PATH for virtfunc1 and hipmalloc-omptarget-multifile --- test/smoke/hipmalloc-omptarget-multifile/Makefile | 1 + test/smoke/virtfunc1/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/test/smoke/hipmalloc-omptarget-multifile/Makefile b/test/smoke/hipmalloc-omptarget-multifile/Makefile index f9f6343c80..30e8cbac18 100644 --- a/test/smoke/hipmalloc-omptarget-multifile/Makefile +++ b/test/smoke/hipmalloc-omptarget-multifile/Makefile @@ -14,6 +14,7 @@ else LLIB = -L$(AOMPHIP)/lib endif endif +RUNENV += LD_LIBRARY_PATH=$(AOMP)/lib:$(LD_LIBRARY_PATH) CLANG ?= clang++ -D__HIP_PLATFORM_AMD__=1 -I$(AOMPHIP)/include -fopenmp LINK_FLAGS = $(LLIB) -lamdhip64 $(RPTH) OMP_BIN = $(AOMP)/bin/$(CLANG) diff --git a/test/smoke/virtfunc1/Makefile b/test/smoke/virtfunc1/Makefile index ceacbf2cf3..730a8b0a6d 100644 --- a/test/smoke/virtfunc1/Makefile +++ b/test/smoke/virtfunc1/Makefile @@ -14,6 +14,7 @@ else LLIB = -L$(AOMPHIP)/lib endif endif +RUNENV += LD_LIBRARY_PATH=$(AOMP)/lib:$(LD_LIBRARY_PATH) CLANG ?= clang++ -D__HIP_PLATFORM_AMD__=1 $(LLIB) -lamdhip64 $(RPTH) -I$(AOMPHIP)/include OMP_BIN = $(AOMP)/bin/$(CLANG) CC = $(OMP_BIN) $(VERBOSE)