diff options
| author | gpgpu-sim <[email protected]> | 2018-03-25 16:20:56 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-03-25 16:20:56 -0700 |
| commit | 5373d10cd2b5dde7c94cccf6e07b8f59869223af (patch) | |
| tree | cccd3e85cc1e7605c548727a55426b8c2887f258 | |
| parent | 6b27ee3d0e650524c441c1842fa7c7f333135818 (diff) | |
| parent | d97022fa5fee348e15f2b07ab83ee7aba4f008e0 (diff) | |
Merge pull request #59 from tgrogers/dev
Apps compiled with newer versions of CUDA want the version number embedded in the so
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | linux-so-version.txt | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -143,7 +143,7 @@ no_opencl_support: @echo "Warning: gpgpu-sim is building without opencl support. Make sure NVOPENCL_LIBDIR and NVOPENCL_INCDIR are set" $(SIM_LIB_DIR)/libcudart.so: makedirs $(LIBS) cudalib - g++ -shared -Wl,-soname,libcudart_$(GPGPUSIM_BUILD).so \ + g++ -shared -Wl,-soname,libcudart_$(GPGPUSIM_BUILD).so -Wl,--version-script=linux-so-version.txt\ $(SIM_OBJ_FILES_DIR)/libcuda/*.o \ $(SIM_OBJ_FILES_DIR)/cuda-sim/*.o \ $(SIM_OBJ_FILES_DIR)/cuda-sim/decuda_pred_table/*.o \ diff --git a/linux-so-version.txt b/linux-so-version.txt new file mode 100644 index 0000000..40f775d --- /dev/null +++ b/linux-so-version.txt @@ -0,0 +1,2 @@ +libcudart.so.9.1{ +}; |
