Changeset 837509 in git


Ignore:
Timestamp:
Apr 28, 2016, 11:31:53 AM (8 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
2404ab7838d5ded0fb15ea39e4ec0e63970e496c
Parents:
7a08a8f00b9c54b89d6aa6ca54bd50016a12e92b
Message:
reproducible builds for official distribution
Location:
Singular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipshell.h

    r7a08a8f r837509  
    3838//extern cmdnames cmds[];
    3939extern const char *lastreserved;
    40 extern const char *singular_date; /* tesths.cc, set by final compile */
    4140extern int myynest;
    4241extern int printlevel;
  • Singular/misc_ip.cc

    r7a08a8f r837509  
    4343#include "links/silink.h"
    4444#include "mod_lib.h"
     45#include <Singular/distrib.h>
    4546
    4647static FORCE_INLINE void number2mpz(number n, mpz_t m){ number2mpz(n, coeffs_BIGINT, m); }
     
    776777#endif
    777778
     779#ifndef MAKE_DISTRIBUTION
     780const char *singular_date=__DATE__ " " __TIME__;
     781#endif
     782
    778783char * versionString(/*const bool bShowDetails = false*/ )
    779784{
     
    781786  StringAppend("Singular for %s version %s (%d, %d bit) %s #%s",
    782787               S_UNAME, VERSION, // SINGULAR_VERSION,
    783                SINGULAR_VERSION, SIZEOF_VOIDP*8, singular_date, GIT_VERSION);
     788               SINGULAR_VERSION, SIZEOF_VOIDP*8,
     789#ifdef MAKE_DISTRIBUTION
     790               VERSIO_DATE, GIT_VERSION);
     791#else
     792               singular_date, GIT_VERSION);
     793#endif
    784794  StringAppendS("\nwith\n\t");
    785795
     
    11561166}
    11571167
    1158 const char *singular_date=__DATE__ " " __TIME__;
    1159 
    11601168extern "C"
    11611169{
Note: See TracChangeset for help on using the changeset viewer.