roctracer
roctracer copied to clipboard
Support virtualenv/Anaconda Python environments
If trying to compile roctracer without root access, virtual environments may define their own Python binaries. Since CMake executes the .py files directly, the #! header enforces one binary to be executed.
This PR solves the problem by executing Python with the script as an argument.