1d83b1c5aSGordon Ross# 2d83b1c5aSGordon Ross# CDDL HEADER START 3d83b1c5aSGordon Ross# 4d83b1c5aSGordon Ross# The contents of this file are subject to the terms of the 5d83b1c5aSGordon Ross# Common Development and Distribution License (the "License"). 6d83b1c5aSGordon Ross# You may not use this file except in compliance with the License. 7d83b1c5aSGordon Ross# 8d83b1c5aSGordon Ross# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9d83b1c5aSGordon Ross# or http://www.opensolaris.org/os/licensing. 10d83b1c5aSGordon Ross# See the License for the specific language governing permissions 11d83b1c5aSGordon Ross# and limitations under the License. 12d83b1c5aSGordon Ross# 13d83b1c5aSGordon Ross# When distributing Covered Code, include this CDDL HEADER in each 14d83b1c5aSGordon Ross# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15d83b1c5aSGordon Ross# If applicable, add the following below this CDDL HEADER, with the 16d83b1c5aSGordon Ross# fields enclosed by brackets "[]" replaced with your own identifying 17d83b1c5aSGordon Ross# information: Portions Copyright [yyyy] [name of copyright owner] 18d83b1c5aSGordon Ross# 19d83b1c5aSGordon Ross# CDDL HEADER END 20d83b1c5aSGordon Ross# 21d83b1c5aSGordon Ross# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 22d83b1c5aSGordon Ross# Copyright 2012 Joshua M. Clulow <josh@sysmgr.org> 23d83b1c5aSGordon Ross# Copyright 2013 Nexenta Systems, Inc. All rights reserved. 24d83b1c5aSGordon Ross# 25d83b1c5aSGordon Ross 26d83b1c5aSGordon Ross# Configuration variables for the runtime environment of the nightly 27d83b1c5aSGordon Ross# build script and other tools for construction and packaging of releases. 28b6448328SGordon Ross# This script is sourced by 'nightly' and 'bldenv' to set up the environment. 29b6448328SGordon Ross# See illumos-gate/usr/src/tools/env for details. 30d83b1c5aSGordon Rossexport NIGHTLY_OPTIONS='-DCFlnpr' 31d83b1c5aSGordon Ross 32b6448328SGordon Ross# CODEMGR_WS - where is your workspace 33d83b1c5aSGordon Rossexport CODEMGR_WS=`git rev-parse --show-toplevel` 34d83b1c5aSGordon Ross 35d83b1c5aSGordon Ross# This is a variable for the rest of the script - GATE doesn't matter to 36d83b1c5aSGordon Ross# nightly itself. 37d83b1c5aSGordon RossGATE=`basename ${CODEMGR_WS}` 38d83b1c5aSGordon Ross 39b6448328SGordon Ross# Maximum number of dmake jobs. Small WS -- keep it simple. 40d83b1c5aSGordon Rossexport DMAKE_MAX_JOBS=4 41d83b1c5aSGordon Ross 423f49b393SGordon Ross# You should not need to change the next three lines 43d83b1c5aSGordon Rossexport ATLOG="$CODEMGR_WS/log" 44d83b1c5aSGordon Rossexport LOGFILE="$ATLOG/nightly.log" 45d83b1c5aSGordon Rossexport MACH="$(uname -p)" 46d83b1c5aSGordon Ross 47b6448328SGordon Ross# where is the proto area etc. 48d83b1c5aSGordon Rossexport ROOT="$CODEMGR_WS/proto/root_${MACH}" 49d83b1c5aSGordon Rossexport SRC="$CODEMGR_WS/usr/src" 50d83b1c5aSGordon Rossexport MULTI_PROTO="no" 51d83b1c5aSGordon Ross 52d83b1c5aSGordon Ross# 53b6448328SGordon Ross# Build environment variables, including version info for mcs, etc. 54b6448328SGordon Ross# We want the git changeset hash. 55d83b1c5aSGordon RossGIT_REV=`git rev-parse --short=10 HEAD` 56d83b1c5aSGordon Rossexport VERSION="${GATE}:${GIT_REV}" 57d83b1c5aSGordon Rossexport ONNV_BUILDNUM=152 58d83b1c5aSGordon Ross 59d83b1c5aSGordon Ross# export RELEASE='5.11' 60d83b1c5aSGordon Ross# export RELEASE_DATE='October 2007' 61d83b1c5aSGordon Ross 62b6448328SGordon Ross# Package creation variables. 63d83b1c5aSGordon Rossexport PKGARCHIVE="${CODEMGR_WS}/packages/${MACH}/nightly" 64d83b1c5aSGordon Ross# export PKGPUBLISHER_REDIST='on-redist' 65d83b1c5aSGordon Ross 66d83b1c5aSGordon Ross# Package manifest format version. 67d83b1c5aSGordon Rossexport PKGFMT_OUTPUT='v1' 68d83b1c5aSGordon Ross 69b6448328SGordon Ross# Disable shadow compilation. 70b6448328SGordon Rossexport CW_NO_SHADOW='1' 71d83b1c5aSGordon Ross 72b6448328SGordon Ross# Build tools - don't change these unless you know what you're doing. 73*0543bac1SGordon Rossexport BUILD_TOOLS=/opt 74d83b1c5aSGordon Rossexport ONBLD_TOOLS=/opt/onbld 753f49b393SGordon Ross 76b6448328SGordon Ross# see usr/src/pkg 77b6448328SGordon Ross# export PKGPUBLISHER=on-skel 78