Revision: 22864 http://sourceforge.net/p/gar/code/22864 Author: wahwah Date: 2014-01-22 09:09:13 +0000 (Wed, 22 Jan 2014) Log Message: ----------- llvm/trunk: Commit my local changes. Nothing works. The helper idea is probably stupid.
Modified Paths: -------------- csw/mgar/pkg/llvm/trunk/Makefile csw/mgar/pkg/llvm/trunk/checksums Added Paths: ----------- csw/mgar/pkg/llvm/trunk/files/gar_helper.sh Modified: csw/mgar/pkg/llvm/trunk/Makefile =================================================================== --- csw/mgar/pkg/llvm/trunk/Makefile 2014-01-21 21:50:56 UTC (rev 22863) +++ csw/mgar/pkg/llvm/trunk/Makefile 2014-01-22 09:09:13 UTC (rev 22864) @@ -2,7 +2,7 @@ # TODO (release-critical prefixed with !, non release-critical with *) # NAME = llvm -VERSION = 2.9 +VERSION = 3.0 GARTYPE = v2 DESCRIPTION = Collection of modular and reusable compiler and toolchain technologies @@ -11,12 +11,15 @@ endef MASTER_SITES = http://llvm.org/releases/$(VERSION)/ -DISTFILES = $(DISTNAME).tgz +DISTFILES = llvm-$(VERSION).tar.gz +DISTFILES += clang-$(VERSION).tar.gz -# 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 = +DISTNAME = llvm-$(VERSION).src +PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386 + +NOGITPATCH = 1 + GARCOMPILER = GNU libdir = $(prefix)/lib/llvm @@ -28,6 +31,10 @@ # http://lists.cs.uiuc.edu/pipermail/llvmbugs/2010-December/015968.html CONFIGURE_ARGS += --enable-bindings=none # CONFIGURE_ARGS += --enable-libffi +CONFIGURE_ARGS += --enable-shared +# CONFIGURE_ARGS += --with-llvmgcc +# CONFIGURE_ARGS += --with-llvmgxx +# CONFIGURE_ARGS += --with-clang PATCHFILES += 0001-limits.h-used-for-MAX_PATH.patch PATCHFILES += 0002-OpenCSW-bash-for-tests.patch @@ -39,14 +46,14 @@ ENABLE_OPTIMIZED = 1 OPTIMIZE_OPTION = -O0 -SHELL = /opt/csw/bin/bash CONFIG_SHELL = /opt/csw/bin/bash EXTRA_CONFIGURE_EXPORTS = ENABLE_OPTIMIZED EXTRA_CONFIGURE_EXPORTS += OPTIMIZE_OPTION EXTRA_CONFIGURE_EXPORTS += CONFIG_SHELL EXTRA_BUILD_EXPORTS = ENABLE_OPTIMIZED EXTRA_BUILD_EXPORTS += OPTIMIZE_OPTION -EXTRA_TEST_EXPORTS = SHELL +# SHELL = /opt/csw/bin/bash +# EXTRA_TEST_EXPORTS = SHELL NM = /opt/csw/bin/gnm EXTRA_CONFIGURE_EXPORTS += NM @@ -67,9 +74,17 @@ # 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 +# OPT_FLAGS_GCC = -O0 # endif # ifeq ($(ISA),i386) # OPT_FLAGS_GCC = # endif +# pre-configure-modulated: +# (cd $(WORKSRC)/tools && gln -s -v ../../clang-$(VERSION) clang) +# @$(MAKECOOKIE) + +pre-configure-modulated: + (cd $(WORKSRC)/tools; gln -v -s ../../clang-$(VERSION).src clang) + # $(FILEDIR)/gar_helper.sh $@ "$(WORKSRC)" + @$(MAKECOOKIE) Modified: csw/mgar/pkg/llvm/trunk/checksums =================================================================== --- csw/mgar/pkg/llvm/trunk/checksums 2014-01-21 21:50:56 UTC (rev 22863) +++ csw/mgar/pkg/llvm/trunk/checksums 2014-01-22 09:09:13 UTC (rev 22864) @@ -1 +1,2 @@ -793138412d2af2c7c7f54615f8943771 llvm-2.9.tgz +43350706ae6cf05d0068885792ea0591 clang-3.0.tar.gz +a8e5f5f1c1adebae7b4a654c376a6005 llvm-3.0.tar.gz Added: csw/mgar/pkg/llvm/trunk/files/gar_helper.sh =================================================================== --- csw/mgar/pkg/llvm/trunk/files/gar_helper.sh (rev 0) +++ csw/mgar/pkg/llvm/trunk/files/gar_helper.sh 2014-01-22 09:09:13 UTC (rev 22864) @@ -0,0 +1,20 @@ +#!/opt/csw/bin/bash +# vim:sw=2 ts=2 sts=2 expandtab: + +echo "called: $0 $*" + +readonly WORKSRC=$2 + +case "$1" in + post-extract-modulated) + pushd ${WORKSRC} + pushd tools + ln -s ../../clang-3.0.src clang + popd + popd + ;; + *) + echo "Dunno what to do with '$1'." + ;; +esac +exit 1 Property changes on: csw/mgar/pkg/llvm/trunk/files/gar_helper.sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.