arcana-lab / noelle

NOELLE Offers Empowering LLVM Extensions
MIT License
72 stars 35 forks source link

Updated script installation to not hard code install path #113

Closed tommymcm closed 6 months ago

tommymcm commented 6 months ago

See issue #105 for more information.

This is a minor change to the scripts that adds logic to find the absolute path to the current script, and by extension the installation directory. The logic will also account for the script being used through symlinks.

I have tested this on peroni for both unit and regression tests.

I have also tested this on a personal project with no issue.