* rdma-core: cmake minimum version issue on RH 6.5
@ 2016-09-29 11:40 Yishai Hadas
[not found] ` <5169a490-10b4-cb9f-d7b7-fb552692f1f6-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Yishai Hadas @ 2016-09-29 11:40 UTC (permalink / raw)
To: Jason Gunthorpe
Cc: linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org),
Doug Ledford, yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org,
alaa-VPRAkNaXOzVWk0Htik3J/w, Majd Dibbiny
Hi Jason,
Currently there is a hard requirement of cmake minimum version of 2.8.11
to build the rdma-core project. (i.e. cmake_minimum_required(VERSION
2.8.11 ATAL_ERROR)).
Trying to build with default yum install of cmake on RH6.5 fails as it
doesn't meet the above requirement. (i.e. cmake version 2.6-patch 4).
As a test phase, we tried to comment out this limitation from the cmake
files, however, the build failed with few other errors. (e.g. CMake
Error at buildlib/rdma_functions.cmake:39 (set_property):
set_property could not find TARGET APPEND_STRING. Perhaps it has not yet
been created).
Is it a real requirement for above cmake minimum version in this project
? if yes, where the appropriate cmake should come from to work on RH6.5.
Yishai
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <5169a490-10b4-cb9f-d7b7-fb552692f1f6-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>]
* Re: rdma-core: cmake minimum version issue on RH 6.5 [not found] ` <5169a490-10b4-cb9f-d7b7-fb552692f1f6-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org> @ 2016-09-29 15:08 ` Doug Ledford [not found] ` <57ED2E87.50008-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Doug Ledford @ 2016-09-29 15:08 UTC (permalink / raw) To: Yishai, Gunthorpe Jason Cc: RDMA mailing list, majd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org, Alaa Hleihel [-- Attachment #1.1: Type: text/plain, Size: 1173 bytes --] On 9/29/16 7:40 AM, Yishai Hadas wrote: > Hi Jason, > > Currently there is a hard requirement of cmake minimum version of 2.8.11 > to build the rdma-core project. (i.e. cmake_minimum_required(VERSION > 2.8.11 ATAL_ERROR)). > > > Trying to build with default yum install of cmake on RH6.5 fails as it > doesn't meet the above requirement. (i.e. cmake version 2.6-patch 4). > > As a test phase, we tried to comment out this limitation from the cmake > files, however, the build failed with few other errors. (e.g. CMake > Error at buildlib/rdma_functions.cmake:39 (set_property): > set_property could not find TARGET APPEND_STRING. Perhaps it has not yet > been created). > > Is it a real requirement for above cmake minimum version in this project > ? if yes, where the appropriate cmake should come from to work on RH6.5. > > Yishai > > Is anyone really running 6.5? I mean the current version in the 6 family is 6.8, and there are significant improvements between 6.5 and 6.8. -- Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> GPG Key ID: 0E572FDD Red Hat, Inc. 100 E. Davie St Raleigh, NC 27601 USA [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 907 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <57ED2E87.50008-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>]
* Re: rdma-core: cmake minimum version issue on RH 6.5 [not found] ` <57ED2E87.50008-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> @ 2016-09-29 16:46 ` Jason Gunthorpe [not found] ` <20160929164653.GC774-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Jason Gunthorpe @ 2016-09-29 16:46 UTC (permalink / raw) To: Doug Ledford Cc: Yishai, RDMA mailing list, majd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org, Alaa Hleihel On Thu, Sep 29, 2016 at 11:08:55AM -0400, Doug Ledford wrote: > On 9/29/16 7:40 AM, Yishai Hadas wrote: > > Hi Jason, > > > > Currently there is a hard requirement of cmake minimum version of 2.8.11 > > to build the rdma-core project. (i.e. cmake_minimum_required(VERSION > > 2.8.11 ATAL_ERROR)). > > > > > > Trying to build with default yum install of cmake on RH6.5 fails as it > > doesn't meet the above requirement. (i.e. cmake version 2.6-patch 4). > > > > As a test phase, we tried to comment out this limitation from the cmake > > files, however, the build failed with few other errors. (e.g. CMake > > Error at buildlib/rdma_functions.cmake:39 (set_property): > > set_property could not find TARGET APPEND_STRING. Perhaps it has not yet > > been created). > > > > Is it a real requirement for above cmake minimum version in this project > > ? if yes, where the appropriate cmake should come from to work on RH6.5. > Is anyone really running 6.5? I mean the current version in the 6 > family is 6.8, and there are significant improvements between 6.5 and 6.8. Indeed, I did my testing on CentOS 6.8 and everything is fine. I expect that RHEL6.8 has the same cmake version. Simple Options: - Upgrade to 6.8 and forget about 6.5, it is years old and deficient on security updates at this point? - Do your build on 6.8, the resulting binary should still work on 6.5? - Cherry pick the cmake RPM from 6.8 eg yum install ftp://fr2.rpmfind.net/linux/centos/6.8/os/x86_64/Packages/cmake-2.8.12.2-4.el6.x86_64.rpm - Use EPEL according to the README.md and install cmake3 from EPEL. I don't know if EPEL supports obsolete distros. > > Is it a real requirement for above cmake minimum version in this project > > ? if yes. It is a real requirement, cmake has lots of tools to deal with changes across versions so it could probably be relaxed, but I've tried to keep everything simple so I'm not excited about a bunch more stuff to support a 7 year old version of cmake. Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <20160929164653.GC774-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>]
* Re: rdma-core: cmake minimum version issue on RH 6.5 [not found] ` <20160929164653.GC774-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org> @ 2016-10-02 13:14 ` Doug Ledford 0 siblings, 0 replies; 4+ messages in thread From: Doug Ledford @ 2016-10-02 13:14 UTC (permalink / raw) To: Jason Gunthorpe Cc: Yishai, RDMA mailing list, majd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org, Alaa Hleihel [-- Attachment #1.1: Type: text/plain, Size: 891 bytes --] On 9/29/2016 12:46 PM, Jason Gunthorpe wrote: > On Thu, Sep 29, 2016 at 11:08:55AM -0400, Doug Ledford wrote: >> Is anyone really running 6.5? I mean the current version in the 6 >> family is 6.8, and there are significant improvements between 6.5 and 6.8. > > Indeed, I did my testing on CentOS 6.8 and everything is fine. I > expect that RHEL6.8 has the same cmake version. > > Simple Options: > - Upgrade to 6.8 and forget about 6.5, it is years old and deficient > on security updates at this point? I have no interest in trying to support 6.5. It's older than dirt. > - Do your build on 6.8, the resulting binary should still work on 6.5? I think is an acceptable workaround that allows us to not support 6.5 directly as it can be indirectly supported. -- Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> GPG Key ID: 0E572FDD [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 884 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-10-02 13:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-29 11:40 rdma-core: cmake minimum version issue on RH 6.5 Yishai Hadas
[not found] ` <5169a490-10b4-cb9f-d7b7-fb552692f1f6-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2016-09-29 15:08 ` Doug Ledford
[not found] ` <57ED2E87.50008-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-09-29 16:46 ` Jason Gunthorpe
[not found] ` <20160929164653.GC774-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-10-02 13:14 ` Doug Ledford
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox