These lines fail, because there is no such member, and looking at other packages, it seems that flags like
self.compiler.cc_pic_flag
self.compiler.cxx_pic_flag
self.compiler.fc_pic_flag
#or ?
self.compiler.f77_pic_flag
would be appropriate.
|
'CFLAGS={0}'.format(self.compiler.pic_flag), |
|
'CXXFLAGS={0}'.format(self.compiler.pic_flag), |
|
'FFLAGS={0}'.format(self.compiler.pic_flag) |
I triggered this on recent devel (today) by
spack install --test=root elmerfem@devel +mpi +hypre +lua +mumps +openmp +scatt2d +trilinos +zoltan
These lines fail, because there is no such member, and looking at other packages, it seems that flags like
would be appropriate.
spack/var/spack/repos/builtin/packages/nn-c/package.py
Lines 29 to 31 in 601f97d
I triggered this on recent
devel(today) by