This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 'make check-performance' from libstdc++-v3?


On Tue, Dec 16, 2003 at 11:33:48PM +0100, Paolo Carlini wrote:
> Benjamin Kosnik wrote:
> 
> >>a curiosity: why, having build the library, 'make check-performance'
> >>only works from libstdc++-v3/testsuite, whereas 'make check' works
> >>fine from the libstdc++-v3 directory itself?
> >
> >I was trying to keep all the extra check targets in the
> >testsuite/Makefile.am file. I think this makes sense, as it localizes
> >the testsuite bits in the correct place.
> 
> Yes, it makes perfect sense, thanks for the reply.

Makes sense to me too.


> It's just that sometimes I feel *very* lazy ;) and would rather prefer
> doing everything from libstdc++-v3 ('make clean', 'make CXXFLAGS="...',
> 'make check', 'make check-performance' and so on...)

Now we can do both, thanks to the SC's decision to require gmake for
3.4 and following.  Merry Christmas.  :-)


2003-12-16  Phil Edwards  <phil@codesourcery.com>

	* configure.ac (AM_INIT_AUTOMAKE):  Don't warn about GNU Make.
	* configure:  Regenerated.
	* Makefile.am (check-%):  New catch-all forwarding target.
	* Makefile.in:  Regenerated.


Index: configure.ac
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/configure.ac,v
retrieving revision 1.12
diff -u -p -r1.12 configure.ac
--- configure.ac	10 Dec 2003 00:05:30 -0000	1.12
+++ configure.ac	16 Dec 2003 23:38:57 -0000
@@ -56,8 +56,9 @@ fi
 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
 #            file in the top srcdir, etc, etc), so stop complaining.
 #  no-dependencies:  turns off auto dependency generation (just for now)
-#  -Wall:  turns on all automake warnings
-AM_INIT_AUTOMAKE([1.7.6 no-define foreign no-dependencies -Wall])
+#  -Wall:  turns on all automake warnings...
+#  -Wno-portability:  ...except this one, since GNU make is now required.
+AM_INIT_AUTOMAKE([1.7.6 no-define foreign no-dependencies -Wall -Wno-portability])
 
 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
 # up critical shell variables.
Index: Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/Makefile.am,v
retrieving revision 1.48
diff -u -p -r1.48 Makefile.am
--- Makefile.am	27 Aug 2003 21:29:41 -0000	1.48
+++ Makefile.am	16 Dec 2003 23:39:02 -0000
@@ -52,6 +52,10 @@ doxygen-man:
 
 .PHONY: doxygen doxygen-maint doxygen-man
 
+# Handy forwarding targets.
+check-%:
+	cd testsuite && $(MAKE) $@
+
 # Multilib support.
 MAKEOVERRIDES=
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]