Revision number in usage not updated without a 'make clean'
Bug #814839 reported by
Adam Candy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fluidity |
Fix Released
|
Low
|
Adam Candy |
Bug Description
The fix to bug lp:786075 updates the revision number in include/confdefs.h when the fluidity_library is rebuilt (i.e. on the issue of a 'make'). However, this is not usually picked up by Usage.cpp on a 'make'. This can be forced with a 'make clean', but this is rather extreme when, most likely, there are only a few changes to build.
Instead a rebuild of Usage.o could be forced to ensure the revision number is updated in the binary usage info.
Related branches
lp:~wence/fluidity/fixup-version-number
- Adam Candy: Needs Fixing
- Tim Bond (community): Approve
-
Diff: 232 lines (+19/-43)13 files modifiedMakefile.in (+10/-2)
configure (+0/-7)
configure.in (+0/-6)
femtools/Diagnostic_variables.F90 (+1/-0)
femtools/Makefile.dependencies (+2/-2)
include/Usage.h (+1/-0)
include/qg_usage.h (+1/-0)
libadaptivity/configure (+0/-7)
libadaptivity/configure.in (+0/-6)
libvtkfortran/configure (+0/-7)
libvtkfortran/configure.in (+0/-6)
main/Makefile.in (+2/-0)
qg_strat/Makefile.in (+2/-0)
lp:~asc/fluidity/fixup-version-number2
- Tim Bond (community): Approve
-
Diff: 18 lines (+7/-1)1 file modifiedMakefile.in (+7/-1)
Changed in fluidity: | |
importance: | Undecided → Low |
assignee: | nobody → Adam Candy (asc) |
Changed in fluidity: | |
status: | New → Fix Released |
To post a comment you must log in.
This seems to break 'make -j' for me. 'make -j' seems to still work after a "make clean", but if you do the following afterwards:
[skramer@ stommel] {/data/ stephan/ bzr/fluidity} $ touch femtools/ Fields_ Base.F90 stommel] {/data/ stephan/ bzr/fluidity} $ make -j version. h', needed by `Diagnostic_ variables. o'. Stop. VERSION_ _
[skramer@
Updating version number
BUILD libfluidity
MKDIR lib
MAKE debug
MAKE libwm
MAKE femtools
make[1]: *** No rule to make target `../include/
make[1]: *** Waiting for unfinished jobs....
make: *** [lib/libfluidity.a] Error 2
make: *** Waiting for unfinished jobs....
DEFINE __FLUIDITY_