[csw-devel] SF.net SVN: gar:[15294] csw/mgar/pkg
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Wed Aug 10 03:48:55 CEST 2011
Revision: 15294
http://gar.svn.sourceforge.net/gar/?rev=15294&view=rev
Author: wahwah
Date: 2011-08-10 01:48:55 +0000 (Wed, 10 Aug 2011)
Log Message:
-----------
pkg/llvm/trunk: At least part of it builds, but linking fails with missing symbols
Added Paths:
-----------
csw/mgar/pkg/llvm/
csw/mgar/pkg/llvm/Makefile
csw/mgar/pkg/llvm/branches/
csw/mgar/pkg/llvm/tags/
csw/mgar/pkg/llvm/trunk/
csw/mgar/pkg/llvm/trunk/Makefile
csw/mgar/pkg/llvm/trunk/checksums
csw/mgar/pkg/llvm/trunk/files/
csw/mgar/pkg/llvm/trunk/files/0001-limits.h-used-for-MAX_PATH.patch
Copied: csw/mgar/pkg/llvm/Makefile (from rev 14839, csw/mgar/pkg/template/Makefile)
===================================================================
--- csw/mgar/pkg/llvm/Makefile (rev 0)
+++ csw/mgar/pkg/llvm/Makefile 2011-08-10 01:48:55 UTC (rev 15294)
@@ -0,0 +1,15 @@
+# vim: ft=make ts=4 sw=4 noet
+
+default:
+ @echo "You are in the pkg/ directory."
+
+%:
+ $(MAKE) -C trunk $*
+
+paranoid-%:
+ $(MAKE) -C trunk $* || exit 2
+
+export BUILDLOG ?= $(shell pwd)/buildlog.txt
+
+report-%:
+ $(MAKE) -C trunk $* || echo " *** make $* in $$i failed ***" >> $(BUILDLOG)
Property changes on: csw/mgar/pkg/llvm/trunk
___________________________________________________________________
Added: svn:ignore
+ cookies
download
work
Added: svn:externals
+ gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2
Added: csw/mgar/pkg/llvm/trunk/Makefile
===================================================================
--- csw/mgar/pkg/llvm/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/llvm/trunk/Makefile 2011-08-10 01:48:55 UTC (rev 15294)
@@ -0,0 +1,51 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = llvm
+VERSION = 2.9
+GARTYPE = v2
+CATEGORIES = lib
+
+DESCRIPTION = Brief description
+define BLURB
+ Long description
+endef
+
+MASTER_SITES = http://llvm.org/releases/$(VERSION)/
+DISTFILES = $(DISTNAME).tgz
+
+# If the url used to check for software update is different of MASTER_SITES, then
+# uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES
+# UPSTREAM_MASTER_SITES =
+
+GARCOMPILER = GNU
+
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += --disable-optimized
+
+PATCHFILES += 0001-limits.h-used-for-MAX_PATH.patch
+
+ENABLE_OPTIMIZED = 1
+OPTIMIZE_OPTION = -O0
+EXTRA_CONFIGURE_EXPORTS = ENABLE_OPTIMIZED
+EXTRA_CONFIGURE_EXPORTS += OPTIMIZE_OPTION
+EXTRA_BUILD_EXPORTS = ENABLE_OPTIMIZED
+EXTRA_BUILD_EXPORTS += OPTIMIZE_OPTION
+VERBOSE = 1
+EXTRA_CONFIGURE_EXPORTS = VERBOSE
+EXTRA_BUILD_EXPORTS = VERBOSE
+
+include gar/category.mk
+
+# ARCHFLAGS_GCC4_sparcv8 = -m32
+
+# Undefined symbol __sync_fetch_and_add_4
+# http://www.mail-archive.com/maintainers@lists.opencsw.org/msg06095.html
+# http://opencsw.wikidot.com/porting-faq#toc6
+# ifeq ($(ISA),sparcv8)
+OPT_FLAGS_GCC = -O0
+# endif
+# ifeq ($(ISA),i386)
+# OPT_FLAGS_GCC =
+# endif
+
Property changes on: csw/mgar/pkg/llvm/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: csw/mgar/pkg/llvm/trunk/checksums
===================================================================
--- csw/mgar/pkg/llvm/trunk/checksums (rev 0)
+++ csw/mgar/pkg/llvm/trunk/checksums 2011-08-10 01:48:55 UTC (rev 15294)
@@ -0,0 +1 @@
+793138412d2af2c7c7f54615f8943771 llvm-2.9.tgz
Added: csw/mgar/pkg/llvm/trunk/files/0001-limits.h-used-for-MAX_PATH.patch
===================================================================
--- csw/mgar/pkg/llvm/trunk/files/0001-limits.h-used-for-MAX_PATH.patch (rev 0)
+++ csw/mgar/pkg/llvm/trunk/files/0001-limits.h-used-for-MAX_PATH.patch 2011-08-10 01:48:55 UTC (rev 15294)
@@ -0,0 +1,24 @@
+From c9ec5b3cf09a448eb53cb19f57c9099998f2aa2d Mon Sep 17 00:00:00 2001
+From: Maciej Blizinski <maciej at opencsw.org>
+Date: Wed, 10 Aug 2011 03:01:22 +0200
+Subject: [PATCH] limits.h used for MAX_PATH
+
+---
+ lib/Support/Unix/PathV2.inc | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/lib/Support/Unix/PathV2.inc b/lib/Support/Unix/PathV2.inc
+index 03ff283..6a0a3df 100644
+--- a/lib/Support/Unix/PathV2.inc
++++ b/lib/Support/Unix/PathV2.inc
+@@ -42,6 +42,7 @@
+ #if HAVE_STDIO_H
+ #include <stdio.h>
+ #endif
++#include <limits.h>
+
+ using namespace llvm;
+
+--
+1.7.6
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list