Add checksum for rdma-core@39.1 (#29921)

This commit is contained in:
iarspider 2022-04-07 23:34:19 +02:00 committed by GitHub
parent e73cf5df44
commit dd6f4e680a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,7 @@ class RdmaCore(CMakePackage):
url = "https://github.com/linux-rdma/rdma-core/releases/download/v17.1/rdma-core-17.1.tar.gz"
libraries = ['librdmacm.so']
version('39.1', sha256='32ccd5c990d34605b6e996de991528ef01d278ad06bcf62ccf8a32edb118c335')
version('39.0', sha256='f6eaf0de9fe386e234e00a18a553f591143f50e03342c9fdd703fa8747bf2378')
version('34.0', sha256='3d9ccf66468cf78f4c39bebb8bd0c5eb39150ded75f4a88a3455c4f625408be8')
version('33.1', sha256='d179b102bec551ce62265ed463d1095fb2ae9baff604261ad63327fcd20650e5')
@ -50,9 +51,13 @@ def determine_version(cls, lib):
def cmake_args(self):
cmake_args = [
'-DCMAKE_INSTALL_SYSCONFDIR={0}'.format(self.spec.prefix.etc),
'-DCMAKE_INSTALL_RUNDIR=/var/run',
'-DPYTHON_LIBRARY={0}'.format(self.spec['python'].libs[0]),
'-DPYTHON_INCLUDE_DIR={0}'
.format(self.spec['python'].headers.directories[0])
'-DCMAKE_INSTALL_RUNDIR=/var/run'
]
if self.spec.satisfies('@:39.0'):
cmake_args.extend([
self.define('PYTHON_LIBRARY', self.spec['python'].libs[0]),
self.define('PYTHON_INCLUDE_DIR',
self.spec['python'].headers.directories[0])
])
return cmake_args