diff options
author | Michael Hirsch, Ph.D <10931741+scivision@users.noreply.github.com> | 2019-07-30 11:07:20 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-07-30 18:07:20 +0300 |
commit | 1e53f67187a5df2eff19e65416f4e4c8d06f6257 (patch) | |
tree | b7ef43a6afc033b3db404535a8b2cac52539a4c6 /mesonbuild/compilers/cpp.py | |
parent | 986587067cf49d4466a706f94c8247e6992873c8 (diff) | |
download | meson-1e53f67187a5df2eff19e65416f4e4c8d06f6257.zip meson-1e53f67187a5df2eff19e65416f4e4c8d06f6257.tar.gz meson-1e53f67187a5df2eff19e65416f4e4c8d06f6257.tar.bz2 |
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
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
-rw-r--r-- | mesonbuild/compilers/cpp.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index 44f53eb..6ae2673 100644 --- a/mesonbuild/compilers/cpp.py +++ b/mesonbuild/compilers/cpp.py @@ -274,7 +274,6 @@ class PGICPPCompiler(PGICompiler, CPPCompiler): CPPCompiler.__init__(self, exelist, version, for_machine, is_cross, exe_wrapper, **kwargs) PGICompiler.__init__(self, compiler_type) - class ElbrusCPPCompiler(GnuCPPCompiler, ElbrusCompiler): def __init__(self, exelist, version, compiler_type, for_machine: MachineChoice, is_cross, exe_wrapper=None, defines=None, **kwargs): GnuCPPCompiler.__init__(self, exelist, version, compiler_type, for_machine, is_cross, exe_wrapper, defines, **kwargs) |