You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a from-source version of Linux (running GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)), I'm seeing an issue with the current setup-env.sh where it exits with:
"/home/amd/omnitrace does not exist"
Some light debugging, and I've found that this version of bash does not seem to like the code-pattern of:
BASEDIR=$(cd ${BASEDIR}/../.. && pwd)
Not 100% sure why (wasn't able to find any Bash 5 info on this), but:
BASEDIR=$(realpath ${BASEDIR}/../..)
seems to work insteadm
The text was updated successfully, but these errors were encountered:
Yeah, this should work. It’s technically not portable since realpath is a Linux command, not UNIX, e.g. there is no realpath tool on macOS, but since we don’t support macOS and don’t have any plans to do so, I’ll default to it if I can detect the exe exists
- Fix setup-env.sh
- Closes#149
- omnitrace exe color
- test-install.sh script
- if config variable is updated in config or env, include in generated
config
- metadata for hsa, rocm, and ompt
- Closes#153
- Closes#154
https://github.com/AMDResearch/omnitrace/blob/2718596e5a6808a9278c3f6c8fddfaf977d3bcb6/cmake/Templates/setup-env.sh.in#L4
On a from-source version of Linux (running GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)), I'm seeing an issue with the current setup-env.sh where it exits with:
Some light debugging, and I've found that this version of bash does not seem to like the code-pattern of:
Not 100% sure why (wasn't able to find any Bash 5 info on this), but:
seems to work insteadm
The text was updated successfully, but these errors were encountered: