octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #45659] version function: options and return v


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #45659] version function: options and return values supported by Matlab
Date: Tue, 05 Apr 2016 15:23:46 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #7, bug #45659 (project octave):

Yeah, I took a look at adding the mercurial id to the Octave version but ran
into a couple of problems (if this bug is indeed growing to adopt that
feature).

First, I tried adding it to configure.ac, but that frankly causes way too much
rebuilding.

Second, adding it to the build without needing to reconfigure / rebuild a
bunch of things needs a build-aux shell script  to produce the mercurial ID on
stdout (easy) that can be $(shell) evaluated into a make variable. This means
that make would have to check whether version.h needs to be updated every time
make is run. Doable, but unfortunate.

That part aside, I think that adding it to version.h may work. I think there
may still be too many cc files including version.h that don't actually need
it, if we could reduce that list it would help keep rebuilds fast every time a
hg commit is made.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45659>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]