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