Skip to content

Smoke test fix

Vicente Bolea requested to merge vbolea/vtk-m:smoke_test_fix into master

We need to set the smoke_test as device_source so that it binary will keep in its rpath the path of the cudart/rocm. This is important since this smoke test needs to be built and run in the test stage of the CI which normally does not expose the filesystem path of the device adaptor libraries. With our without marking it device_source, the smoke_test binary transitively needs (LD_)LIBRARY_PATH/RPATH to contain the path of cudart/rocm since the libvtkm libs does depend on it.

Specify the (LD_)LIBRARY_PATH for test stage of hip builds, this is needed for the smoke test.

Edited by Vicente Bolea

Merge request reports

Loading