Commit Graph

13 Commits

Author SHA1 Message Date
Dylan Baker b6c8b8a5be compilers/mixins/pgi: Make type safe 2020-09-24 12:14:13 -07:00
Daniel Mensinger 09b53c534f types: import typing as T (fixes #6333) 2020-01-08 15:28:17 +01:00
Dylan Baker 0c22798b1a compilers: replace CompilerType with MachineInfo
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
2019-10-07 12:08:20 -07:00
Michael Hirsch, Ph.D b9af8f8b6b
PGI cannot accept -pthread 2019-09-05 11:58:10 -04:00
Michael Hirsch, Ph.D c8d380e4ef
PGI: use ar link wrapper on Windows 2019-09-05 11:50:17 -04:00
Dylan Baker 06dcbd50ee compilers: Dispatch to dynamic linker class
Most of the cuda code is from Olexa Bilaniuk.
Most of the PGI code is from Michael Hirsc
2019-08-14 13:13:23 -07:00
Michael Hirsch, Ph.D f5f7a7bbb3 compilers/mixins/pgi: simplify pic logic 2019-08-14 13:13:22 -07:00
Michael Hirsch, Ph.D d0e78a2534
default libtype to static to allow windows compilers to not skip
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.
2019-07-30 15:31:00 -04:00
Michael Hirsch, Ph.D 7eebb6749a
no special shared lib args for PGI 2019-07-30 15:29:51 -04:00
Michael Hirsch, Ph.D 1e08d81476
PGI -shared is for Linux only 2019-07-30 15:29:50 -04:00
Michael Hirsch, Ph.D 1e53f67187 PGI: cpp_pch precompiled headers functionality
* 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
2019-07-30 18:07:20 +03:00
Dylan Baker 42d34095b4 compilers/mixins/pgi: Finish type annoations 2019-07-15 10:59:22 -07:00
Dylan Baker fab47c5680 compilers: split pgi compiler out of compilers module 2019-07-15 10:59:22 -07:00