示例#1
0
文件: maker.py 项目: zhenguonie/petsc
 def configure(self, builder):
     framework = Make.configure(self, builder)
     self.setCompilers = framework.require('config.setCompilers', None)
     self.compilers = framework.require('config.compilers', None)
     self.libraries = framework.require('config.libraries', None)
     self.headers = framework.require('config.headers', None)
     return framework
示例#2
0
 def configure(self, builder):
   framework = Make.configure(self, builder)
   self.setCompilers = framework.require('config.setCompilers', None)
   self.compilers = framework.require('config.compilers', None)
   self.libraries = framework.require('config.libraries', None)
   self.headers = framework.require('config.headers', None)
   return framework
示例#3
0
文件: maker.py 项目: zhenguonie/petsc
 def setupConfigure(self, framework):
     '''We always want to configure'''
     Make.setupConfigure(self, framework)
     framework.require('config.setCompilers', self.configureObj)
     framework.require('config.compilers', self.configureObj)
     framework.require('config.libraries', self.configureObj)
     framework.require('config.headers', self.configureObj)
     return 1
示例#4
0
 def setupConfigure(self, framework):
   '''We always want to configure'''
   Make.setupConfigure(self, framework)
   framework.require('config.setCompilers', self.configureObj)
   framework.require('config.compilers', self.configureObj)
   framework.require('config.libraries', self.configureObj)
   framework.require('config.headers', self.configureObj)
   return 1
示例#5
0
文件: maker.py 项目: 00liujj/petsc
 def configure(self, builder):
   import graph
   framework = Make.configure(self, builder)
   if framework is None:
     for depMake, depSidlFiles in graph.DirectedGraph.topologicalSort(self.dependencyGraph, outEdges = 0):
       if depMake is self: continue
       self.logPrint('Loading configure for '+depMake.getRoot())
       framework = depMake.loadConfigure()
       if not framework is None:
         self.framework         = framework
         self.builder.framework = framework
         break
   if framework is None:
     raise RuntimeError('Could not find a configure framework')
   self.compilers = framework.require('config.compilers', None)
   self.libraries = framework.require('config.libraries', None)
   self.python    = framework.require('config.python', None)
   self.ase       = framework.require('config.ase', None)
   if self.configureObj is None:
     if self.configureMod is None:
       self.configureObj = framework.require('configure', None)
     else:
       self.configureObj = framework.require(self.configureMod.__name__, None)
   return framework
示例#6
0
文件: maker.py 项目: 00liujj/petsc
 def setupConfigure(self, framework):
   framework.require('config.libraries', None)
   framework.require('config.python', None)
   framework.require('config.ase', None)
   return Make.setupConfigure(self, framework)