[tests] opencl/convolution: fix linking of libsimx.so
Fixes linker error by following suggestion of `/usr/bin/ld: warning: libsimx.so, needed by /scratch/hansung/src/vortex/driver/simx/libvortex.so, not found (try using -rpath or -rpath-link)`.
This commit is contained in:
6
tests/opencl/convolution/.depend
Normal file
6
tests/opencl/convolution/.depend
Normal file
@@ -0,0 +1,6 @@
|
||||
main.o: main.cpp \
|
||||
/scratch/hansung/build/vortex-toolchain-prebuilt/pocl/runtime/include/CL/cl.h \
|
||||
/scratch/hansung/build/vortex-toolchain-prebuilt/pocl/runtime/include/CL/cl_version.h \
|
||||
/scratch/hansung/build/vortex-toolchain-prebuilt/pocl/runtime/include/CL/cl_platform.h \
|
||||
utils.h
|
||||
utils.o: utils.cpp utils.h
|
||||
@@ -17,7 +17,7 @@ CXXFLAGS += -std=c++11 -Wall -Wextra -pedantic -Wfatal-errors
|
||||
|
||||
CXXFLAGS += -I$(POCL_RT_PATH)/include
|
||||
|
||||
LDFLAGS += -L$(POCL_RT_PATH)/lib -L$(VORTEX_DRV_PATH)/simx -lOpenCL -lvortex
|
||||
LDFLAGS += -L$(POCL_RT_PATH)/lib -L$(VORTEX_DRV_PATH)/simx -Wl,-rpath $(VORTEX_DRV_PATH)/simx -lOpenCL -lvortex
|
||||
|
||||
# Debugigng
|
||||
ifdef DEBUG
|
||||
|
||||
Reference in New Issue
Block a user