mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-15 20:10:33 +01:00
30d33aa8e8
9934c8faef29, 3c3b381c4865, 5a67f6beee9a, 1b1eb6d77728, a8b668fd72f7, bug962760, bug743700, bug857304, bug972653, bug972450, bug971358, bug903885, bug977073, bug976111, bug949939, bug947653, bug947572, bug903885, bug979106, bug966596, bug979004, bug979752, bug980848, bug938369, bug981170, bug668130, bug974693, bug975056, bug979132, bug370717, bug979070, bug985070, bug900067, bug977673, bug519255, bug989558, bug557299, bug987263, bug369802, a751a5146718, bug992343, bug952572, bug979703, bug994883, bug994869, bug993489, bug984608, bug977869, bug667371, bug672828, bug793347, bug977869
68 lines
1.4 KiB
Bash
68 lines
1.4 KiB
Bash
#! /bin/bash
|
|
|
|
# Each buildbot-slave requires a bbenv.sh file that defines
|
|
# machine specific variables. This is an example file.
|
|
|
|
|
|
HOST=$(hostname | cut -d. -f1)
|
|
export HOST
|
|
|
|
# if your machine's IP isn't registered in DNS,
|
|
# you must set appropriate environment variables
|
|
# that can be resolved locally.
|
|
# For example, if localhost.localdomain works on your system, set:
|
|
#HOST=localhost
|
|
#DOMSUF=localdomain
|
|
#export DOMSUF
|
|
|
|
ARCH=$(uname -s)
|
|
|
|
ulimit -c unlimited 2> /dev/null
|
|
|
|
export NSPR_LOG_MODULES="pkix:1"
|
|
|
|
#export JAVA_HOME_32=
|
|
#export JAVA_HOME_64=
|
|
|
|
#enable if you have PKITS data
|
|
#export PKITS_DATA=$HOME/pkits/data/
|
|
|
|
NSS_BUILD_TARGET="clean nss_build_all"
|
|
JSS_BUILD_TARGET="clean all"
|
|
|
|
MAKE=gmake
|
|
AWK=awk
|
|
PATCH=patch
|
|
|
|
if [ "${ARCH}" = "SunOS" ]; then
|
|
AWK=nawk
|
|
PATCH=gpatch
|
|
ARCH=SunOS/$(uname -p)
|
|
fi
|
|
|
|
if [ "${ARCH}" = "Linux" -a -f /etc/system-release ]; then
|
|
VERSION=`sed -e 's; release ;;' -e 's; (.*)$;;' -e 's;Red Hat Enterprise Linux Server;RHEL;' -e 's;Red Hat Enterprise Linux Workstation;RHEL;' /etc/system-release`
|
|
ARCH=Linux/${VERSION}
|
|
echo ${ARCH}
|
|
fi
|
|
|
|
PROCESSOR=$(uname -p)
|
|
if [ "${PROCESSOR}" = "ppc64" ]; then
|
|
ARCH="${ARCH}/ppc64"
|
|
fi
|
|
if [ "${PROCESSOR}" = "powerpc" ]; then
|
|
ARCH="${ARCH}/ppc"
|
|
fi
|
|
|
|
PORT_64_DBG=8543
|
|
PORT_64_OPT=8544
|
|
PORT_32_DBG=8545
|
|
PORT_32_OPT=8546
|
|
|
|
if [ "${NSS_TESTS}" = "memleak" ]; then
|
|
PORT_64_DBG=8547
|
|
PORT_64_OPT=8548
|
|
PORT_32_DBG=8549
|
|
PORT_32_OPT=8550
|
|
fi
|