1# This script contains site-specific parameters for the BUILD_ROTD script
2
3# Architectures to build for
4ARCHITECTURES="\
5	i386_linux \
6	x86_64_linux \
7	sparc_sunos5 \
8	i386_nt \
9	x86_64_nt
10"
11
12# Machine names that contain dots or hyphens must be given aliases without,
13# and the mapping defined here as MACHINE_NAME_<alias>=<fullname>, e.g
14# MACHINE_NAME_badgerix=badgerix.company.com
15# MACHINE_NAME_stupid_name=stupid-name
16# All definitions below must then only use the simple alias!
17
18
19# Machines which require a non-standard user name...
20#MACHINE_USER_idefix=eclipse
21
22
23# (Test) machines that don't share the rotd file system,
24# and the location of the shadow ROTD_DIR on these machines.
25#REMOTE_MACHINE_idefix=yes
26#ROTD_DIR_idefix=c:/cygwin/vol/Eclipse/rotds
27
28# Machine to do disk-intensive operations on.
29DISK_MACHINE=
30
31# Where to build the installation by default (should be on DISK_MACHINE)
32ROTD_DIR=
33
34# Unix group name (all files will be made writable for this group)
35ECLIPSEGROUP=eclipse
36
37# Default location of CVS repository
38# pserver access is read-only and doesn't allow incrementing build number!
39CVSDIR=:pserver:anonymous:@eclipse-clp.cvs.sourceforge.net:/cvsroot/eclipse-clp
40# ssh access, requires sourceforge account registered as eclipse-clp developer
41#CVSDIR=:ext:myname@eclipse-clp.cvs.sourceforge.net:/cvsroot/eclipse-clp
42# Default location of CVS repository for the tests (if different)
43CVSDIR_TESTS=
44CVS_RSH=ssh
45
46# Location of thirdparty components
47export ECLIPSETHIRDPARTY=/vol/Eclipse/thirdparty_open
48
49# Machine to perform CVS operations on.
50CVS_MACHINE=$DISK_MACHINE
51
52
53# Machine to perform find operations on.
54FIND_MACHINE=$DISK_MACHINE
55
56
57# List of remote destinations to transfer the final archives to
58# (replacement for obsolete FTP_MACHINE, BASE_ARCHIVE_DIR).
59# The machines here must allow passwordless ssh from DISK_MACHINE!
60# Use short machine alias (see above) here, rather than full name.
61ARCHIVE_DESTS="\
62	venus:/home/ecl/mirror\
63"
64
65
66# Machine to build documentation on.
67DOC_MACHINE=
68
69# Machine to pack the distribution archives on.
70PACK_MACHINE=$DISK_MACHINE
71
72# Native Windows machine for when one is necessary.
73WIN_NATIVE_MACHINE=
74
75# Machines to use to build each architecture.
76MACHINE_i386_linux=$DISK_MACHINE
77MACHINE_x86_64_linux=
78MACHINE_sparc_sunos5=
79MACHINE_alpha_linux=
80MACHINE_ppc_macosx=
81MACHINE_i386_macosx=
82MACHINE_sun4=
83MACHINE_i386_nt=$MACHINE_i386_linux	# Cross-compiler
84MACHINE_x86_64_nt=$MACHINE_i386_linux	# Cross-compiler
85
86
87# List specifying which architectures and machines (do not) support Java.
88# By default, Java is assumed to be supported.  Also, a setting for a
89# specific machine overrides a specification for an architecture.
90JAVA_ARCH_sun4=no
91
92
93# Useful shell function for deciding whether a particular machine of
94# specified architecture supports Java or not.
95supports_java() {   # machine, arch
96    eval java_supported=\"'$JAVA_MACHINE_'$1\"
97    if [ -z "$java_supported" ] ; then
98	eval java_supported=\"'$JAVA_ARCH_'$2\"
99    fi
100
101    [ "$java_supported" != no ]
102}
103
104
105# Machines to use to test each architecture.  Note that each architecture
106# can be tested on multiple machines, useful if they are different
107# configurations.  Also, instead of giving a specific machine name, it is
108# also possible to give a class of machines (e.g. farm) --- see the
109# MACHINE_CLASS_ALIAS_* variables.  In such a case, one machine is selected
110# from the class and the tests run on that machine.  Currently the machine
111# is selected by finding one on which no CPLEX licences are in use.
112
113TEST_MACHINES_i386_linux=
114TEST_MACHINES_x86_64_linux=
115TEST_MACHINES_sparc_sunos5=
116TEST_MACHINES_alpha_linux=
117TEST_MACHINES_ppc_macosx=
118TEST_MACHINES_i386_macosx=
119TEST_MACHINES_sun4=
120TEST_MACHINES_i386_nt=
121TEST_MACHINES_x86_64_nt=
122
123MACHINE_CLASS_ALIAS_farm=
124
125