RE: [bug-report]rdma-core v51.0 build error with Rocky Linux 8.8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >
> > The Python_EXECUTABLE is workaround that can be applied to a spec file.
> 
> OK, that is clear. If PYTHON_EXECUTABLE no longer works that is a well
> understandable issue.
> 
> Something like this maybe?
> 
> --- a/CMakeLists.txt
> +++ b/CMakeLists.txt
> @@ -216,6 +216,9 @@ endif()
> 
>  # Use Python modules based on CMake version for backward compatibility
> set(CYTHON_EXECUTABLE "")
> +if (${PYTHON_EXCUTABLE})
> +  set(Python_EXECUTABLE ${PYTHON_EXCUTABLE})
> +endif()
>  if (${CMAKE_VERSION} VERSION_LESS "3.12")
>    # Look for Python. We prefer some variant of python 3 if the system has it
>    FIND_PACKAGE(PythonInterp 3 QUIET)
> 
> Jason
Ok.  I will give that a try.

Mike





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux