Anonymous | Login | Signup for a new account | 2021-01-17 16:06 UTC | ![]() |
Main | My View | View Issues | Roadmap | Repositories |
View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000530 | Firmware | Build Process | public | 2012-02-28 13:37 | 2012-03-08 16:19 | ||||
Reporter | Fred | ||||||||
Assigned To | Fred | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 0.2.0-SNAPSHOT | ||||||||
Target Version | 0.2.0 | Fixed in Version | 0.2.0 | ||||||
Summary | 0000530: Date stamping recalculated for each file. | ||||||||
Description | This should be done once, so the structure of the makefile is a little broken. It doesn't have any practical impact, besides build speed, though, because only one file holds that information anyway. It would be nicer if it was calculated at the start of the make process and used as-is after that. | ||||||||
Tags | No tags attached. | ||||||||
FirmwareVersion | |||||||||
Issue Type | Bug | ||||||||
Risk of Breakage | very low | ||||||||
Attached Files | |||||||||
![]() |
|
(0001251) dandruczyk (viewer) 2012-03-08 14:41 |
Since only one file needs to defines for the date stamp, build os, and such, adjust the Makefile(s) to only define those for that ONE FILE. This also makes it easy to set an env var or similar to turn them to a fixed string for being able to check the firmware md5sum, which would always be different due to the timestamp and other dynamic info interjected in the file. |
![]() Fred (administrator) 2012-03-08 16:19 |
Fixed in b579eb189f00e775381f6a03c124c6a0fd1a45dc Make with externals using = real 0m9.767s user 0m2.452s sys 0m1.348s real 0m8.481s user 0m2.280s sys 0m1.432s real 0m10.069s user 0m2.248s sys 0m1.568s real 0m10.040s user 0m2.272s sys 0m1.588s real 0m9.717s user 0m2.336s sys 0m1.440s Make with externals using := real 0m5.668s user 0m1.904s sys 0m0.660s real 0m6.074s user 0m1.936s sys 0m0.660s real 0m7.816s user 0m1.916s sys 0m0.764s real 0m6.321s user 0m1.832s sys 0m0.756s real 0m6.761s user 0m1.796s sys 0m0.852s |
Copyright © 2000 - 2011 MantisBT Group |