From 0b8c3ed066a80b7f8cbd62140e7b967425f96ec5 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 29 Mar 2011 13:33:20 -0400 Subject: [PATCH 1/4] Comment out running of tests that don't exist --- tools/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/Makefile.am b/tools/Makefile.am index f95f832e..4605c4a2 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -413,10 +413,10 @@ unittests: check 2>&1 | grep -v '^GuardMalloc:' @sh $(FULLCHECK) $(top_builddir)/ExprTests$(EXEEXT) --verify \ 2>&1 | grep -v '^GuardMalloc:' - @sh $(FULLCHECK) $(top_builddir)/DataTests$(EXEEXT) --verify \ - 2>&1 | grep -v '^GuardMalloc:' - @sh $(FULLCHECK) $(top_builddir)/ReportTests$(EXEEXT) --verify \ - 2>&1 | grep -v '^GuardMalloc:' +# @sh $(FULLCHECK) $(top_builddir)/DataTests$(EXEEXT) --verify \ +# 2>&1 | grep -v '^GuardMalloc:' +# @sh $(FULLCHECK) $(top_builddir)/ReportTests$(EXEEXT) --verify \ +# 2>&1 | grep -v '^GuardMalloc:' else unittests: check @test 1 -eq 1 From 2b627f952873d59f360e9df95caa94392bde34ea Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 29 Mar 2011 13:35:22 -0400 Subject: [PATCH 2/4] Added a missing plus (+) to lib/Makefile --- lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile index fa81bb76..06d4da93 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -33,7 +33,7 @@ ifeq ($(CC),clang) BOOST_TOOLSET = clang else BOOST_TOOLSET = darwin -BOOST_DEFINES = define=_GLIBCXX_DEBUG=1 +BOOST_DEFINES += define=_GLIBCXX_DEBUG=1 endif #BOOST_FLAGS = --architecture=x86 --address_model=32_64 BOOST_FLAGS = --toolset=$(BOOST_TOOLSET) \ From 6d7149f9b19e3d081195ee829c31cad83ade2e79 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 30 Mar 2011 14:50:09 -0400 Subject: [PATCH 3/4] Added several Mac OS X packages to "dependencies" --- acprep | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/acprep b/acprep index fef5d002..c790a903 100755 --- a/acprep +++ b/acprep @@ -816,24 +816,16 @@ class PrepareBuild(CommandLineApp): self.log.info('Looks like you are using MacPorts on OS X') packages = [ 'sudo', 'port', 'install', '-f', - 'automake', - 'autoconf', - 'libtool', + 'automake', 'autoconf', 'libtool', 'python26', '+universal', 'libiconv', '+universal', 'zlib', '+universal', - 'gmp' ,'+universal', - 'mpfr', '+universal', - 'ncurses', '+universal', - 'ncursesw', '+universal', + 'gmp' ,'+universal', 'mpfr', '+universal', + 'ncurses', '+universal', 'ncursesw', '+universal', 'gettext' ,'+universal', 'libedit' ,'+universal', - #'texlive', - #'doxygen', - #'graphviz', - 'texinfo', - 'lcov', - 'sloccount' + 'texlive-xetex', 'doxygen', 'graphviz', 'texinfo', + 'lcov', 'sloccount' ] + self.boost_info.dependencies('darwin') self.log.info('Executing: ' + string.join(packages, ' ')) self.execute(*packages) From 1820f12ef16534f30e888f44b6d6602268fffcb9 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 30 Mar 2011 14:50:18 -0400 Subject: [PATCH 4/4] Run proof build nice'd --- tools/proof | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/proof b/tools/proof index 0bd1e81f..3becb1c9 100755 --- a/tools/proof +++ b/tools/proof @@ -14,7 +14,8 @@ fi rm -fr ~/Products/ledger-proof -time ./acprep --enable-doxygen --universal -j16 --gcc46 --warn proof 2>&1 | \ +time nice -n 20 \ + ./acprep --enable-doxygen --universal -j16 --gcc45 --warn proof 2>&1 | \ tee ~/Desktop/proof.log if egrep -q '(ERROR|CRITICAL)' ~/Desktop/proof.log; then