Thanks Anton Gladky for your active response, I will look at how the scons read this parameter if I have time!
Feng Chen Geotechnical Engineer HNTB Federal 9100 Bluebonnet Centre Blvd Suite 301 Baton Rouge, LA 70809 http://fchen3.googlepages.com/home -----Original Message----- From: Anton Gladky [mailto:[email protected]] Sent: Fri 8/14/2009 9:35 AM To: Chen, Feng Cc: [email protected] Subject: Re: [Yade-users] Compilation of SVN using scons always re-compiles everything 2009/8/14 Chen, Feng <[email protected]> > >scons.profile-default > >This file should contain the string: > > version='something_to_add' > > Hi, Anton Gladky: > > Thanks, it is working now, I am wondering where is this information saved > in the configuration file? > scons.profile-default > Although it is not re-compiling, but I saw the scons.current-profile is > empty and the scons.profile-default does not contain the version > information? i.e. How does the scons know it is a new build or not? > As I understand, if you do not insert the "version" option to your scons command line, scons uses SVNXXXX parameter for version. That is why, updating your svn repository you get another "version" that is why it recompiles wholly. If you insert version at least for 1 time, it will allways recompile only changed modules (actually, sometimes it takes a lot of time, when core is changed) > Thanks! > > scons.profile-default: > > PREFIX = '/home/fchen/YADE1940' > optimize = True > exclude = 'none' > features = 'log4cxx,openGL,python' > QTDIR = ['/usr/share/qt3', '/usr/lib/qt', '/usr/lib/qt3', '/usr/qt/3', > '/usr/lib/qt-3.3'] > CXXFLAGS = [] > SHCCFLAGS = ['-fPIC'] > ______________________________ [ENG] Best Regards [GER] Mit freundlichen Grüßen [RUS] ? ?????????? ??????????? [UKR] ? ?????????? ??????????? Anton Gladkyy
_______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
_______________________________________________ yade-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/yade-users
