Lines Matching refs:lang

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)
327 if not lang: return
329 self.tests[pkg][lang][nmtest]={}
330 self.tests[pkg][lang][nmtest]['exfile']=os.path.join(rpath,exfile)
331 self.tests[pkg][lang][nmtest]['exec']=execname
332 self.tests[pkg][lang][nmtest]['argLabel']=self.getArgLabel(testDict)
670 lang=self.getLanguage(exfile)
671 if (lang=="F" or lang=="F90"):
674 if lang=="cu" and 'PETSC_HAVE_CUDA' not in self.conf:
676 if lang=="hip" and 'PETSC_HAVE_HIP' not in self.conf:
678 if lang=="sycl" and 'PETSC_HAVE_SYCL' not in self.conf:
680 if lang=="kokkos_cxx" and 'PETSC_HAVE_KOKKOS' not in self.conf:
682 if lang=="raja_cxx" and 'PETSC_HAVE_RAJA' not in self.conf:
684 if lang=="cxx" and 'PETSC_HAVE_CXX' not in self.conf:
686 if lang=="cpp" and 'PETSC_HAVE_CXX' not in self.conf:
866 for lang in LANGS: allSrcs+=self.sources[pkg][lang]['srcs']
955 for lang in LANGS:
956 if srcs[lang]['srcs']:
957 …%(stem)s.%(lang)s := %(srcs)s\n' % dict(stem=stem, lang=lang.replace('_','.'), srcs=' '.join(srcs[
962 for lang in LANGS:
963 for exfile in srcs[lang]['srcs']:
964 if exfile in srcs[lang]:
967 deps = [os.path.join('$(TESTDIR)', dep) for dep in srcs[lang][exfile]]
1007 for lang in LANGS:
1009 for ftest in self.tests[pkg][lang]:
1013 fd.write("test-"+pkg+"."+lang.replace('_','.')+" := "+' '.join(testdeps)+"\n")
1014 …fd.write('test-%s.%s : $(test-%s.%s)\n' % (pkg, lang.replace('_','.'), pkg, lang.replace('_','.')))
1017 for ftest in self.tests[pkg][lang]:
1026 exfile=self.tests[pkg][lang][ftest]['exfile']
1028 localexec=self.tests[pkg][lang][ftest]['exec']
1038 execname if exfile in self.sources[pkg][lang]['srcs'] else fullex)
1040 if exfile in self.sources[pkg][lang]:
1041 for dep in self.sources[pkg][lang][exfile]:
1046 fd.write(nmtest+"_ARGS := '"+self.tests[pkg][lang][ftest]['argLabel']+"'\n")