mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
Update x86's static and profile configs.
This commit is contained in:
parent
8731e391f5
commit
59424e2d34
6 changed files with 27 additions and 3 deletions
2
Makefile
2
Makefile
|
|
@ -132,8 +132,10 @@ linux-x86-debug \
|
|||
linux-x86-32 \
|
||||
linux-x86-64 \
|
||||
linux-x86-64-debug \
|
||||
linux-x86-64-profile \
|
||||
linux-x86-64-static \
|
||||
linux-x86-glide \
|
||||
linux-x86-profile \
|
||||
linux-x86-static \
|
||||
netbsd \
|
||||
openbsd \
|
||||
|
|
|
|||
|
|
@ -4,5 +4,5 @@ include $(TOP)/configs/linux-static
|
|||
|
||||
CONFIG_NAME = linux-profile
|
||||
|
||||
OPT_FLAGS = -pg -g -O2 -DNDEBUG
|
||||
OPT_FLAGS = -pg -g -O2
|
||||
DEFINES += -DNDEBUG
|
||||
|
|
|
|||
8
configs/linux-x86-64-profile
Normal file
8
configs/linux-x86-64-profile
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Configuration for profiling on Linux for 64-bit X86 (Opteron) with gprof
|
||||
|
||||
include $(TOP)/configs/linux-x86-64-static
|
||||
|
||||
CONFIG_NAME = linux-x86-64-profile
|
||||
|
||||
OPT_FLAGS = -pg -g -O2
|
||||
DEFINES += -DNDEBUG
|
||||
|
|
@ -19,5 +19,8 @@ OSMESA_LIB_DEPS =
|
|||
GLU_LIB_DEPS =
|
||||
GLUT_LIB_DEPS =
|
||||
GLW_LIB_DEPS =
|
||||
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) \
|
||||
|
||||
# Need to specify all libraries we may need
|
||||
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -Wl,--start-group \
|
||||
-l$(GL_LIB) $(TOP)/src/mesa/pipe/softpipe/libsoftpipe.a -Wl,--end-group \
|
||||
$(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lpthread -lstdc++ -lm
|
||||
|
|
|
|||
8
configs/linux-x86-profile
Normal file
8
configs/linux-x86-profile
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Configuration for profiling on Linux with x86 optimizations with gprof
|
||||
|
||||
include $(TOP)/configs/linux-x86-static
|
||||
|
||||
CONFIG_NAME = linux-x86-profile
|
||||
|
||||
OPT_FLAGS = -pg -g -O2
|
||||
DEFINES += -DNDEBUG
|
||||
|
|
@ -19,5 +19,8 @@ OSMESA_LIB_DEPS =
|
|||
GLU_LIB_DEPS =
|
||||
GLUT_LIB_DEPS =
|
||||
GLW_LIB_DEPS =
|
||||
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) \
|
||||
|
||||
# Need to specify all libraries we may need
|
||||
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -Wl,--start-group \
|
||||
-l$(GL_LIB) $(TOP)/src/mesa/pipe/softpipe/libsoftpipe.a -Wl,--end-group \
|
||||
$(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lpthread -lstdc++ -lm
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue