2004-03-02 03:46:04 +00:00
|
|
|
Generating and releasing core client installers
|
2003-11-25 19:34:29 +00:00
|
|
|
|
2004-03-02 03:46:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
<verno> represents the new version number.
|
|
|
|
At the time of this update, the 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)
|
2004-01-16 17:39:15 +00:00
|
|
|
screen - this is useful for managing the builds and tests on
|
|
|
|
all *nix platforms
|
2004-01-16 00:45:56 +00:00
|
|
|
Windows:
|
2004-01-17 01:00:46 +00:00
|
|
|
Visual C++ 7.0
|
2004-01-16 00:45:56 +00:00
|
|
|
InstallShield 5.5 Pro
|
|
|
|
InstallShield Package for the Web v2
|
|
|
|
|
2004-03-02 03:46:04 +00:00
|
|
|
boinc\win_build\installer\Media folder
|
2004-01-17 01:00:46 +00:00
|
|
|
|
2003-11-25 19:34:29 +00:00
|
|
|
Administrivia:
|
2004-01-17 01:00:46 +00:00
|
|
|
do this on a unix machine:
|
2004-03-02 03:46:04 +00:00
|
|
|
(note: the make in your default path must be gmake
|
2004-01-17 01:00:46 +00:00
|
|
|
IN BOTH YOUR NORMAL SHELL AND SH
|
|
|
|
or else set-version will fail towards the end)
|
|
|
|
|
|
|
|
Check out a new copy of the BOINC source tree
|
|
|
|
Make an entry in checkin_notes w/ platforms, version#
|
2003-11-25 19:34:29 +00:00
|
|
|
|
|
|
|
Set the version number:
|
2004-01-17 01:00:46 +00:00
|
|
|
see clien/win/win_config.h to find last version#
|
|
|
|
(or look on web site)
|
|
|
|
|
|
|
|
% ./set-version <verno>
|
|
|
|
(this revises client/win/win_config.h, makefile.in's)
|
|
|
|
% cvs commit -m 'version <verno>'
|
2003-11-25 19:34:29 +00:00
|
|
|
|
|
|
|
Make a source tarball and zip:
|
2004-01-17 01:00:46 +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:
|
2004-02-04 23:18:14 +00:00
|
|
|
NOTE: currently we are distributing the debug version of the core client.
|
|
|
|
This is reflected in:
|
|
|
|
- where you copy dbghelp.dll to
|
|
|
|
- the "File Groups" tab of Installshield (link type)
|
|
|
|
|
2004-01-16 00:45:56 +00:00
|
|
|
Use the HP Kayak windows box (bart) in 329 or the Dell (skinner) in 325.
|
2003-11-25 19:34:29 +00:00
|
|
|
|
2004-01-17 01:00:46 +00:00
|
|
|
set up:
|
2004-03-02 03:46:04 +00:00
|
|
|
check out new source tree
|
|
|
|
copy Media.zip into win_build/installer; unzip
|
|
|
|
make sure "Media" is at top level of installer
|
|
|
|
Right-click on top BOINC folder;
|
|
|
|
CVS/preferences/policy; clear "prune empty folders" checkbox
|
2004-02-04 23:18:14 +00:00
|
|
|
copy "client/win/dbghelp.dll" to "win_build/Build/Debug"
|
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'
|
|
|
|
|
2004-01-17 01:00:46 +00:00
|
|
|
Open 'BOINC.sln' (or .dsw if VC6.0)
|
2003-11-25 19:34:29 +00:00
|
|
|
|
2003-12-15 19:48:16 +00:00
|
|
|
in the visual c++ menu, pick
|
2004-01-17 01:00:46 +00:00
|
|
|
Build->Clean solution
|
|
|
|
Build->build solution
|
2003-12-15 19:48:16 +00:00
|
|
|
the exe will be in win_build\Build\Debug
|
2003-11-25 19:34:29 +00:00
|
|
|
|
2004-01-17 01:00:46 +00:00
|
|
|
Open 'win_build/installer'
|
2003-11-25 19:34:29 +00:00
|
|
|
|
|
|
|
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]
|
2004-01-19 18:59:16 +00:00
|
|
|
exit installshield
|
2003-11-25 19:34:29 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
2004-01-17 01:00:46 +00:00
|
|
|
Do a CVS commit of win_build/installer/BOINC.pfw (to get version#, year)
|
|
|
|
(possibly)
|
|
|
|
|
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-17 01:00:46 +00:00
|
|
|
% mkdir <platform name>
|
|
|
|
% cd <platform name>
|
2003-12-15 19:48:16 +00:00
|
|
|
% cvs co boinc
|
|
|
|
% cd boinc
|
|
|
|
% ./configure && make
|
2004-01-17 01:00:46 +00:00
|
|
|
(tee to a file if you want to look at logs later)
|
|
|
|
% scp client/boinc_<verno>_<platform>.gz boincadm@koloth:projects/AstroPulse_Beta/apps/boinc/
|
2003-12-15 19:48:16 +00:00
|
|
|
|
|
|
|
[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
|
|
|
|
% cvs co boinc
|
|
|
|
% cd boinc
|
|
|
|
% ./configure --build=powerpc-apple-darwin
|
|
|
|
% make
|
2004-01-17 01:00:46 +00:00
|
|
|
% cd client
|
|
|
|
% rename boinc_<verno>_<plat>.gz to b_<verno>_<plat>.gz
|
|
|
|
(to work around Mac IE 31-char filename bug)
|
|
|
|
% scp b_<verno>_*.gz boincadm@koloth:projects/AstroPulse_Beta/apps/boinc/
|
2004-01-06 01:08:58 +00:00
|
|
|
|
2004-01-16 17:39:15 +00:00
|
|
|
Note1: This same technique applies to building the setiathome application.
|
|
|
|
Note2: The .gz filename is longer than the maximum filename length imposed
|
|
|
|
by some macintosh browsers, such as IE and Safari (this limit was
|
|
|
|
left over from OS 9, and doesn't exist in OS X. Why the OS X browsers
|
|
|
|
continue to enforce it is a mystery). For the next release and going
|
|
|
|
forward, we should change the os x .gz file name to something shorter,
|
|
|
|
such as boinc_<verno>_OSX.gz (but leave the platform name the same
|
|
|
|
as before: powerpc-apple-darwin). This will solve a lot of download
|
|
|
|
problems for mac users.
|
|
|
|
|
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
|
2004-01-17 01:00:46 +00:00
|
|
|
./update_versions
|
2003-11-25 19:34:29 +00:00
|
|
|
./stop
|
|
|
|
./start
|
|
|
|
|