From 9573fa22994ccc47a53a254eca1dfcbe44e6644d Mon Sep 17 00:00:00 2001 From: Nicholas Sly Date: Mon, 23 Dec 2019 14:31:59 -0700 Subject: [PATCH] Added conflict with %pgi in libpciaccess package.py with relevant links in comments. (#14281) --- var/spack/repos/builtin/packages/libpciaccess/package.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/var/spack/repos/builtin/packages/libpciaccess/package.py b/var/spack/repos/builtin/packages/libpciaccess/package.py index 14ee76f0b9..e8b9cb5621 100644 --- a/var/spack/repos/builtin/packages/libpciaccess/package.py +++ b/var/spack/repos/builtin/packages/libpciaccess/package.py @@ -18,3 +18,12 @@ class Libpciaccess(AutotoolsPackage): depends_on('libtool', type='build') depends_on('pkgconfig', type='build') depends_on('util-macros', type='build') + + # A known issue exists when building with PGI as documented here: + # https://bugs.freedesktop.org/show_bug.cgi?id=94398 + # https://www.pgroup.com/userforum/viewtopic.php?f=4&t=5126 + # https://gitlab.freedesktop.org/xorg/lib/libpciaccess/issues/7 + # + # When the ability to use dependencies built by another compiler, using a + # libpciaccess built by gcc should be usable by PGI builds. + conflicts('%pgi')