summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/mixins/pgi.py
Commit message (Collapse)AuthorAgeFilesLines
* use real pathlib moduleDylan Baker2020-11-201-1/+1
| | | | | We added the _pathlib module to work around defeciencies in python 3.5's implementation, since we now rely on 3.6 lets drop this
* pathlib: Fix resolve() by overriding it in Python 3.5Daniel Mensinger2020-10-041-1/+1
|
* compilers: move get_dependency_gen_args to base CompilerDylan Baker2020-10-011-3/+0
| | | | | | So that every subclass doesn't have to reimplement it. Especially since the Gnu implementation moved out of the CCompiler and into the GnuLikeCompiler mixin
* compilers: fully type annotate the C compilersDylan Baker2020-10-011-1/+2
|
* compilers: Tell mypy that the compiler mixins are just thatDylan Baker2020-09-241-6/+8
| | | | | | We do this by making the mixins inherit the Compiler class only when mypy is examining the code (using some clever inheritance shenanigans). This caught a bunch of issues, and also lets us delete a ton of code.
* compilers/mixins/pgi: Make type safeDylan Baker2020-09-241-2/+11
|
* types: import typing as T (fixes #6333)Daniel Mensinger2020-01-081-14/+14
|
* compilers: replace CompilerType with MachineInfoDylan Baker2019-10-071-6/+2
| | | | | | Now that the linkers are split out of the compilers this enum is only used to know what platform we're compiling for. Which is what the MachineInfo class is for
* PGI cannot accept -pthreadMichael Hirsch, Ph.D2019-09-051-0/+4
|
* PGI: use ar link wrapper on WindowsMichael Hirsch, Ph.D2019-09-051-1/+1
|
* compilers: Dispatch to dynamic linker classDylan Baker2019-08-141-25/+1
| | | | | Most of the cuda code is from Olexa Bilaniuk. Most of the PGI code is from Michael Hirsc
* compilers/mixins/pgi: simplify pic logicMichael Hirsch, Ph.D2019-08-141-3/+3
|
* default libtype to static to allow windows compilers to not skipMichael Hirsch, Ph.D2019-07-301-3/+5
| | | | | | To make Fortran tests useful on Windows, the library_type should default to static, unless needed to specifically test shared. Shared Fortran libs on Windows for non-Gfortran compilers is fragile requiring proprietary code syntax.
* no special shared lib args for PGIMichael Hirsch, Ph.D2019-07-301-0/+3
|
* PGI -shared is for Linux onlyMichael Hirsch, Ph.D2019-07-301-1/+8
|
* PGI: cpp_pch precompiled headers functionalityMichael Hirsch, Ph.D2019-07-301-1/+17
| | | | | | | | | | | | | | | * PGI C++ PCH enable PGI compilers support precompiled headers for C++ only. The common/13 pch test passes if run manually with no spaces in the build path. However, since Meson run_project_tests.py makes temporary build directories with spaces in each tests, PGI --pch_dir can't handle this and fails. So we skip the test for PGI despite it working for usual case with no-spaces in build dir. Note: it's fine to have spaces in full path for sourcedir, just no spaces in relative path to builddir. * doc
* compilers/mixins/pgi: Finish type annoationsDylan Baker2019-07-151-21/+27
|
* compilers: split pgi compiler out of compilers moduleDylan Baker2019-07-151-0/+89