2003-11-25 19:34:29 +00:00
|
|
|
;; $Id$
|
|
|
|
|
2003-12-27 04:30:48 +00:00
|
|
|
<verno> represents the new version number. At the time of this update, the
|
2004-01-06 01:08:58 +00:00
|
|
|
latest version was 2.17, so the new version number would be 2.18. Substitute
|
|
|
|
2.18 everywhere you see <verno>
|
2003-12-15 19:48:16 +00:00
|
|
|
|
2003-11-25 19:34:29 +00:00
|
|
|
Administrivia:
|
|
|
|
Make a note in checkin_notes
|
|
|
|
|
|
|
|
Set the version number:
|
2003-12-15 19:48:16 +00:00
|
|
|
do this on a unix machine
|
|
|
|
first, update the installer files for windows:
|
|
|
|
% cd win_build/installer/Setup Files/Compressed Files/Language Independent/OS Independent
|
|
|
|
<edit> readme.txt (change version number)
|
|
|
|
<edit> license.txt (change version number)
|
|
|
|
[bonus: automate this process]
|
|
|
|
|
|
|
|
% ./set-version <verno>
|
|
|
|
(note: the make in your default path must be gnu make, or else
|
|
|
|
set-version will fail towards the end)
|
|
|
|
% cvs ci -m 'new version'
|
2003-11-25 19:34:29 +00:00
|
|
|
|
|
|
|
Make a source tarball and zip:
|
2003-12-27 04:30:48 +00:00
|
|
|
% make dist (if you have problems here, such as the make choking on
|
|
|
|
emacs save files, try "make -i dist")
|
2003-12-15 19:48:16 +00:00
|
|
|
% cp boinc-<verno>.tar.gz boinc-<verno>.zip ~davea/boinc/doc/source/
|
2003-11-25 19:34:29 +00:00
|
|
|
|
|
|
|
Windows:
|
2003-12-27 04:30:48 +00:00
|
|
|
Use the Windows computer (bart) in 329 or the Dell Celeron (skinner)in 325.
|
2003-11-25 19:34:29 +00:00
|
|
|
|
2003-12-27 04:30:48 +00:00
|
|
|
bart: Open 'quarl' on the desktop.
|
|
|
|
skinner: Open 'build' on the desktop.
|
2003-11-25 19:34:29 +00:00
|
|
|
|
|
|
|
Open 'BOINC'
|
|
|
|
|
|
|
|
Right click in the folder; select 'cvs update'
|
2003-12-27 04:30:48 +00:00
|
|
|
resolve any M(erge) problems
|
2003-11-25 19:34:29 +00:00
|
|
|
|
|
|
|
Open 'win_build'
|
|
|
|
|
|
|
|
Open 'BOINC.dsw'
|
|
|
|
|
2003-12-15 19:48:16 +00:00
|
|
|
in the visual c++ menu, pick
|
|
|
|
Build->Clean
|
|
|
|
Build->Rebuild All
|
|
|
|
the exe will be in win_build\Build\Debug
|
2003-11-25 19:34:29 +00:00
|
|
|
|
|
|
|
Open 'installer'
|
|
|
|
|
|
|
|
open 'BOINC.ipr' (installshield project)
|
2003-12-15 19:48:16 +00:00
|
|
|
|
|
|
|
in the installshield menu, pick
|
|
|
|
Build->Media->Build Default Media
|
2003-11-25 19:34:29 +00:00
|
|
|
[bonus: automate this process]
|
|
|
|
|
|
|
|
open 'BOINC.pfw' (package for the web project)
|
2003-12-15 19:48:16 +00:00
|
|
|
build everything, changing only the version numbers
|
|
|
|
[note: there are nine screens to go through. the version
|
|
|
|
numbers are on screen #1 and screen #9. Do not
|
|
|
|
change anything else]
|
|
|
|
[bonus: automate this process]
|
2003-11-25 19:34:29 +00:00
|
|
|
|
2003-12-15 19:48:16 +00:00
|
|
|
The new windows installer (BOINC_<verno>_intelx86_windows.exe)
|
|
|
|
will be left in this folder when you exit Package for the Web
|
2003-11-25 19:34:29 +00:00
|
|
|
|
2003-12-15 19:48:16 +00:00
|
|
|
SFTP to boincadm@koloth:
|
|
|
|
|
|
|
|
copy BOINC_<verno>_intelx86_windows.exe to the projects/AstroPulse_Beta/apps/boinc directory
|
|
|
|
|
|
|
|
|
2004-01-06 01:08:58 +00:00
|
|
|
{Linux, Solaris2.7} release:
|
2003-12-15 19:48:16 +00:00
|
|
|
use these hosts:
|
|
|
|
Linux: milhouse
|
|
|
|
solaris2.7: milkyway
|
|
|
|
|
|
|
|
note 1: The solaris 2.7 build should be statically linked, and should support
|
|
|
|
solaris 2.7-2.9
|
|
|
|
|
|
|
|
do a clean check out; compile; copy to koloth:
|
|
|
|
% cd ~
|
|
|
|
% mkdir proj
|
|
|
|
% cd proj
|
2004-01-06 01:08:58 +00:00
|
|
|
% mkdir client-build-`<any boinc src dir>/boinc/config.guess`
|
|
|
|
% cd client-build-`<any boinc src dir>/boinc/config.guess`
|
2003-12-15 19:48:16 +00:00
|
|
|
% cvs co boinc
|
|
|
|
% cd boinc
|
|
|
|
% ./configure && make
|
|
|
|
% scp client/boinc_<verno>_*.gz boincadm@koloth:projects/AstroPulse_Beta/apps/boinc/
|
|
|
|
|
|
|
|
[bonus: automate this process]
|
2003-11-25 19:34:29 +00:00
|
|
|
|
2004-01-06 01:08:58 +00:00
|
|
|
Mac OS X release:
|
|
|
|
use the G3 OS X 10.2 mac in 329 (setisf2):
|
|
|
|
|
|
|
|
note: The mac os x build is identical to the unix/linux builds, except that
|
|
|
|
the configure step requires the --build argument to set a generic
|
|
|
|
host type (see below). The mac os x client will run on either os x
|
|
|
|
10.2 or 10.3 [10.1 or earlier is not supported])
|
|
|
|
|
|
|
|
do a clean check out; compile; copy to koloth:
|
|
|
|
% cd ~
|
|
|
|
% mkdir proj
|
|
|
|
% cd proj
|
|
|
|
% mkdir client-build-powerpc-apple-darwin
|
|
|
|
% cvs co boinc
|
|
|
|
% cd boinc
|
|
|
|
% ./configure --build=powerpc-apple-darwin
|
|
|
|
% make
|
|
|
|
% scp client/boinc_<verno>_*.gz boincadm@koloth:projects/AstroPulse_Beta/apps/boinc/
|
|
|
|
|
|
|
|
[bonus: automate this process]
|
|
|
|
|
2003-12-27 04:30:48 +00:00
|
|
|
Test the installer(s) and start the new version on each test machine.
|
|
|
|
If all is well...
|
2003-11-25 19:34:29 +00:00
|
|
|
|
|
|
|
Update the server:
|
|
|
|
ssh boincadm@koloth
|
|
|
|
cd projects/Astropulse_Beta/bin
|
|
|
|
./update_versions &&
|
|
|
|
./stop
|
|
|
|
./start
|
|
|
|
|