Re: [PATCH rdma-core 1/2] buildlib: use cmake to find python

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

 




Le 13/11/2017 à 20:31, Jason Gunthorpe a écrit :
> On Mon, Nov 13, 2017 at 02:00:15PM +0100, Nicolas Morey-Chaisemartin wrote:
>> Depending on the system, python might not be available as pythomn (but python2, python3, etc.)
>> Use FIND_PACKAGE to get the right executable.
> Looks fine to me.
>
>>    # Compute a relative symlink from VERBS_PROVIDER_DIR to LIBDIR
>> -  execute_process(COMMAND python ${CMAKE_SOURCE_DIR}/buildlib/relpath
>> +  execute_process(COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/buildlib/relpath
> I'm assuming this little script works with python3 ?
>
> cbuild won't though..
>

We can work on that later.
cbuild is mostly used for testing so as long as the basic tests are not run directly on TW we should be fine.
And when the time comes, we'll find a work around for TW too.

Nicolas
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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