output build ID to tools
This commit is contained in:
		
							parent
							
								
									ced961d24c
								
							
						
					
					
						commit
						3349d43c00
					
				@ -25,6 +25,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 | 
			
		||||
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
#include "../Util/GitDescription.h"
 | 
			
		||||
#include "../Util/OSRMException.h"
 | 
			
		||||
#include "../Util/SimpleLogger.h"
 | 
			
		||||
#include "../Util/TimingUtil.h"
 | 
			
		||||
@ -74,8 +75,9 @@ void RunStatistics(std::vector<double> & timings_vector, Statistics & stats) {
 | 
			
		||||
int main (int argc, char * argv[]) {
 | 
			
		||||
    LogPolicy::GetInstance().Unmute();
 | 
			
		||||
 | 
			
		||||
    SimpleLogger().Write(logDEBUG) << "starting up engines, compiled at " <<
 | 
			
		||||
        __DATE__ << ", " __TIME__;
 | 
			
		||||
        SimpleLogger().Write() <<
 | 
			
		||||
            "starting up engines, " << g_GIT_DESCRIPTION << ", " <<
 | 
			
		||||
            "compiled at " << __DATE__ << ", " __TIME__;
 | 
			
		||||
 | 
			
		||||
    if( 1 == argc ) {
 | 
			
		||||
        SimpleLogger().Write(logWARNING) <<
 | 
			
		||||
 | 
			
		||||
@ -25,6 +25,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 | 
			
		||||
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
#include "../Util/GitDescription.h"
 | 
			
		||||
#include "../Util/SimpleLogger.h"
 | 
			
		||||
#include "../Server/DataStructures/SharedBarriers.h"
 | 
			
		||||
 | 
			
		||||
@ -32,6 +33,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 | 
			
		||||
 | 
			
		||||
int main() {
 | 
			
		||||
    LogPolicy::GetInstance().Unmute();
 | 
			
		||||
    SimpleLogger().Write() <<
 | 
			
		||||
            "starting up engines, " << g_GIT_DESCRIPTION << ", " <<
 | 
			
		||||
            "compiled at " << __DATE__ << ", " __TIME__;
 | 
			
		||||
    SimpleLogger().Write() << "Releasing all locks";
 | 
			
		||||
    SharedBarriers barrier;
 | 
			
		||||
    barrier.pending_update_mutex.unlock();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user