ROCm / rocALUTION

Next generation library for iterative sparse solvers for ROCm platform
https://rocm.docs.amd.com/projects/rocALUTION/en/latest/
MIT License
75 stars 39 forks source link

Fixing the build error for SUPPORT_HIP=OFF. #141

Closed nunnikri closed 2 years ago

nunnikri commented 2 years ago

Wrapping all the file reorg changes inside SUPPORT_HIP to take care of HIP off build cases

ntrost57 commented 2 years ago

@lawruble13 is this PR obsolete with latest rocm-cmake?

lawruble13 commented 2 years ago

This should be resolved with the latest rocm-cmake, yes.

nunnikri commented 2 years ago

Closing as the change is not required. The issue is CMAKE_INSTALL_PREFIX is not set. If you compile like below it will work mkdir build ; cd build ; cmake .. -DSUPPORT_HIP=OFF -DCMAKE_INSTALL_PREFIX=/opt/rocm-xxx

Or you can compile like ./install.sh -i --host