From 1e53f67187a5df2eff19e65416f4e4c8d06f6257 Mon Sep 17 00:00:00 2001
From: "Michael Hirsch, Ph.D" <10931741+scivision@users.noreply.github.com>
Date: Tue, 30 Jul 2019 11:07:20 -0400
Subject: 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
---
 mesonbuild/compilers/cpp.py | 1 -
 1 file changed, 1 deletion(-)

(limited to 'mesonbuild/compilers/cpp.py')

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)
-- 
cgit v1.1