summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2019-08-11 12:57:31 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2019-08-11 12:57:31 -0500
commit30cf665d162f08fb6fbe547f2b8279170a389950 (patch)
tree8fae121f824a936c9eb7fb47985e093608f18120 /var
parent52a737affe8d58c3017fe5803e51c3cd6bda5a8b (diff)
downloadspack-30cf665d162f08fb6fbe547f2b8279170a389950.tar.gz
spack-30cf665d162f08fb6fbe547f2b8279170a389950.tar.bz2
spack-30cf665d162f08fb6fbe547f2b8279170a389950.tar.xz
spack-30cf665d162f08fb6fbe547f2b8279170a389950.zip
Fix py-matplotlib build with Intel compiler (#12144)
Not sure what happened between #5321 and now but the CC=CXX fix now prevents py-matplotlib from building with the Intel compiler. I verified with versions of py-matplotlib from 2.0.2 to 3.0.2 and intel-17.0.4 and 19.0.4 that py-matplotlib successfully builds with the Intel compiler without that code.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-matplotlib/package.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/py-matplotlib/package.py b/var/spack/repos/builtin/packages/py-matplotlib/package.py
index df552de40a..36d1f5254b 100644
--- a/var/spack/repos/builtin/packages/py-matplotlib/package.py
+++ b/var/spack/repos/builtin/packages/py-matplotlib/package.py
@@ -131,11 +131,6 @@ class PyMatplotlib(PythonPackage):
patch('freetype-include-path.patch', when='@2.2.2:2.9.9')
@run_before('build')
- def set_cc(self):
- if self.spec.satisfies('%intel'):
- env['CC'] = spack_cxx
-
- @run_before('build')
def set_backend(self):
"""Set build options with regards to backend GUI libraries."""