author | bpittore |
Fri, 07 Feb 2014 14:47:04 -0500 | |
changeset 23477 | 6c2348280d09 |
parent 20363 | fa7663fc5d50 |
child 22722 | 03797b5d2ba3 |
permissions | -rw-r--r-- |
13697 | 1 |
#!/bin/bash |
2 |
# |
|
16661 | 3 |
# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. |
13697 | 4 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 |
# |
|
6 |
# This code is free software; you can redistribute it and/or modify it |
|
7 |
# under the terms of the GNU General Public License version 2 only, as |
|
8 |
# published by the Free Software Foundation. |
|
9 |
# |
|
10 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
|
11 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
12 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
13 |
# version 2 for more details (a copy is included in the LICENSE file that |
|
14 |
# accompanied this code). |
|
15 |
# |
|
16 |
# You should have received a copy of the GNU General Public License version |
|
17 |
# 2 along with this work; if not, write to the Free Software Foundation, |
|
18 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
19 |
# |
|
20 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
21 |
# or visit www.oracle.com if you need additional information or have any |
|
22 |
# questions. |
|
23 |
# |
|
24 |
||
20363 | 25 |
# This script is processed by configure before it's usable. It is run from |
13697 | 26 |
# the root of the build directory. |
27 |
||
28 |
||
29 |
########################################################################################## |
|
30 |
# Substitutions from autoconf |
|
31 |
||
32 |
LEGACY_BUILD_DIR=@OPENJDK_TARGET_OS@-@OPENJDK_TARGET_CPU_LEGACY@ |
|
33 |
||
34 |
OPENJDK_TARGET_OS="@OPENJDK_TARGET_OS@" |
|
35 |
OPENJDK_TARGET_CPU="@OPENJDK_TARGET_CPU@" |
|
36 |
||
37 |
AWK="@AWK@" |
|
38 |
CAT="@CAT@" |
|
39 |
CMP="@CMP@" |
|
40 |
CP="@CP@" |
|
41 |
CUT="@CUT@" |
|
42 |
DIFF="@DIFF@" |
|
14111 | 43 |
DUMPBIN="@FIXPATH@ @DUMPBIN@" |
13697 | 44 |
EXPR="@EXPR@" |
45 |
FILE="@FILE@" |
|
46 |
FIND="@FIND@" |
|
47 |
GREP="@GREP@" |
|
14111 | 48 |
JAVAP="@FIXPATH@ @BOOT_JDK@/bin/javap" |
13697 | 49 |
LDD="@LDD@" |
50 |
MKDIR="@MKDIR@" |
|
15059
4131faaca93d
8005575: build-infra: Three JCK tests fails on Solaris with new RE Autoconf-Based build
erikj
parents:
14280
diff
changeset
|
51 |
NAWK="@NAWK@" |
16582
61f0b8f48036
8006288: build-infra: Use solaris nm and not gnm on solaris
erikj
parents:
15059
diff
changeset
|
52 |
NM="@GNM@" |
13697 | 53 |
OBJDUMP="@OBJDUMP@" |
54 |
OTOOL="@OTOOL@" |
|
55 |
PRINTF="@PRINTF@" |
|
56 |
READELF="@READELF@" |
|
57 |
RM="@RM@" |
|
58 |
SED="@SED@" |
|
59 |
SORT="@SORT@" |
|
14111 | 60 |
STAT="@STAT@" |
13697 | 61 |
STRIP="@POST_STRIP_CMD@" |
62 |
TEE="@TEE@" |
|
63 |
UNIQ="@UNIQ@" |
|
14280
7d8ad47b2dbf
8002220: build-infra: update for mac, solaris 11 issues
erikj
parents:
14111
diff
changeset
|
64 |
UNPACK200="@FIXPATH@ @BOOT_JDK@/bin/unpack200" |
13697 | 65 |
UNZIP="@UNZIP@" |
66 |
||
67 |
SRC_ROOT="@SRC_ROOT@" |
|
68 |
||
14111 | 69 |
if [ "$OPENJDK_TARGET_OS" = "windows" ]; then |
20363 | 70 |
PATH="@VS_PATH@" |
13697 | 71 |
fi |
72 |
||
14111 | 73 |
# Now locate the main script and run it. |
74 |
REAL_COMPARE_SCRIPT="$SRC_ROOT/common/bin/compare.sh" |
|
75 |
if [ ! -e "$REAL_COMPARE_SCRIPT" ]; then |
|
20363 | 76 |
echo "Error: Cannot locate compare script, it should have been in $REAL_COMPARE_SCRIPT" |
77 |
exit 1 |
|
13697 | 78 |
fi |
79 |
||
14111 | 80 |
. "$REAL_COMPARE_SCRIPT" "$@" |