PawseySC / rocm-from-source

Scripts to build AMD ROCm from source.
MIT License
15 stars 3 forks source link

Improve interface to CMake #14

Open marcodelapierre opened 1 year ago

marcodelapierre commented 1 year ago

Hi @dipietrantonio ,

following feedback from a PaCER project, I think the module that loads the path for ROCm should also update the following variable, for use by CMake, with two new paths:

export CMAKE_PREFIX_PATH="$CMAKE_PREFIX_PATH:<ROCM-HOME>:<ROCM-HOME>/hip"

where is the base installation directory of the ROCm software.