From 0d0a02b230c73e283ca5be1963489a6c62309ed7 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Mon, 29 Jul 2019 14:11:53 -0500 Subject: 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). --- var/spack/repos/builtin/packages/opengl/package.py | 1 + 1 file changed, 1 insertion(+) 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:') -- cgit v1.2.3-70-g09d2