| /petsc/config/ |
| H A D | gmakegentest.py | 143 for lang in LANGS: 144 self.sources[pkg][lang]={} 145 self.sources[pkg][lang]['srcs']=[] 146 self.tests[pkg][lang]={} 302 lang=self.getLanguage(exfile) 303 if not lang: return 305 self.sources[pkg][lang]['srcs'].append(relpfile) 306 self.sources[pkg][lang][relpfile] = [] 311 self.sources[pkg][lang][relpfile].append(os.path.join(rpath,depObj)) 326 lang=self.getLanguage(exfile) [all …]
|
| H A D | gmakegen.py | 154 for lang, sourcelang in LANGS.items(): 155 source[lang] = [f for f in files if f.endswith('.'+lang.replace('_','.'))] 156 files = [f for f in files if not f.endswith('.'+lang.replace('_','.'))] 162 for lang in LANGS: 163 pkgsrcs[lang] = [] 193 for lang, s in source.items(): 194 pkgsrcs[lang] += [mkrel(t) for t in s] 200 for lang in LANGS: 201 …em)s.%(lang)s := %(srcs)s\n' % dict(stem=stem, lang=lang.replace('_','.'), srcs=' '.join(sorted(sr… 211 for lang in LANGS: [all …]
|
| H A D | configure.py | 13 def fixLang(lang): argument 14 if lang in os.environ and os.environ[lang] != '': 15 lv = os.environ[lang] 21 os.environ[lang] = lv
|
| /petsc/doc/ext/ |
| H A D | html5_petsc.py | 146 lang = node.get('language', 'default') 150 opts = self.config.highlight_options.get(lang, {}) 156 node.rawsource, lang, opts=opts, linenos=linenos, 165 CLASS='highlight-%s notranslate' % lang) 177 lang = node.get("language", None) 178 if 'code' not in node['classes'] or not lang: 184 opts = self.config.highlight_options.get(lang, {}) 186 node.astext(), lang, opts=opts, location=node, nowrap=True) 191 CLASS="docutils literal highlight highlight-%s" % lang,
|
| /petsc/config/PETSc/ |
| H A D | Configure.py | 412 if self.languages.clanguage == 'C': lang = 'CONLY' 413 else: lang = 'CXXONLY' 414 self.addMakeMacro('PETSC_LANGUAGE',lang) 713 lang = self.languages.clanguage 714 with self.Language(lang): 715 is_intel = self.setCompilers.isIntel(self.getCompiler(lang=lang), self.log) 754 def getFunctionName(lang): argument 756 self.pushLanguage(lang) 926 …def configureCoverageForLang(self, log_printer_cls, lang, extra_coverage_flags=None, extra_debug_f… argument 951 log_print('Checking coverage flag for language {}'.format(lang)) [all …]
|
| /petsc/config/BuildSystem/config/packages/ |
| H A D | SYCL.py | 51 size = self.types.checkSizeof('void *', (8, 4), lang='SYCL', save=False) 69 …sycl_size = self.types.checkSizeof('teststruct', (16, 12), lang='SYCL', codeBegin=typedef, save=Fa… 70 … c_size = self.types.checkSizeof('teststruct', (16, 12), lang='C', codeBegin=typedef, save=False)
|
| H A D | kokkos.py | 100 lang = 'cxx' 106 lang = 'cuda' 167 lang = 'hip' 188 lang = 'sycl' 205 langdialect = getattr(self.setCompilers,lang+'dialect',None)
|
| H A D | HIP.py | 93 size = self.types.checkSizeof('void *', (8, 4), lang='HIP', save=False) 111 …hip_size = self.types.checkSizeof('teststruct', (16, 12), lang='HIP', codeBegin=typedef, save=Fals… 112 … c_size = self.types.checkSizeof('teststruct', (16, 12), lang='C', codeBegin=typedef, save=False)
|
| H A D | CUDA.py | 264 size = self.types.checkSizeof('void *', (8, 4), lang='CUDA', save=False) 298 …cuda_size = self.types.checkSizeof('teststruct', (16, 12), lang='CUDA', codeBegin=typedef, save=Fa… 299 … c_size = self.types.checkSizeof('teststruct', (16, 12), lang='C', codeBegin=typedef, save=False)
|
| /petsc/ |
| H A D | gmakefile.test | 159 $(foreach lang, $(testlangs), $(eval\ 160 testexe.$(lang) = $(foreach pkg, $(pkgs), $(testsrcs-$(pkg).$(lang):%.$(lang)=$(TESTDIR)/%)))) 161 concattestlang = $(foreach lang, $(2), $(testsrcs-$(1).$(lang):%.$(lang)=$(TESTDIR)/%.o)) 163 testsrcs-rel := $(foreach pkg, $(pkgs), $(foreach lang, $(testlangs), $(testsrcs-$(pkg).$(lang)))) 318 …$(foreach pkg, $(pkgs), test-$(pkg) $(foreach lang, $(testlangs), test-$(pkg).$(lang) test-rm-$(pk… 320 # Targets to run tests in test-$pkg.$lang and delete the executables, language by language 321 $(testpkgs) : test-% : $(foreach lang, $(testlangs), test-rm-%.$(lang)) 323 alltesttargets := $(foreach tp, $(testpkgs), $(foreach lang, $(testlangs), $($(tp).$(lang)))) 332 # Targets to run tests and remove executables, by package-lang pairs. 337 alltest-rm := $(foreach pkg, $(pkgs), $(foreach lang, $(testlangs), test-rm-$(pkg).$(lang)))
|
| H A D | gmakefile | 96 concatlang = $(foreach lang, $(langs), $(srcs-$(1).$(lang):%.$(lang)=$(OBJDIR)/%.o)) 99 concatlangsrc = $(foreach lang, $(langs), $(srcs-$(1).$(lang)))
|
| /petsc/config/BuildSystem/config/ |
| H A D | setCompilers.py | 748 compilerName = self.getCompiler(lang='Cxx') 947 lang,LANG = language.lower(),language.upper() 948 compiler = self.getCompiler(lang=language) 957 …dialect version for language "{lang}" using compiler "{compiler}"'.format(lang=LANG,compiler=compi… 964 setPreviouslyAttrName = lang+'dialect_set_explicitly__' 972 configureArg = lang.join(['with-','-dialect']) 1030 self.delDefine('HAVE_{lang}_DIALECT_CXX{ver}'.format(lang=LANG,ver=dlct.num)) 1070 …{lang}'.format(dlct=withLangDialect,expl='EXPLICITLY' if explicit else 'NOT explicitly',lang=LANG)) 1095 )).format(lang=LANG,dlct=withLangDialect,kind=kind,packdlct=packageBound) 1102 )).format(lang=LANG,dlct=startDialect,kind=kind,packdlct=packageBound)) [all …]
|
| H A D | types.py | 99 …def checkSizeof(self, typeName, typeSizes, otherInclude = None, lang='C', save=True, codeBegin=''): argument 120 with self.Language(lang):
|
| H A D | base.py | 334 def Language(self, lang): argument 335 if lang is None: 339 yield self.pushLanguage(lang) 354 def getCompiler(self, lang=None): argument 355 with self.Language(lang):
|
| H A D | package.py | 2005 lang = self.framework.pushLanguage('Cxx').lower() 2021 langdialect = getattr(self.setCompilers,lang+'dialect',None)
|
| /petsc/config/PETSc/options/ |
| H A D | scalarTypes.py | 106 isGNU = self.setCompilers.isGNU(self.getCompiler(lang='Cxx'), self.log)
|
| /petsc/config/BuildSystem/ |
| H A D | script.py | 316 d['languageModule'] = dict([(lang,mod._loadName) for lang,mod in d['languageModule'].items()])
|
| /petsc/doc/ |
| H A D | petsc.bib | 23701 ….oup.com/academic/product/finite-elements-and-fast-iterative-solvers-9780199678792?cc=us&lang=en&},
|