SWDEV-288510 - Add hip shared library path to run-time search for linker
Change-Id: I7eaf712c01556933b881b983a8994f4e06333116
Este commit está contenido en:
cometido por
Anusha Godavarthy Surya
padre
0a4c9ddf48
commit
56b3cb554a
@@ -25,7 +25,7 @@ $(HIPCC_EXE): $(EMIT_STATIC_LIB)
|
||||
|
||||
# Compiles hipMain1 with g++ and links with libHipOptLibrary.a which contains host function.
|
||||
$(HOST_EXE): $(EMIT_STATIC_LIB)
|
||||
$(GXX) $(EMIT_STATIC_MAIN_SRC) -L. -lHipOptLibrary -L$(HIP_PATH)/lib -lamdhip64 -o $@
|
||||
$(GXX) $(EMIT_STATIC_MAIN_SRC) -L. -lHipOptLibrary -L$(HIP_PATH)/lib -lamdhip64 -Wl,-rpath=$(HIP_PATH)/lib -o $@
|
||||
|
||||
test: $(HIPCC_EXE) $(HOST_EXE)
|
||||
$(HIPCC_EXE)
|
||||
|
||||
Referencia en una nueva incidencia
Block a user