Skip to content

Comments

Support virtualenv/Anaconda Python environments#44

Open
tbennun wants to merge 1 commit intoROCm:amd-masterfrom
tbennun:patch-1
Open

Support virtualenv/Anaconda Python environments#44
tbennun wants to merge 1 commit intoROCm:amd-masterfrom
tbennun:patch-1

Conversation

@tbennun
Copy link

@tbennun tbennun commented Aug 2, 2020

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant