change recurse into recursive in a few places (#7342)
This commit is contained in:
parent
3089207ced
commit
98949bd79b
8 changed files with 10 additions and 10 deletions
|
@ -45,7 +45,7 @@ class Bzip2(Package):
|
|||
def libs(self):
|
||||
shared = '+shared' in self.spec
|
||||
return find_libraries(
|
||||
'libbz2', root=self.prefix, shared=shared, recurse=True
|
||||
'libbz2', root=self.prefix, shared=shared, recursive=True
|
||||
)
|
||||
|
||||
def patch(self):
|
||||
|
|
|
@ -118,7 +118,7 @@ def libs(self):
|
|||
|
||||
libraries.append('libfftw3' + sfx)
|
||||
|
||||
return find_libraries(libraries, root=self.prefix, recurse=True)
|
||||
return find_libraries(libraries, root=self.prefix, recursive=True)
|
||||
|
||||
def autoreconf(self, spec, prefix):
|
||||
if '+pfft_patches' in spec:
|
||||
|
|
|
@ -258,7 +258,7 @@ def mpi_libs(self):
|
|||
libraries = ['libmpicxx'] + libraries
|
||||
|
||||
return find_libraries(
|
||||
libraries, root=mpi_root, shared=True, recurse=True
|
||||
libraries, root=mpi_root, shared=True, recursive=True
|
||||
)
|
||||
|
||||
@property
|
||||
|
@ -266,7 +266,7 @@ def mpi_headers(self):
|
|||
# recurse from self.prefix will find too many things for all the
|
||||
# supported sub-architectures like 'mic'
|
||||
mpi_root = self.prefix.compilers_and_libraries.linux.mpi.include64
|
||||
return find_headers('mpi', root=mpi_root, recurse=False)
|
||||
return find_headers('mpi', root=mpi_root, recursive=False)
|
||||
|
||||
@property
|
||||
def components(self):
|
||||
|
|
|
@ -68,10 +68,10 @@ class Libxsmm(MakefilePackage):
|
|||
@property
|
||||
def libs(self):
|
||||
result = find_libraries(['libxsmm', 'libxsmmf'], root=self.prefix,
|
||||
recurse=True)
|
||||
recursive=True)
|
||||
if len(result) == 0:
|
||||
result = find_libraries(['libxsmm', 'libxsmmf'], root=self.prefix,
|
||||
shared=False, recurse=True)
|
||||
shared=False, recursive=True)
|
||||
return result
|
||||
|
||||
def edit(self, spec, prefix):
|
||||
|
|
|
@ -42,5 +42,5 @@ class NetcdfCxx(AutotoolsPackage):
|
|||
def libs(self):
|
||||
shared = True
|
||||
return find_libraries(
|
||||
'libnetcdf_c++', root=self.prefix, shared=shared, recurse=True
|
||||
'libnetcdf_c++', root=self.prefix, shared=shared, recursive=True
|
||||
)
|
||||
|
|
|
@ -45,5 +45,5 @@ class NetcdfCxx4(AutotoolsPackage):
|
|||
def libs(self):
|
||||
shared = True
|
||||
return find_libraries(
|
||||
'libnetcdf_c++4', root=self.prefix, shared=shared, recurse=True
|
||||
'libnetcdf_c++4', root=self.prefix, shared=shared, recursive=True
|
||||
)
|
||||
|
|
|
@ -54,7 +54,7 @@ class NetlibXblas(AutotoolsPackage):
|
|||
@property
|
||||
def libs(self):
|
||||
return find_libraries(['libxblas'], root=self.prefix,
|
||||
shared=False, recurse=True)
|
||||
shared=False, recursive=True)
|
||||
|
||||
def configure_args(self):
|
||||
args = []
|
||||
|
|
|
@ -234,5 +234,5 @@ def cmake_args(self):
|
|||
def libs(self):
|
||||
shared = "+shared" in self.spec
|
||||
return find_libraries(
|
||||
"libopencv_*", root=self.prefix, shared=shared, recurse=True
|
||||
"libopencv_*", root=self.prefix, shared=shared, recursive=True
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue