diff options
author | eugeneswalker <38933153+eugeneswalker@users.noreply.github.com> | 2024-03-26 10:13:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-26 11:13:54 -0600 |
commit | 0b5b192c18e2c44ab1de5debc2129d6d8cf13005 (patch) | |
tree | c1f6db8c885c0e59d5e6ebbc1db3ad0635b6e13b /var | |
parent | 1275c57d88f06bd3462bf9b9e06a6486cda85f41 (diff) | |
download | spack-0b5b192c18e2c44ab1de5debc2129d6d8cf13005.tar.gz spack-0b5b192c18e2c44ab1de5debc2129d6d8cf13005.tar.bz2 spack-0b5b192c18e2c44ab1de5debc2129d6d8cf13005.tar.xz spack-0b5b192c18e2c44ab1de5debc2129d6d8cf13005.zip |
glvis: fix spack issue #42839 (#43369)
* glvis: fix spack issue #42839
* add issue link
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/glvis/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/glvis/package.py b/var/spack/repos/builtin/packages/glvis/package.py index 310c9695b5..52a7822362 100644 --- a/var/spack/repos/builtin/packages/glvis/package.py +++ b/var/spack/repos/builtin/packages/glvis/package.py @@ -154,6 +154,9 @@ class MakefileBuilder(spack.build_systems.makefile.MakefileBuilder): "CONFIG_MK={0}".format(self.spec["mfem"].package.config_mk), ] + # https://github.com/spack/spack/issues/42839 + result.append("CPPFLAGS=-DGLEW_NO_GLU") + if self.spec.satisfies("@4.0:"): # Spack will inject the necessary include dirs and link paths via # its compiler wrapper, so we can skip them: |