blob: 84d8fb7df15cbd8568fec5fa37598349e275e7a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
1. Update Version information
- change version in CMakeLists.txt
- build release on windows, and do a make; make install; make release // this step tags
- this changes cmake_release.sh
-winzip command line, nullsoft installer
* for major release edit Source/cmCPluginAPI.h
2. UNIX builds:
Log into hythloth as kingb.
cd ~kingb/Programs/releases/CMake/Utilities/Release
# build the binaries
./release_dispatch.sh clean
./release_dispatch.sh binary
./release_dispatch.sh logs
# build a second sgi for 64 bit
./cmake_release.sh remote_binary dashsgi1
# now build source tar ball
./cmake_release.sh remote_source localhost
# not upload the whole thing to public
./cmake_release.sh upload
3. Cygwin build:
Checkout release branch.
cd Utilities/Release
./cmake_release.sh cygwin_package
./cmake_release.sh cygwin_upload
(now you have to send email to cygwin-apps to get it uploaded to cygwin site.)
NOTES from Brad:
Log into hythloth as kingb.
cd ~kingb/Programs/releases/CMake/Utilities/Release
The release scripts are located in CMake and ParaView under the Utilities/Release directory. It is important to run the script obtained by checking out a copy of the corresponding release branch from CVS. Here is a summary of how to use them:
The release_dispatch.sh script has a list of machine names at the top. When run, this script will automatically ssh to these machines to build the releases. Run it like this:
./release_dispatch.sh clean
./release_dispatch.sh binary
./release_dispatch.sh logs
The first line will ssh to all the machines and wipe out any existing release build. The second will ssh to the machines and start the release scripts with output going to a log file. The third line will bring up a whole bunch of xterm windows each showing the log from one of the machines. Therefore you should run this from a prompt with access to an X display. Alternatively you can just look at the log files manually.
After the logs report the job is complete, then the binaries should be sitting on the local machine in the same directory as the scripts. You can run
./cmake_release.sh remote_source localhost
to get the source tarballs. Then run
./cmake_release.sh upload
to upload the files to public in the proper FTP directory.
For shannara, the home directory does not have enough disk space to build ParaView. After the "clean" step, you should manually log into the machine and do
rm -rf /disk2/ParaViewReleaseRoot
ln -s /disk2/ParaViewReleaseRoot ~/
For the aix build, you need to manually login to the box and checkout a copy of the Utilities/Release directory. Then run the release script by hand:
./cmake_release.sh binary_tarball
./paraview_release.sh binary_tarball
Then in the release root directory there will be a Tarballs subdirectory with the binaries.
|