Closed mrexodia closed 11 months ago
Hi @mrexodia, what's the status of this PR? Can I attempt to rebase and merge it?
From my side this is finished and working. Just for unclear reasons that I cannot reproduce the CI fails.
Great, thanks for the update @mrexodia. I'll test it on my side and check the CI fails.
The
find_package(PythonInterp)
andfind_package(PythonLibs)
are deprecated and on my system they were returning results from two different python versions installed (interpreter from my PATH and libraries from homebrew's python). This caused me to run into this (very confusing) error: https://github.com/JonathanSalwan/Triton/issues/1145#issuecomment-1206549486The
Python3
package fixed this behaviour and I made sure to keep the interface compatible (PYTHON_XXX
variables work the same). The default behaviour (you just runcmake -B build
) now also finds the python the user would expect (the one that's currently in the PATH) and things are working properly from a virtual environment. Here is arequirements.txt
to test: