[LLVMdev] LLVM benchmarks against GCC

Chris Lattner sabre at nondot.org
Fri Apr 30 18:16:04 PDT 2004


On Sat, 1 May 2004, [koi8-r] "Valery A.Khamenya[koi8-r] "  wrote:
> > > yesterday I got new SuSE 9.1 DVD, so i am going to enter this
> > > river again. Perhaps, this time all will be fine.
> >
> > Sounds great, please let me know how it goes.
>
> SuSE 9.1 is running OK.
> after 30 minute of compilation i get first errors:
> *********************
> make[2]: Leaving directory `/pool/tmp/llvm/runtime/libtrace'
> make[2]: Entering directory `/pool/tmp/llvm/runtime/libpng'
> In file included from pngpread.c:12:
> png.h:329:18: zlib.h: No such file or directory
> [and alike about zlib.h and others]
> *********************

Please apply this patch to your tree:

Index: Makefile
===================================================================
RCS file: /home/vadve/shared/PublicCVS/llvm/runtime/libpng/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Makefile    20 Feb 2004 21:26:46 -0000      1.2
+++ Makefile    26 Mar 2004 17:04:53 -0000      1.3
@@ -11,6 +11,7 @@
 BUILD_ARCHIVE=1
 DONT_BUILD_RELINKED=1
 LIBRARYNAME=png
+CPPFLAGS += -I../zlib

 Source = png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c \
               pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c \



This is fixed in CVS.  You might consider upgrading to LLVM CVS,
especially if you are interested in looking at performance issues: several
important performance related patches have gone in since LLVM 1.2.

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/




More information about the llvm-dev mailing list