+6
−1
Loading
Clang expects the Clang-dedicated install directory to be named `powerpc64le`, but OpenMP and OpenACC libraries were installed to a directory named `ppc64le` instead, expanded from `CMAKE_SYSTEM_PROCESSOR`. Thus, Clang wasn't finding them, and so a `-L` was needed to avoid any versions of the libraries in system directories. (If there were no such system libraries, Clang found copies of the libraries in the install's top-level lib directory, which, unlike the Clang-dedicated directory, Clang gives lower precedence than system directories.)