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
|
|
|
|
2004-01-16 00:45:56 +00:00
|
|
|
Required:
|
|
|
|
Unix/Linux/Mac:
|
|
|
|
These machines should have everything you need by default, but make
|
|
|
|
sure you have the following:
|
|
|
|
gmake
|
|
|
|
gcc 3.3 - especially on the Mac
|
|
|
|
autoconf (v2.54 or greater)
|
|
|
|
Windows:
|
|
|
|
Visual C++ 6.0 (soon to be VC++ .net)
|
|
|
|
InstallShield 5.5 Pro
|
|
|
|
InstallShield Package for the Web v2
|
|
|
|
|
|
|
|
boinc\win_build\installer\Media folder
|
|
|
|
(copy from quarl or gmg build folders if you're starting a new
|
|
|
|
build folder. This should be checked in once the required files
|
|
|
|
are separated from the generated files)
|
|
|
|
|
2003-11-25 19:34:29 +00:00
|
|
|
Administrivia:
|
|
|
|
Make a note in checkin_notes
|
|
|
|
|
|
|
|
Set the version number:
|
2004-01-16 00:45:56 +00:00
|
|
|
do this on a unix machine, preferably in a clean checkout of boinc
|
2003-12-15 19:48:16 +00:00
|
|
|
first, update the installer files for windows:
|
2004-01-16 00:45:56 +00:00
|
|
|
[this is so these files actually get into the distribution source]
|
2003-12-15 19:48:16 +00:00
|
|
|
% 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/
|
2004-01-16 00:45:56 +00:00
|
|
|
|
|
|
|
Build
|
|
|
|
Windows:
|
|
|
|
Use the HP Kayak windows box (bart) in 329 or the Dell (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-16 00:45:56 +00:00
|
|
|
Linux/Solaris:
|
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-16 00:45:56 +00:00
|
|
|
Mac OS X:
|
2004-01-06 01:08:58 +00:00
|
|
|
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/
|
|
|
|
|
2004-01-16 00:45:56 +00:00
|
|
|
Note: This same technique applies to building the setiathome application.
|
2004-01-06 01:08:58 +00:00
|
|
|
[bonus: automate this process]
|
|
|
|
|
2004-01-16 00:45:56 +00:00
|
|
|
Test
|
|
|
|
Test the installer(s) and start the new version on each test machine:
|
|
|
|
Solaris 2.7 - milkyway
|
|
|
|
Solaris 2.8 - kodos
|
|
|
|
Solaris 2.9 - setisf1
|
|
|
|
Linux - shaggy
|
|
|
|
Mac OS X 10.2 - setisf2
|
|
|
|
Mac OS X 10.3 - seti2
|
|
|
|
WinXP - bart (329) or skinner (325)
|
|
|
|
Win2K - kent (Aaron's desk)
|
|
|
|
Win98 - marge [aka drake] (Matt's desk)
|
|
|
|
|
2003-12-27 04:30:48 +00:00
|
|
|
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
|
|
|
|
|