ROCm / aomp

AOMP is an open source Clang/LLVM based compiler with added support for the OpenMP® API on Radeon™ GPUs. Use this repository for releases, issues, documentation, packaging, and examples.
https://github.com/ROCm/aomp
Apache License 2.0
204 stars 44 forks source link

[GenASiS] Handle llvm symlink vs lib/llvm via realpath #1083

Closed dpalermo closed 1 day ago

dpalermo commented 2 days ago

Change was needed in case AOMP path was already processed via realpath which expands the one-level llvm into two-level lib/llvm. Also use 'realpath -m' on the default to always get an expansion/avoid errors if someone didn't have a ~/rocm/aomp (easier to see what happened).

dpalermo commented 2 days ago

Final call to realpath to flatten the "../.." so the resulting path is more readable in logs