Hi,
I have built os mesa 6.5.3 on IBM BlueGene/L, i.e. for the compute nodes of
this super computer.
I used a slightly modifed linux-osmesa config file for that, the diff is
attached. BlueGene doesn't have shared libraries and doesn't support
multithreading. The resulting osmesa library works, it renders correct images
(what I have tested so far).
I tried to copy that file to a different name (bluegene-osmesa) but didn't get
it working. What do I have to change for that ? Is there a chance that this
might go in the official mesa sources (so I don't have to do this manually
everytime I need it) ?
Bye
Alex
diff -rbup Mesa-6.5.3/configs/linux-osmesa Mesa-6.5.3-bgl/configs/linux-osmesa
--- Mesa-6.5.3/configs/linux-osmesa 2006-12-07 18:16:31.000000000 -0500
+++ Mesa-6.5.3-bgl/configs/linux-osmesa 2007-06-20 14:42:09.258717282 -0400
@@ -7,11 +7,14 @@ include $(TOP)/configs/default
CONFIG_NAME = linux-osmesa
# Compiler and flags
-CC = gcc
-CXX = g++
-CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS
+CC = /bgl/BlueLight/ppcfloor/blrts-gnu/bin/powerpc-bgl-blrts-gnu-gcc
+CXX = /bgl/BlueLight/ppcfloor/blrts-gnu/bin/powerpc-bgl-blrts-gnu-g++
+CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
+#CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS
+#CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
+MKLIB_OPTIONS = -static
# Directories
SRC_DIRS = mesa glu
@@ -20,6 +23,7 @@ PROGRAM_DIRS = osdemos
# Dependencies
-OSMESA_LIB_DEPS = -lm -lpthread
+OSMESA_LIB_DEPS = -lm
+#OSMESA_LIB_DEPS = -lm -lpthread
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
APP_LIB_DEPS = -lOSMesa -lGLU
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev