Skip to content

Instantly share code, notes, and snippets.

@adrian-bl
Created April 5, 2013 08:24
Show Gist options
  • Save adrian-bl/5317547 to your computer and use it in GitHub Desktop.
Save adrian-bl/5317547 to your computer and use it in GitHub Desktop.
--- build_visit2_6_2 2013-04-05 10:19:15.622815858 +0200
+++ build_visit2_6_2 2013-04-05 10:21:08.144427672 +0200
@@ -10701,6 +10701,28 @@
return 1
fi
+ ${MAKE} clean &>/dev/null
+ info "Configuring QT-Mesa"
+ ./configure \
+ CC="${C_COMPILER}" \
+ CXX="${CXX_COMPILER}" \
+ CFLAGS="${C_OPT_FLAGS} ${CFLAGS} ${AIX_MESA_CFLAGS} ${HACK_FLAGS}" \
+ CXXFLAGS="${CXX_OPT_FLAGS} ${CXXFLAGS} ${HACK_FLAGS}" \
+ --prefix=${PF} \
+ --without-demos \
+ --disable-gallium \
+ --with-driver=xlib \
+ --enable-gl-osmesa \
+ --enable-glx-tls \
+ --disable-glw \
+ --disable-glu \
+ --disable-egl ${MESA_STATIC_DYNAMIC}
+ info "Building QT-Mesa"
+ ${MAKE} ${MAKE_OPT_FLAGS}
+
+ info "dirty-installing QT-mesa"
+ cp -p lib/libGL.* ${PF}/lib/
+
# Some versions of Mesa erroneously install GLEW as well. We need to make
# sure we get VisIt's GLEW when we include it, so remove the ones Mesa
# installs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment