Home
last modified time | relevance | path

Searched refs:includes (Results 1 – 25 of 182) sorted by relevance

12345678

/petsc/config/BuildSystem/config/
H A Dtypes.py26 def check(self, typeName, defaultType = None, includes = []): argument
34 ''' % ('\n'.join(['#include<%s>' % inc for inc in includes]))
44 if self.check('struct sigaction', includes = ['signal.h']):
77 includes = '#include <complex.h>\n'
79 …if not self.checkCompile(includes, body): return # checkLink can succeed even if checkCompile f…
80 if self.checkLink(includes, body):
82 includes = '#define _GNU_SOURCE\n#include <complex.h>\n'
83 if not self.checkCompile(includes, body): return
91 includes = '#include <complex>\n'
93 if self.checkLink(includes, body):
[all …]
H A Dheaders.py53 def toString(self,includes): argument
55 return ' '.join([self.getIncludeArgument(include) for include in includes])
57 def toStringNoDupes(self,includes,modincludes=[]): argument
60 for include in includes:
64 includes = newincludes
66 for j in includes:
124 includes = '''
130 haveStdC = self.checkCompile(includes)
137 includes = '''
150 if not self.checkRun(includes, body): haveStdC = 0
[all …]
H A Dbase.py437 def getCode(self, includes, body = None, codeBegin = None, codeEnd = None): argument
439 if includes and not includes[-1] == '\n':
440 includes += '\n'
444 codeStr += '#include "conffix.h"\n'+includes
457 if not includes is None and body is None:
458 codeStr = includes
464 if not includes is None:
465 codeBegin = codeBegin+includes
529 def outputCompile(self, includes = '', body = '', cleanup = 1, codeBegin = None, codeEnd = None): argument
536 self.logWrite('Source:\n'+self.getCode(includes, body, codeBegin, codeEnd))
[all …]
H A Dfunctions.py47 includes = '''
55 includes += '''
59 includes += ''.join(map(genIncludes,funcs))
60 includes += '''
77 found = self.checkLink(includes, body, examineOutput=examineOutput)
H A Dlibraries.py229 includes = ''
231 includes = '/* Override any gcc2 internal prototype to avoid an error. */\n'
234 includes += '''
239 includes += '\n'.join([genPreamble(f, fname) for f, fname in enumerate(funcs)])
242 includes += '''
285 if found and self.checkLink(includes, body, linkLanguage=linklang, examineOutput=examineOutput):
287 …if self.compilers.checkCrossLink(includes+'\nvoid dummy(void) {'+body+'}\n'," program main\n …
411 …def checkShared(self, includes, initFunction, checkFunction, finiFunction = None, checkLink = None… argument
451 …if not checkLink(includes, body, cleanup = 0, codeBegin = codeBegin, codeEnd = codeEnd, shared = 1…
475 …if not checkLink(includes, body, cleanup = 0, codeBegin = codeBegin, codeEnd = codeEnd, shared = 1…
/petsc/config/BuildSystem/config/utilities/
H A DcacheDetails.py112 for func_name,includes in self.L1CacheLineSizeMethods(attr.default):
113 if not self.checkCompile(includes=includes,body=func_name+'();'):
116 main_includes = '\n'.join(['#include <stdio.h>',includes])
118 if self.checkRun(includes=main_includes,body=main_body) and os.path.exists(filename):
/petsc/config/BuildSystem/config/packages/
H A DOpenCL.py9 self.includes = ['OpenCL/cl.h']
11 self.includes = ['CL/cl.h']
H A DHIP.py17 self.includes = ['hip/hip_runtime.h']
61 self.includes = ['hip/hip_runtime.h', 'rocprofiler-sdk-roctx/roctx.h']
67 self.includes = ['hip/hip_runtime.h', 'roctracer/roctx.h']
73 self.includes = ['hip/hip_runtime.h', 'roctx.h']
H A Dgiflib.py7 self.includes = ['gif_lib.h']
H A Dyaml.py9 self.includes = ['yaml.h']
H A Dmemkind.py8 self.includes = ['hbwmalloc.h']
H A Dpugixml.py9 self.includes = ['pugixml.hpp']
H A Dgmp.py10 self.includes = ['gmp.h']
H A DX.py8 self.includes = ['X11/Xlib.h']
H A Dopengles.py8 self.includes = []
H A Dszlib.py11 self.includes = ['szlib.h']
H A DOpenGL.py8 self.includes = ['GL/gl.h','GL/glu.h']
H A Dunittestcpp.py9 self.includes = ['UnitTest++.h']
H A Dlibjpeg.py10 self.includes = ['jpeglib.h']
H A Dspdlog.py12 self.includes = ['spdlog/spdlog.h']
H A Dglut.py8 self.includes = ['GLUT/glut.h']
H A Dpami.py7 self.includes = ['pami.h']
H A Dsilo.py9 self.includes = ['silo.h']
/petsc/doc/overview/
H A Dindex.md4 includes a large suite of scalable parallel **linear and nonlinear
6 C, C++, Fortran, and Python. In addition, PETSc includes support for
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/
H A D_utility.py258 includes = output.stderr.split('#include <...> search starts here:\n')[1]
259includes = includes.split('End of search list.', maxsplit=1)[0].replace('(framework directory)', '…
260 return [f'-I{Path(i.strip()).resolve()}' for i in includes.splitlines() if i]

12345678