The problem with this code from package.py is it rejects a package for a 
large variety of reasons but cannot print which reason it is rejecting it! Thus 
we waste hours and tons of emails debugging something that doesn't need to be 
debugged.

   Barry

    # if user did not request option, then turn it off it conflicts with 
configuration
    if self.lookforbydefault and 'with-'+self.package not in 
self.framework.clArgDB:
      if (self.cxx and not hasattr(self.compilers, 'CXX')) or \
         (self.fc and not hasattr(self.compilers, 'FC')) or \
         (self.noMPIUni and self.mpi.usingMPIUni) or \
         (self.requirescxx11 and self.compilers.cxxdialect != 'C++11') or \
         (not self.defaultPrecision.lower() in self.precisions) or \
         (not self.complex and self.defaultScalarType.lower() == 'complex') or \
         (self.defaultIndexSize == 64 and self.requires32bitint):
       self.argDB['with-'+self.package] = 0


Reply via email to