Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.apps > #885

Re: How compile GNU make from sources?

From Borneq <borneq@antyspam.hidden.pl>
Newsgroups comp.os.linux.development.apps
Subject Re: How compile GNU make from sources?
Date 2018-12-05 19:02 +0100
Organization ATMAN - ATM S.A.
Message-ID <pu93sc$8hc$1@node2.news.atman.pl> (permalink)
References <pu8mr5$s1n$1@node2.news.atman.pl> <pu92c4$o5i$1@dont-email.me>

Show all headers | View raw


W dniu 05.12.2018 o 18:37, Tauno Voipio pisze:
>> I want compile it from sources bacause I ant prepare it do not rebuild 
>> all after git commits.
>> Make has one big disadvatage: after git commit of project, whole 
>> project is rebuild.
> 
> 
> You may be barking up the wrong tree here: To force Make to rebuild
> the whole kit and caboodle, GIT seeems to change the modification
> timestamps of the files. It cannot be solved by changing Make.
> 

I think, git not changes timestamps of my *.cpp files on commit, only on 
checkout (if I change branch)
Make looks to .git directory and timestamp of any git file is changed.
If I previously use ninja, no any *.cpp file was changes, buf "explain" 
give me

EXPLAIN("recorded mtime of %s older than most recent input %s (%d vs %d)"...
and
EXPLAIN("command line changed for %s", output->path().c_str());

if I comment this, only changed *.cpp file was build

Back to comp.os.linux.development.apps | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How compile GNU make from sources? Borneq <borneq@antyspam.hidden.pl> - 2018-12-05 15:20 +0100
  Re: How compile GNU make from sources? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2018-12-05 19:37 +0200
    Re: How compile GNU make from sources? Borneq <borneq@antyspam.hidden.pl> - 2018-12-05 19:02 +0100
      Re: How compile GNU make from sources? Rainer Weikusat <rweikusat@talktalk.net> - 2018-12-05 18:18 +0000
      Re: How compile GNU make from sources? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2018-12-05 20:21 +0200
        Re: How compile GNU make from sources? Borneq <borneq@antyspam.hidden.pl> - 2018-12-05 20:28 +0100
          Re: How compile GNU make from sources? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2018-12-05 22:43 +0200
            Re: How compile GNU make from sources? Rainer Weikusat <rweikusat@talktalk.net> - 2018-12-05 23:07 +0000
        Re: How compile GNU make from sources? Borneq <borneq@antyspam.hidden.pl> - 2018-12-05 21:30 +0100

csiph-web