ComputationalRadiationPhysics / cuda_memtest

Fork of CUDA GPU memtest :eyeglasses:
http://sourceforge.net/projects/cudagpumemtest
114 stars 32 forks source link

use RPATH by default #40

Closed psychocoderHPC closed 2 years ago

psychocoderHPC commented 2 years ago

Add option CUDA_MEMTEST__ADD_RPATH to control if cuda_memtest is setting the rpath. The new default is that RPATH will be used but optionally allow disabling this and falling back to the old behaviori.

Using rpath's is motivated by the spack where LD_LIBRARY_PATH is not set anymore: spack/spack#28354

PrometheusPi commented 2 years ago

Since this is exactly the same code change as in PIConGPU, I will merge this now.