Skip to content

Commit

Permalink
Adding mesa-8.0.1-1.el6.elrepo
Browse files Browse the repository at this point in the history
Signed-off-by: Phil Schaffner <Philip.R.Schaffner@NASA.gov>
  • Loading branch information
Phil Schaffner authored and Phil Schaffner committed Mar 4, 2012
1 parent cbdef57 commit eaf2eb6
Show file tree
Hide file tree
Showing 3 changed files with 756 additions and 0 deletions.
22 changes: 22 additions & 0 deletions mesa/el6/make-git-snapshot.sh
@@ -0,0 +1,22 @@
#!/bin/sh

# Usage: ./make-git-snapshot.sh [COMMIT]
#
# to make a snapshot of the given tag/branch. Defaults to HEAD.
# Point env var REF to a local mesa repo to reduce clone time.

DIRNAME=mesa-$( date +%Y%m%d )

echo REF ${REF:+--reference $REF}
echo DIRNAME $DIRNAME
echo HEAD ${1:-HEAD}

rm -rf $DIRNAME

git clone ${REF:+--reference $REF} \
git://git.freedesktop.org/git/mesa/mesa $DIRNAME

GIT_DIR=$DIRNAME/.git git archive --format=tar --prefix=$DIRNAME/ ${1:-HEAD} \
| xz > $DIRNAME.tar.xz

# rm -rf $DIRNAME
12 changes: 12 additions & 0 deletions mesa/el6/mesa-7.10-llvmcore.patch
@@ -0,0 +1,12 @@
diff -up mesa-20120105/configure.ac.jx mesa-20120105/configure.ac
--- mesa-20120105/configure.ac.jx 2012-01-05 14:03:26.000000000 -0500
+++ mesa-20120105/configure.ac 2012-01-05 14:35:14.559990582 -0500
@@ -1775,7 +1775,7 @@ if test "x$enable_gallium_llvm" = xyes;
if test "x$LLVM_CONFIG" != xno; then
LLVM_VERSION=`$LLVM_CONFIG --version`
LLVM_CFLAGS=`$LLVM_CONFIG --cppflags|sed -e 's/-DNDEBUG\>//g' -e 's/-pedantic//g'`
- LLVM_LIBS="`$LLVM_CONFIG --libs`"
+ LLVM_LIBS="-lLLVM-`llvm-config --version` -lstdc++"

LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags`
DEFINES="$DEFINES -D__STDC_CONSTANT_MACROS"

0 comments on commit eaf2eb6

Please sign in to comment.