diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2019-07-29 14:11:53 -0500 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-07-29 12:11:53 -0700 |
commit | 0d0a02b230c73e283ca5be1963489a6c62309ed7 (patch) | |
tree | 40fbbe63c7382624615624d69b8a6e57b7bd8dce | |
parent | f78fc30032f462fda76c6c6337c23455366ac584 (diff) | |
download | spack-0d0a02b230c73e283ca5be1963489a6c62309ed7.tar.gz spack-0d0a02b230c73e283ca5be1963489a6c62309ed7.tar.bz2 spack-0d0a02b230c73e283ca5be1963489a6c62309ed7.tar.xz spack-0d0a02b230c73e283ca5be1963489a6c62309ed7.zip |
OpenGL package: always provides gl (#12158)
With this PR, a user can designate older versions of OpenGL as an
external Spack package, and dependents can use that installation
as long as they do not have version requirements.
MacOS currently comes with OpenGL 2.1; there is currently no
'provides' directive in the OpenGL Spack package which specifies a
gl version provided for versions earlier than OpenGL 3.3, so earlier
versions of OpenGL are not considered to provide any version of gl.
This PR records that any version of OpenGL provides 'gl' (which is
sufficient for any package that does not require a specific version
of gl).
-rw-r--r-- | var/spack/repos/builtin/packages/opengl/package.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/opengl/package.py b/var/spack/repos/builtin/packages/opengl/package.py index fca5371ac4..fe3a29607c 100644 --- a/var/spack/repos/builtin/packages/opengl/package.py +++ b/var/spack/repos/builtin/packages/opengl/package.py @@ -13,6 +13,7 @@ class Opengl(Package): homepage = "https://www.opengl.org/" + provides('gl') provides('gl@:4.5', when='@4.5:') provides('gl@:4.4', when='@4.4:') provides('gl@:4.3', when='@4.3:') |