mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 13:20:10 +01:00
Update for llvm -> gallivm rename.
This commit is contained in:
parent
3f3b09d6d8
commit
0448dbd64a
5 changed files with 7 additions and 11 deletions
|
|
@ -5,7 +5,7 @@ include $(TOP)/configs/linux
|
|||
|
||||
CONFIG_NAME = linux-llvm
|
||||
|
||||
GALLIUM_AUXILIARY_DIRS += llvm
|
||||
GALLIUM_AUXILIARY_DIRS += gallivm
|
||||
|
||||
OPT_FLAGS = -g -ansi -pedantic
|
||||
DEFINES += -DDEBUG -DDEBUG_MATH -DMESA_LLVM=1
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ SConscript([
|
|||
'auxiliary/tgsi/SConscript',
|
||||
'auxiliary/cso_cache/SConscript',
|
||||
'auxiliary/draw/SConscript',
|
||||
#'auxiliary/llvm/SConscript',
|
||||
#'auxiliary/gallivm/SConscript',
|
||||
'auxiliary/pipebuffer/SConscript',
|
||||
|
||||
'drivers/softpipe/SConscript',
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
#ifdef MESA_LLVM
|
||||
|
||||
#include "llvm/gallivm.h"
|
||||
#include "gallivm/gallivm.h"
|
||||
|
||||
struct draw_llvm_vertex_shader {
|
||||
struct draw_vertex_shader base;
|
||||
|
|
|
|||
|
|
@ -38,10 +38,6 @@ CELL_LIB = $(TOP)/src/gallium/drivers/cell/ppu/libcell.a
|
|||
CELL_LIB_SPU = $(TOP)/src/gallium/drivers/cell/spu/g3d_spu.a
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_NAME), linux-llvm)
|
||||
LLVM_LIB = $(TOP)/src/gallium/auxiliary/llvm/libgallivm.a
|
||||
endif
|
||||
|
||||
|
||||
.SUFFIXES : .cpp
|
||||
|
||||
|
|
@ -69,13 +65,13 @@ STAND_ALONE_OBJECTS = \
|
|||
$(STAND_ALONE_DRIVER_OBJECTS)
|
||||
|
||||
# Make the GL library
|
||||
$(TOP)/$(LIB_DIR)/$(GL_LIB_NAME): $(STAND_ALONE_OBJECTS) $(LLVM_LIB) $(PIPE_LIB) $(CELL_LIB) $(CELL_LIB_SPU)
|
||||
$(TOP)/$(LIB_DIR)/$(GL_LIB_NAME): $(STAND_ALONE_OBJECTS) $(PIPE_LIB) $(CELL_LIB) $(CELL_LIB_SPU)
|
||||
$(TOP)/bin/mklib -o $(GL_LIB) \
|
||||
-linker "$(CC)" \
|
||||
-major $(GL_MAJOR) -minor $(GL_MINOR) -patch $(GL_TINY) \
|
||||
-install $(TOP)/$(LIB_DIR) \
|
||||
$(MKLIB_OPTIONS) $(STAND_ALONE_OBJECTS) \
|
||||
--start-group $(PIPE_LIB) $(LLVM_LIB) --end-group $(CELL_LIB) $(CELL_LIB_SPU) $(GL_LIB_DEPS)
|
||||
--start-group $(PIPE_LIB) --end-group $(CELL_LIB) $(CELL_LIB_SPU) $(GL_LIB_DEPS)
|
||||
|
||||
|
||||
######################################################################
|
||||
|
|
|
|||
|
|
@ -67,13 +67,13 @@ stand-alone: depend subdirs $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) $(TOP)/$(LIB_DIR)/$
|
|||
osmesa-only: depend subdirs $(TOP)/$(LIB_DIR)/$(OSMESA_LIB_NAME)
|
||||
|
||||
# Make the GL library
|
||||
$(TOP)/$(LIB_DIR)/$(GL_LIB_NAME): $(STAND_ALONE_OBJECTS) $(PIPE_LIB) $(CELL_LIB) $(CELL_LIB_SPU) $(LLVM_LIB)
|
||||
$(TOP)/$(LIB_DIR)/$(GL_LIB_NAME): $(STAND_ALONE_OBJECTS) $(PIPE_LIB) $(CELL_LIB) $(CELL_LIB_SPU)
|
||||
@ $(TOP)/bin/mklib -o $(GL_LIB) \
|
||||
-linker "$(CC)" \
|
||||
-major $(GL_MAJOR) -minor $(GL_MINOR) -patch $(GL_TINY) \
|
||||
-install $(TOP)/$(LIB_DIR) \
|
||||
$(MKLIB_OPTIONS) $(STAND_ALONE_OBJECTS) \
|
||||
$(PIPE_LIB) $(CELL_LIB) $(CELL_LIB_SPU) $(LLVM_LIB) $(GL_LIB_DEPS)
|
||||
$(PIPE_LIB) $(CELL_LIB) $(CELL_LIB_SPU) $(GL_LIB_DEPS)
|
||||
|
||||
# Make the OSMesa library
|
||||
$(TOP)/$(LIB_DIR)/$(OSMESA_LIB_NAME): $(OSMESA_DRIVER_OBJECTS) \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue