diff options
| author | tgrogers <[email protected]> | 2018-03-24 18:08:37 -0400 |
|---|---|---|
| committer | tgrogers <[email protected]> | 2018-03-24 18:08:37 -0400 |
| commit | a368a6ef96620763848f38d924a7fe041bc5728b (patch) | |
| tree | 3efe9a1a5a94c7063466432966bbe750f395416a | |
| parent | 2ac6898a8dc70592f016ef5f3a12b67135f9b8d1 (diff) | |
The new CUDAs complain about version info not being embedded into the so file. Having gpgpu-sim ebed some version info to stop the error complaints
| -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{ +}; |
