style: bring packages in compliance with pep8-naming
This commit is contained in:
@@ -54,11 +54,11 @@ def fortran_check(self):
|
||||
def install(self, spec, prefix):
|
||||
mkdir(prefix.bin)
|
||||
|
||||
FC = self.compiler.fc
|
||||
CC = self.compiler.cc
|
||||
fc = self.compiler.fc
|
||||
cc = self.compiler.cc
|
||||
if '+mpi' in spec:
|
||||
FC = spec['mpi'].mpif77
|
||||
CC = spec['mpi'].mpicc
|
||||
fc = spec['mpi'].mpif77
|
||||
cc = spec['mpi'].mpicc
|
||||
|
||||
# Install Nekbone in prefix.bin
|
||||
install_tree("../Nekbone", prefix.bin.Nekbone)
|
||||
@@ -73,8 +73,8 @@ def install(self, spec, prefix):
|
||||
with working_dir(prefix.bin):
|
||||
filter_file(r'^SOURCE_ROOT\s*=.*', 'SOURCE_ROOT=\"' +
|
||||
prefix.bin.Nekbone + '/src\"', 'makenek')
|
||||
filter_file(r'^CC\s*=.*', 'CC=\"' + CC + '\"', 'makenek')
|
||||
filter_file(r'^F77\s*=.*', 'F77=\"' + FC + '\"', 'makenek')
|
||||
filter_file(r'^CC\s*=.*', 'CC=\"' + cc + '\"', 'makenek')
|
||||
filter_file(r'^F77\s*=.*', 'F77=\"' + fc + '\"', 'makenek')
|
||||
|
||||
if '+mpi' not in spec:
|
||||
filter_file(r'^#IFMPI=\"false\"', 'IFMPI=\"false\"', 'makenek')
|
||||
|
Reference in New Issue
Block a user