ROCm / ROCm-Device-Libs

ROCm Device Libraries
97 stars 60 forks source link

Remove NO_DEFAULT_PATH so llvm can be found #68

Closed pfultz2 closed 9 months ago

pfultz2 commented 4 years ago

When LLVM is not found cmake says:

  Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
  "LLVM_DIR" to a directory containing one of the above files.

However, setting CMAKE_PREFIX_PATH does not work if we set NO_DEFAULT_PATH. So this is removed because using CMAKE_PREFIX_PATH should always work.

kzhuravl commented 1 year ago

Is this still needed?

kzhuravl commented 9 months ago

If still needed, move this PR to https://github.com/ROCm/llvm-project/tree/amd-staging/amd/device-libs