mesa 8.0.5 working

This commit is contained in:
Alfredo Gimenez 2015-02-08 16:09:13 -08:00
parent cc684a3ebe
commit 9e878075ac
3 changed files with 23 additions and 9 deletions

View file

@ -9,6 +9,7 @@ class Libdrm(Package):
url = "http://dri.freedesktop.org/libdrm/libdrm-2.4.59.tar.gz"
version('2.4.59', '105ac7af1afcd742d402ca7b4eb168b6')
version('2.4.33', '86e4e3debe7087d5404461e0032231c8')
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)

View file

@ -35,6 +35,12 @@ class Llvm(Package):
url = "http://llvm.org/releases/3.4.2/llvm-3.4.2.src.tar.gz"
version('3.4.2', 'a20669f75967440de949ac3b1bad439c')
version('3.0', 'a8e5f5f1c1adebae7b4a654c376a6005',
url='http://llvm.org/releases/3.0/llvm-3.0.tar.gz')
version('2.9', '793138412d2af2c7c7f54615f8943771',
url='http://llvm.org/releases/2.9/llvm-2.9.tgz')
version('2.8', '220d361b4d17051ff4bb21c64abe05ba',
url='http://llvm.org/releases/2.8/llvm-2.8.tgz')
def install(self, spec, prefix):
env['CXXFLAGS'] = self.compiler.cxx11_flag

View file

@ -5,19 +5,26 @@ class Mesa(Package):
specification - a system for rendering interactive 3D graphics."""
homepage = "http://www.mesa3d.org"
url = "ftp://ftp.freedesktop.org/pub/mesa/older-versions/7.x/7.11.2/MesaLib-7.11.2.tar.gz"
url = "ftp://ftp.freedesktop.org/pub/mesa/older-versions/8.x/8.0.5/MesaLib-8.0.5.tar.gz"
# url = "ftp://ftp.freedesktop.org/pub/mesa/10.4.4/MesaLib-10.4.4.tar.gz"
# version('10.4.4', '8d863a3c209bf5116b2babfccccc68ce')
version('7.11.2', 'b9e84efee3931c0acbccd1bb5a860554')
version('8.0.5', 'cda5d101f43b8784fa60bdeaca4056f2')
# mesa 7.x, 8.x, 9.x
depends_on("libdrm@2.4.33")
depends_on("llvm@3.0")
# patch("llvm-fixes.patch") # using newer llvm
# mesa 10.x
# depends_on("py-mako")
# depends_on("flex")
# depends_on("bison")
# depends_on("dri2proto")
# depends_on("libxcb")
# depends_on("libxshmfence")
depends_on("py-mako")
depends_on("flex")
depends_on("bison")
depends_on("libdrm")
depends_on("dri2proto")
depends_on("libxcb")
depends_on("libxshmfence")
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)