[Beignet] [PATCH] Always explicitly use the python interpreter found to execute pytho script

Zhigang Gong zhigang.gong at linux.intel.com
Tue Sep 9 22:52:15 PDT 2014


Pushed, thanks for your contribution.

On Tue, Sep 09, 2014 at 08:31:20PM -0400, Yichao Yu wrote:
> On system where it is necessary to specify python interpreter other than the default one at configure time (i.e. on ArchLinux where python3 is the default) executing python2 script with the default python interpreter (python3) does not work. This patch make sure the scripts are always executed with the correct interpreter specified.
> 
> Tested and it compiles.
> 
> Yichao Yu (1):
>   Use ${PYTHON_EXECUTABLE} to run python scripts.
> 
>  backend/src/libocl/CMakeLists.txt | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> -- 
> 2.1.0
> 
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list