[csw-devel] SF.net SVN: gar:[21131] csw/mgar/pkg/glib2/trunk
lblume at users.sourceforge.net
lblume at users.sourceforge.net
Fri May 17 14:40:56 CEST 2013
Revision: 21131
http://gar.svn.sourceforge.net/gar/?rev=21131&view=rev
Author: lblume
Date: 2013-05-17 12:40:56 +0000 (Fri, 17 May 2013)
Log Message:
-----------
glib2/trunk: Have a different optimization level for sparc, needed so inline is detected properly; Add a script to increase ulimit -n during the tests
Modified Paths:
--------------
csw/mgar/pkg/glib2/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/glib2/trunk/files/set-ulimit-for-build-test
Modified: csw/mgar/pkg/glib2/trunk/Makefile
===================================================================
--- csw/mgar/pkg/glib2/trunk/Makefile 2013-05-17 12:12:29 UTC (rev 21130)
+++ csw/mgar/pkg/glib2/trunk/Makefile 2013-05-17 12:40:56 UTC (rev 21131)
@@ -23,6 +23,7 @@
DISTFILES = $(NAME)-$(VERSION).tar.xz
DISTFILES += changelog.CSW
+DISTFILES += set-ulimit-for-build-test
#
# Build patches
@@ -287,7 +288,9 @@
EXTRA_LINKER_FLAGS =
# -xO4 is necessary on sparc so that function inlining happens as expected
-EXTRA_CFLAGS = -xO4 -features=extensions -xc99 -D_XPG6 # -D__EXTENSIONS__ -D_XOPEN_SOURCE=600
+EXTRA_CFLAGS_sparc = -xO4 -features=extensions -xc99 -D_XPG6 # -D__EXTENSIONS__ -D_XOPEN_SOURCE=600
+EXTRA_CFLAGS_i386 = -features=extensions -xc99 -D_XPG6 # -D__EXTENSIONS__ -D_XOPEN_SOURCE=600
+EXTRA_CFLAGS += $(EXTRA_CFLAGS_$(GARCH))
EXTRA_LDFLAGS = -lsocket $(RUNPATH_LINKER_FLAGS)
@@ -316,6 +319,9 @@
#SKIPTEST = 1
+# For tests to succeed, set the ulimit higher than the default of 256.
+EXTRA_TEST_ENV += BASH_ENV=$(abspath $(WORKDIR)/set-ulimit-for-build-test)
+
# Those are to make the checks work
EXTRA_COMMON_EXPORTS = TZ
EXTRA_COMMON_EXPORTS += DISPLAY
Added: csw/mgar/pkg/glib2/trunk/files/set-ulimit-for-build-test
===================================================================
--- csw/mgar/pkg/glib2/trunk/files/set-ulimit-for-build-test (rev 0)
+++ csw/mgar/pkg/glib2/trunk/files/set-ulimit-for-build-test 2013-05-17 12:40:56 UTC (rev 21131)
@@ -0,0 +1 @@
+ulimit -S -n 10000
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