Discussions of the Parallel Programming book
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Akira Yokosawa <akiyks@gmail.com>
Cc: perfbook@vger.kernel.org
Subject: Re: [GIT PULL] Follow-up patches of cleanup-makefile
Date: Thu, 9 Jun 2016 09:17:19 -0700	[thread overview]
Message-ID: <20160609161719.GD3758@linux.vnet.ibm.com> (raw)
In-Reply-To: <e1642a9c-14f1-6cfe-e4f5-7d726226a952@gmail.com>

On Wed, Jun 08, 2016 at 11:36:14PM +0900, Akira Yokosawa wrote:
> Hi Paul,
> 
> These are follow-up patches of the previous patch series.
> They will suppress warning messages and streamline messages displayed
> during build.
> 
> I hope you like them.

I pulled them in, but I am getting the following when I do "make clean":

Makefile:124: target `SMPdesign/DiningPhilosopher5.pdf' given more than once in the same rule.
Makefile:124: target `SMPdesign/DiningPhilosopher5TB.pdf' given more than once in the same rule.
Makefile:124: target `SMPdesign/DiningPhilosopher4part-b.pdf' given more than once in the same rule.
Makefile:124: target `SMPdesign/DiningPhilosopher5PEM.pdf' given more than once in the same rule.
Makefile:124: target `advsync/store15tred.pdf' given more than once in the same rule.

But I was getting them before these changes, so I pushed them out.

Which raises a question:  What should we be doing to test Makefile changes?

I am guessing something like this:

	git clone git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/perfbook.git
	cd perfbook
	make -j16
	# check output
	make distclean
	# check output
	make -j16 1c
	# check output
	make distclean
	make -j16 hb
	# check output

Is there some way of automating the checking of output?

BTW, the reason I was so quick to accept your changes last week was that
I -really- -really- like the fact that make -j now works.  This makes
building from an empty archive much nicer.  But the above errors do
underscore the need to test Makefile changes.  ;-)

							Thanx, Paul

> --- 
> The following changes since commit ca71bc6cf0bf303257b589d7edf251d627e90ce3:
> 
>   Fix typo in epigram attribution (2016-06-07 13:30:31 -0700)
> 
> are available in the git repository at:
> 
>   https://github.com/akiyks/perfbook.git cleanup-makefile-v2
> 
> for you to fetch changes up to 35e4d20da570eab7e6ca6a59b92ab438d2efd7b2:
> 
>   Makefile: Use wildcard for .dot files (2016-06-08 23:05:39 +0900)
> 
> ----------------------------------------------------------------
> Akira Yokosawa (3):
>       build scripts: Suppress warning messages
>       Hide sources of unused figures
>       Makefile: Use wildcard for .dot files
> 
>  Makefile                                           |  58 +++---
>  SMPdesign/lockdeq.fig                              | 219 ---------------------
>  .../MoreThanOneValue-15CPU-noresp.eps              |   0
>  .../MoreThanOneValue-15CPU-noresp.fig              |   0
>  .../rcuimpl/{ => .unused}/RCUpreemptCounters.fig   |   0
>  cartoons/{ => .unused}/patterns.fig                |   0
>  cartoons/{ => .unused}/patterns.svg                |   0
>  utilities/runfirstlatex.sh                         |   2 +-
>  utilities/runlatex.sh                              |  16 +-
>  9 files changed, 32 insertions(+), 263 deletions(-)
>  delete mode 100644 SMPdesign/lockdeq.fig
>  rename advsync/{ => .unused}/MoreThanOneValue-15CPU-noresp.eps (100%)
>  rename advsync/{ => .unused}/MoreThanOneValue-15CPU-noresp.fig (100%)
>  rename appendix/rcuimpl/{ => .unused}/RCUpreemptCounters.fig (100%)
>  rename cartoons/{ => .unused}/patterns.fig (100%)
>  rename cartoons/{ => .unused}/patterns.svg (100%)
> 


  reply	other threads:[~2016-06-09 16:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-08 14:36 [GIT PULL] Follow-up patches of cleanup-makefile Akira Yokosawa
2016-06-09 16:17 ` Paul E. McKenney [this message]
2016-06-09 22:09   ` Akira Yokosawa
2016-06-09 23:07     ` Paul E. McKenney
2016-06-10 14:44       ` Akira Yokosawa
2016-06-10 14:46         ` [PATCH] Makefile: Possible fix for warning of duplicated target Akira Yokosawa
2016-06-10 16:31           ` Paul E. McKenney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160609161719.GD3758@linux.vnet.ibm.com \
    --to=paulmck@linux.vnet.ibm.com \
    --cc=akiyks@gmail.com \
    --cc=perfbook@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox