Hi,
I got link errors while building gallium-mesa-7.4 branch with "make
linux-llvm". The attached patch fixes it.
But I wonder which is the right branch for running mesa with llvm,
preferably with softpipe. Can someone please tell that.. :)
Thanks
kammal
>From 23f0de2e97d906db9e9df43ba9409be5c8216f0c Mon Sep 17 00:00:00 2001
From: Kamalneet Singh <kamalnee...@samsung.com>
Date: Mon, 9 Mar 2009 16:05:44 +0530
Subject: [PATCH] linux-llvm config: Linking with required llvm libs
---
configs/linux-llvm | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/configs/linux-llvm b/configs/linux-llvm
index a9d7405..e7ecd82 100644
--- a/configs/linux-llvm
+++ b/configs/linux-llvm
@@ -22,9 +22,9 @@ endif
ifeq ($(MESA_LLVM),1)
# LLVM_CFLAGS=`llvm-config --cflags`
- LLVM_CXXFLAGS=`llvm-config --cxxflags backend bitreader engine ipo` -Wno-long-long
- LLVM_LDFLAGS=`llvm-config --ldflags backend bitreader engine ipo`
- LLVM_LIBS=`llvm-config --libs backend bitreader engine ipo`
+ LLVM_CXXFLAGS=`llvm-config --cxxflags backend bitreader engine ipo interpreter instrumentation` -Wno-long-long
+ LLVM_LDFLAGS=`llvm-config --ldflags backend bitreader engine ipo interpreter instrumentation`
+ LLVM_LIBS=`llvm-config --libs backend bitreader engine ipo interpreter instrumentation`
MKLIB_OPTIONS=-cplusplus
else
LLVM_CFLAGS=
--
1.5.6.3
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev