Thu, 16 Apr 2009 11:22:36 -0700
Added tag jdk7-b55 for changeset aea0ace7a1e4
duke@2 | 1 | #!echo "This is not a shell script" |
duke@2 | 2 | ############################################################################# |
duke@2 | 3 | # |
xdono@65 | 4 | # Copyright 2006-2009 Sun Microsystems, Inc. All Rights Reserved. |
duke@2 | 5 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
duke@2 | 6 | # |
duke@2 | 7 | # This code is free software; you can redistribute it and/or modify it |
duke@2 | 8 | # under the terms of the GNU General Public License version 2 only, as |
duke@2 | 9 | # published by the Free Software Foundation. Sun designates this |
duke@2 | 10 | # particular file as subject to the "Classpath" exception as provided |
duke@2 | 11 | # by Sun in the LICENSE file that accompanied this code. |
duke@2 | 12 | # |
duke@2 | 13 | # This code is distributed in the hope that it will be useful, but WITHOUT |
duke@2 | 14 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
duke@2 | 15 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
duke@2 | 16 | # version 2 for more details (a copy is included in the LICENSE file that |
duke@2 | 17 | # accompanied this code). |
duke@2 | 18 | # |
duke@2 | 19 | # You should have received a copy of the GNU General Public License version |
duke@2 | 20 | # 2 along with this work; if not, write to the Free Software Foundation, |
duke@2 | 21 | # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
duke@2 | 22 | # |
duke@2 | 23 | # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
duke@2 | 24 | # CA 95054 USA or visit www.sun.com if you need additional information or |
duke@2 | 25 | # have any questions. |
duke@2 | 26 | # |
duke@2 | 27 | ############################################################################# |
duke@2 | 28 | # |
duke@2 | 29 | # JPRT shell configuration for building. |
duke@2 | 30 | # |
duke@2 | 31 | # Input environment variables: |
duke@2 | 32 | # ALT_BOOTDIR |
duke@2 | 33 | # ALT_SLASH_JAVA |
duke@2 | 34 | # ALT_JDK_IMPORT_PATH |
duke@2 | 35 | # OPENJDK |
duke@2 | 36 | # Windows Only: |
duke@2 | 37 | # PATH |
duke@2 | 38 | # VS71COMNTOOLS |
duke@2 | 39 | # PROCESSOR_IDENTIFIER |
duke@2 | 40 | # ROOTDIR |
duke@2 | 41 | # |
duke@2 | 42 | # Output variable settings: |
duke@2 | 43 | # make Full path to GNU make |
duke@2 | 44 | # compiler_path Path to compiler bin directory |
duke@2 | 45 | # compiler_name Unique name of this compiler |
duke@2 | 46 | # |
duke@2 | 47 | # Output environment variables: |
duke@2 | 48 | # PATH |
duke@2 | 49 | # ALT_COMPILER_PATH |
duke@2 | 50 | # OPENJDK only: |
duke@2 | 51 | # ALT_CLOSED_JDK_IMPORT_PATH |
duke@2 | 52 | # ALT_JDK_DEVTOOLS_DIR |
duke@2 | 53 | # Windows Only: |
duke@2 | 54 | # ALT_MSDEVTOOLS_PATH |
duke@2 | 55 | # ALT_DEVTOOLS_PATH (To avoid the C:/UTILS default) |
duke@2 | 56 | # LIB |
duke@2 | 57 | # INCLUDE |
duke@2 | 58 | # |
duke@2 | 59 | # After JDK6, most settings will be found via ALT_SLASH_JAVA or |
duke@2 | 60 | # by way of other system environment variables. If this was JDK5 |
duke@2 | 61 | # or an older JDK, you might need to export more ALT_* variables. |
duke@2 | 62 | # |
duke@2 | 63 | # On Windows AMD64, if MSSDK is not set, assumes Platform SDK is installed at: |
duke@2 | 64 | # C:/Program Files/Microsoft Platform SDK |
duke@2 | 65 | # |
duke@2 | 66 | ############################################################################# |
duke@2 | 67 | |
duke@2 | 68 | ############################################################################# |
duke@2 | 69 | # Error |
duke@2 | 70 | error() # message |
duke@2 | 71 | { |
duke@2 | 72 | echo "ERROR: $1" |
duke@2 | 73 | exit 6 |
duke@2 | 74 | } |
duke@2 | 75 | # Directory must exist |
duke@2 | 76 | dirMustExist() # dir name |
duke@2 | 77 | { |
duke@2 | 78 | if [ ! -d "$1" ] ; then |
duke@2 | 79 | error "Directory for $2 does not exist: $1" |
duke@2 | 80 | fi |
duke@2 | 81 | } |
duke@2 | 82 | # File must exist |
duke@2 | 83 | fileMustExist() # dir name |
duke@2 | 84 | { |
duke@2 | 85 | if [ ! -f "$1" ] ; then |
duke@2 | 86 | error "File for $2 does not exist: $1" |
duke@2 | 87 | fi |
duke@2 | 88 | } |
duke@2 | 89 | ############################################################################# |
duke@2 | 90 | |
duke@2 | 91 | # Should be set by JPRT as the 3 basic inputs |
duke@2 | 92 | bootdir="${ALT_BOOTDIR}" |
duke@2 | 93 | slashjava="${ALT_SLASH_JAVA}" |
duke@2 | 94 | jdk_import="${ALT_JDK_IMPORT_PATH}" |
duke@2 | 95 | |
duke@2 | 96 | # The /java/devtools items |
duke@2 | 97 | jdk_devtools="${slashjava}/devtools" |
duke@2 | 98 | share="${jdk_devtools}/share" |
duke@2 | 99 | |
duke@2 | 100 | # Needed for langtools, maybe other parts of the build |
duke@2 | 101 | ANT_HOME="${share}/ant/latest" |
duke@2 | 102 | export ANT_HOME |
duke@2 | 103 | |
duke@2 | 104 | # The 3 bin directories in common to all platforms |
duke@2 | 105 | sharebin="${share}/bin" |
duke@2 | 106 | antbin="${ANT_HOME}/bin" |
duke@2 | 107 | |
duke@2 | 108 | # Check input |
duke@2 | 109 | dirMustExist "${bootdir}" ALT_BOOTDIR |
duke@2 | 110 | dirMustExist "${slashjava}" ALT_SLASH_JAVA |
duke@2 | 111 | dirMustExist "${jdk_import}" ALT_JDK_IMPORT_PATH |
duke@2 | 112 | dirMustExist "${ANT_HOME}" ANT_HOME |
duke@2 | 113 | |
ohair@29 | 114 | # If ALT_PREVIOUS_RELEASE_IMAGE not defined, set it to the bootdir area for |
duke@2 | 115 | # any possible image comparisons. |
duke@2 | 116 | # We assume bootdir is a previous jdk release image, valid for comparison |
duke@2 | 117 | # reasons. |
ohair@29 | 118 | if [ "${ALT_PREVIOUS_RELEASE_IMAGE}" = "" ] ; then |
ohair@29 | 119 | ALT_PREVIOUS_RELEASE_IMAGE="${bootdir}" |
ohair@29 | 120 | export ALT_PREVIOUS_RELEASE_IMAGE |
duke@2 | 121 | fi |
duke@2 | 122 | |
duke@2 | 123 | # Use the JDK import for now (FIXME: use the binary plugs?) |
duke@2 | 124 | if [ "${OPENJDK}" = true ] ; then |
duke@2 | 125 | ALT_CLOSED_JDK_IMPORT_PATH="${jdk_import}" |
duke@2 | 126 | export ALT_CLOSED_JDK_IMPORT_PATH |
duke@2 | 127 | fi |
duke@2 | 128 | |
duke@2 | 129 | # Uses 'uname -s', but only expect SunOS or Linux, assume Windows otherwise. |
duke@2 | 130 | osname=`uname -s` |
duke@2 | 131 | if [ "${osname}" = SunOS ] ; then |
duke@2 | 132 | |
duke@2 | 133 | # SOLARIS: Sparc or X86 |
duke@2 | 134 | osarch=`uname -p` |
duke@2 | 135 | if [ "${osarch}" = sparc ] ; then |
duke@2 | 136 | solaris_arch=sparc |
duke@2 | 137 | else |
duke@2 | 138 | solaris_arch=i386 |
duke@2 | 139 | fi |
duke@2 | 140 | |
ohair@22 | 141 | # Get the compilers into path (make sure it matches ALT setting) |
ohair@22 | 142 | if [ "${JPRT_SOLARIS_COMPILER_NAME}" != "" ] ; then |
ohair@22 | 143 | compiler_name=${JPRT_SOLARIS_COMPILER_NAME} |
ohair@22 | 144 | else |
ohair@30 | 145 | compiler_name=SS12 |
ohair@22 | 146 | fi |
ohair@22 | 147 | compiler_path=${jdk_devtools}/${solaris_arch}/SUNWspro/${compiler_name}/bin |
duke@2 | 148 | ALT_COMPILER_PATH="${compiler_path}" |
duke@2 | 149 | export ALT_COMPILER_PATH |
duke@2 | 150 | dirMustExist "${compiler_path}" ALT_COMPILER_PATH |
ohair@39 | 151 | path4sdk=${compiler_path}:${sharebin}:${antbin} |
duke@2 | 152 | |
duke@2 | 153 | # Add basic solaris system paths |
duke@2 | 154 | path4sdk=${path4sdk}:/usr/ccs/bin:/usr/ccs/lib:/usr/bin:/bin:/usr/sfw/bin |
duke@2 | 155 | |
duke@2 | 156 | # Get the previous JDK to be used to bootstrap the build |
duke@2 | 157 | path4sdk=${bootdir}/bin:${path4sdk} |
duke@2 | 158 | |
duke@2 | 159 | # Find GNU make |
duke@2 | 160 | make=/usr/sfw/bin/gmake |
duke@2 | 161 | if [ ! -f ${make} ] ; then |
duke@2 | 162 | make=/opt/sfw/bin/gmake |
duke@2 | 163 | if [ ! -f ${make} ] ; then |
duke@2 | 164 | make=${jdk_devtools}/${solaris_arch}/bin/gnumake |
duke@2 | 165 | fi |
duke@2 | 166 | fi |
duke@2 | 167 | fileMustExist "${make}" make |
duke@2 | 168 | |
duke@2 | 169 | # File creation mask |
duke@2 | 170 | umask 002 |
duke@2 | 171 | |
duke@2 | 172 | elif [ "${osname}" = Linux ] ; then |
duke@2 | 173 | |
duke@2 | 174 | # LINUX: X86, AMD64 |
duke@2 | 175 | osarch=`uname -m` |
duke@2 | 176 | if [ "${osarch}" = i686 ] ; then |
duke@2 | 177 | linux_arch=i586 |
duke@2 | 178 | elif [ "${osarch}" = x86_64 ] ; then |
duke@2 | 179 | linux_arch=amd64 |
duke@2 | 180 | fi |
duke@2 | 181 | |
duke@2 | 182 | # Get the compilers into path (make sure it matches ALT setting) |
duke@2 | 183 | compiler_path=/usr/bin |
duke@2 | 184 | compiler_name=usr_bin |
duke@2 | 185 | ALT_COMPILER_PATH="${compiler_path}" |
duke@2 | 186 | export ALT_COMPILER_PATH |
duke@2 | 187 | dirMustExist "${compiler_path}" ALT_COMPILER_PATH |
ohair@39 | 188 | path4sdk=${compiler_path}:${sharebin}:${antbin} |
duke@2 | 189 | |
duke@2 | 190 | # Add basic paths |
duke@2 | 191 | path4sdk=${path4sdk}:/usr/bin:/bin:/usr/sbin:/sbin |
duke@2 | 192 | |
duke@2 | 193 | # Get the previous JDK to be used to bootstrap the build |
duke@2 | 194 | path4sdk=${bootdir}/bin:${path4sdk} |
duke@2 | 195 | |
duke@2 | 196 | # Find GNU make |
duke@2 | 197 | make=/usr/bin/make |
duke@2 | 198 | fileMustExist "${make}" make |
duke@2 | 199 | |
duke@2 | 200 | umask 002 |
duke@2 | 201 | |
duke@2 | 202 | # Linux platform may be old, use motif files from the devtools area |
duke@2 | 203 | if [ "${OPENJDK}" = true ] ; then |
duke@2 | 204 | ALT_JDK_DEVTOOLS_DIR="${jdk_devtools}" |
duke@2 | 205 | export ALT_JDK_DEVTOOLS_DIR |
duke@2 | 206 | fi |
duke@2 | 207 | |
duke@2 | 208 | |
duke@2 | 209 | else |
duke@2 | 210 | |
duke@2 | 211 | # Windows: Differs on CYGWIN vs. MKS, and the compiler available. |
duke@2 | 212 | # Also, blanks in pathnames gives GNU make headaches, so anything placed |
duke@2 | 213 | # in any ALT_* variable should be the short windows dosname. |
duke@2 | 214 | |
duke@2 | 215 | # WINDOWS: Install and use MKS or CYGWIN (should have already been done) |
duke@2 | 216 | # Assumption here is that you are in a shell window via MKS or cygwin. |
duke@2 | 217 | # MKS install should have defined the environment variable ROOTDIR. |
duke@2 | 218 | # We also need to figure out which one we have: X86, AMD64 |
duke@2 | 219 | if [ "`echo ${PROCESSOR_IDENTIFIER} | fgrep AMD64`" != "" ] ; then |
duke@2 | 220 | windows_arch=amd64 |
duke@2 | 221 | else |
duke@2 | 222 | windows_arch=i586 |
duke@2 | 223 | fi |
duke@2 | 224 | |
duke@2 | 225 | # We need to determine if we are running a CYGWIN shell or an MKS shell |
duke@2 | 226 | # (if uname isn't available, then it will be unix_toolset=unknown) |
duke@2 | 227 | unix_toolset=unknown |
duke@2 | 228 | if [ "`uname -a | fgrep Cygwin`" = "" -a -d "${ROOTDIR}" ] ; then |
duke@2 | 229 | # We kind of assume ROOTDIR is where MKS is and it's ok |
duke@2 | 230 | unix_toolset=MKS |
duke@2 | 231 | mkshome=`dosname -s "${ROOTDIR}"` |
duke@2 | 232 | # Utility to convert to short pathnames without spaces |
duke@2 | 233 | dosname="${mkshome}/mksnt/dosname -s" |
duke@2 | 234 | # Most unix utilities are in the mksnt directory of ROOTDIR |
duke@2 | 235 | unixcommand_path="${mkshome}/mksnt" |
ohair@39 | 236 | path4sdk="${sharebin};${antbin};${unixcommand_path}" |
duke@2 | 237 | dirMustExist "${unixcommand_path}" ALT_UNIXCOMMAND_PATH |
duke@2 | 238 | devtools_path="${jdk_devtools}/win32/bin" |
duke@2 | 239 | path4sdk="${devtools_path};${path4sdk}" |
duke@2 | 240 | # Normally this need not be set, but on Windows it's default is C:/UTILS |
duke@2 | 241 | ALT_DEVTOOLS_PATH="${devtools_path}" |
duke@2 | 242 | export ALT_DEVTOOLS_PATH |
duke@2 | 243 | dirMustExist "${devtools_path}" ALT_DEVTOOLS_PATH |
duke@2 | 244 | # Find GNU make |
duke@2 | 245 | make="${devtools_path}/gnumake.exe" |
duke@2 | 246 | fileMustExist "${make}" make |
duke@2 | 247 | elif [ "`uname -a | fgrep Cygwin`" != "" -a -f /bin/cygpath ] ; then |
duke@2 | 248 | # For CYGWIN, uname will have "Cygwin" in it, and /bin/cygpath should exist |
duke@2 | 249 | unix_toolset=CYGWIN |
duke@2 | 250 | # Utility to convert to short pathnames without spaces |
duke@2 | 251 | dosname="/usr/bin/cygpath -a -m -s" |
duke@2 | 252 | # Most unix utilities are in the /usr/bin |
duke@2 | 253 | unixcommand_path="/usr/bin" |
ohair@39 | 254 | path4sdk="${sharebin};${antbin};${unixcommand_path}" |
duke@2 | 255 | dirMustExist "${unixcommand_path}" ALT_UNIXCOMMAND_PATH |
duke@2 | 256 | # Find GNU make |
duke@2 | 257 | make="${unixcommand_path}/make.exe" |
duke@2 | 258 | fileMustExist "${make}" make |
duke@2 | 259 | else |
duke@2 | 260 | echo "WARNING: Cannot figure out if this is MKS or CYGWIN" |
duke@2 | 261 | fi |
duke@2 | 262 | |
duke@2 | 263 | # WINDOWS: Compiler setup (nasty part) |
duke@2 | 264 | # NOTE: You can use vcvars32.bat to set PATH, LIB, and INCLUDE. |
duke@2 | 265 | # NOTE: CYGWIN has a link.exe too, make sure the compilers are first |
duke@2 | 266 | if [ "${windows_arch}" = i586 ] ; then |
duke@2 | 267 | # 32bit Windows compiler settings |
duke@2 | 268 | # VisualStudio .NET 2003 VC++ 7.1 (VS71COMNTOOLS should be defined) |
duke@2 | 269 | vs_root=`${dosname} "${VS71COMNTOOLS}/../.."` |
duke@2 | 270 | # Fill in PATH, LIB, and INCLUDE (unset all others to make sure) |
duke@2 | 271 | msdev_root="${vs_root}/Common7/Tools" |
duke@2 | 272 | msdevtools_path="${msdev_root}/bin" |
duke@2 | 273 | vc7_root="${vs_root}/Vc7" |
duke@2 | 274 | compiler_path="${vc7_root}/bin" |
duke@2 | 275 | compiler_name=VS2003 |
duke@2 | 276 | platform_sdk="${vc7_root}/PlatformSDK" |
duke@2 | 277 | # LIB and INCLUDE must use ; as a separator |
duke@2 | 278 | include4sdk="${vc7_root}/atlmfc/include" |
duke@2 | 279 | include4sdk="${include4sdk};${vc7_root}/include" |
duke@2 | 280 | include4sdk="${include4sdk};${platform_sdk}/include/prerelease" |
duke@2 | 281 | include4sdk="${include4sdk};${platform_sdk}/include" |
duke@2 | 282 | include4sdk="${include4sdk};${vs_root}/SDK/v1.1/include" |
duke@2 | 283 | lib4sdk="${vc7_root}/atlmfc/lib" |
duke@2 | 284 | lib4sdk="${lib4sdk};${vc7_root}/lib" |
duke@2 | 285 | lib4sdk="${lib4sdk};${platform_sdk}/lib/prerelease" |
duke@2 | 286 | lib4sdk="${lib4sdk};${platform_sdk}/lib" |
duke@2 | 287 | lib4sdk="${lib4sdk};${vs_root}/SDK/v1.1/lib" |
duke@2 | 288 | # Search path and DLL locating path |
duke@2 | 289 | # WARNING: CYGWIN has a link.exe too, make sure compilers are first |
duke@2 | 290 | path4sdk="${vs_root}/Common7/Tools/bin;${path4sdk}" |
duke@2 | 291 | path4sdk="${vs_root}/SDK/v1.1/bin;${path4sdk}" |
duke@2 | 292 | path4sdk="${vs_root}/Common7/Tools;${path4sdk}" |
duke@2 | 293 | path4sdk="${vs_root}/Common7/Tools/bin/prerelease;${path4sdk}" |
duke@2 | 294 | path4sdk="${vs_root}/Common7/IDE;${path4sdk}" |
duke@2 | 295 | path4sdk="${compiler_path};${path4sdk}" |
duke@2 | 296 | elif [ "${windows_arch}" = amd64 ] ; then |
duke@2 | 297 | # AMD64 64bit Windows compiler settings |
duke@2 | 298 | if [ "${MSSDK}" != "" ] ; then |
duke@2 | 299 | platform_sdk="${MSSDK}" |
duke@2 | 300 | else |
duke@2 | 301 | platform_sdk=`${dosname} "C:/Program Files/Microsoft Platform SDK/"` |
duke@2 | 302 | fi |
duke@2 | 303 | compiler_path="${platform_sdk}/Bin/win64/x86/AMD64" |
duke@2 | 304 | compiler_name=VS2005_PSDK |
duke@2 | 305 | msdevtools_path="${platform_sdk}/Bin" |
duke@2 | 306 | # LIB and INCLUDE must use ; as a separator |
duke@2 | 307 | include4sdk="${platform_sdk}/Include" |
duke@2 | 308 | include4sdk="${include4sdk};${platform_sdk}/Include/crt/sys" |
duke@2 | 309 | include4sdk="${include4sdk};${platform_sdk}/Include/mfc" |
duke@2 | 310 | include4sdk="${include4sdk};${platform_sdk}/Include/atl" |
duke@2 | 311 | include4sdk="${include4sdk};${platform_sdk}/Include/crt" |
duke@2 | 312 | lib4sdk="${platform_sdk}/Lib/AMD64" |
duke@2 | 313 | lib4sdk="${lib4sdk};${platform_sdk}/Lib/AMD64/atlmfc" |
duke@2 | 314 | # Search path and DLL locating path |
duke@2 | 315 | # WARNING: CYGWIN has a link.exe too, make sure compilers are first |
duke@2 | 316 | path4sdk="${platform_sdk}/bin;${path4sdk}" |
duke@2 | 317 | path4sdk="${compiler_path};${path4sdk}" |
duke@2 | 318 | fi |
duke@2 | 319 | # Export LIB and INCLUDE |
duke@2 | 320 | unset lib |
duke@2 | 321 | unset Lib |
duke@2 | 322 | LIB="${lib4sdk}" |
duke@2 | 323 | export LIB |
duke@2 | 324 | unset include |
duke@2 | 325 | unset Include |
duke@2 | 326 | INCLUDE="${include4sdk}" |
duke@2 | 327 | export INCLUDE |
duke@2 | 328 | # Set the ALT variable |
duke@2 | 329 | ALT_COMPILER_PATH=`${dosname} "${compiler_path}"` |
duke@2 | 330 | export ALT_COMPILER_PATH |
duke@2 | 331 | dirMustExist "${compiler_path}" ALT_COMPILER_PATH |
duke@2 | 332 | ALT_MSDEVTOOLS_PATH=`${dosname} "${msdevtools_path}"` |
duke@2 | 333 | export ALT_MSDEVTOOLS_PATH |
duke@2 | 334 | dirMustExist "${msdevtools_path}" ALT_MSDEVTOOLS_PATH |
duke@2 | 335 | |
duke@2 | 336 | # WINDOWS: Get the previous JDK to be used to bootstrap the build |
duke@2 | 337 | path4sdk="${bootdir}/bin;${path4sdk}" |
duke@2 | 338 | |
duke@2 | 339 | # Turn all \\ into /, remove duplicates and trailing / |
duke@2 | 340 | slash_path="`echo ${path4sdk} | sed -e 's@\\\\@/@g' -e 's@//@/@g' -e 's@/$@@' -e 's@/;@;@g'`" |
duke@2 | 341 | |
duke@2 | 342 | # For windows, it's hard to know where the system is, so we just add this |
duke@2 | 343 | # to PATH. |
duke@2 | 344 | path4sdk="${slash_path};${PATH}" |
duke@2 | 345 | |
duke@2 | 346 | # Convert path4sdk to cygwin style |
duke@2 | 347 | if [ "${unix_toolset}" = CYGWIN ] ; then |
duke@2 | 348 | path4sdk="`/usr/bin/cygpath -p ${path4sdk}`" |
duke@2 | 349 | fi |
duke@2 | 350 | |
duke@2 | 351 | # Set special windows ALT variables |
duke@2 | 352 | ALT_ISHIELDDIR="C:/ishield802" |
duke@2 | 353 | export ALT_ISHIELDDIR |
duke@2 | 354 | |
duke@2 | 355 | # Sponsors binaries |
duke@2 | 356 | ALT_SPONSOR1DIR=C:/sponsor_binaries |
duke@2 | 357 | export ALT_SPONSOR1DIR |
duke@2 | 358 | ALT_SPONSOR2DIR=C:/sponsor_binaries |
duke@2 | 359 | export ALT_SPONSOR2DIR |
duke@2 | 360 | |
ohair@62 | 361 | # JPRT systems can never run msival2.exe, set this to avoid them |
ohair@62 | 362 | SKIP_MSIVAL2=true |
ohair@62 | 363 | export SKIP_MSIVAL2 |
ohair@62 | 364 | # Not easy to do |
ohair@62 | 365 | SKIP_COMPARE_IMAGES=true |
ohair@62 | 366 | export SKIP_COMPARE_IMAGES |
ohair@62 | 367 | |
duke@2 | 368 | fi |
duke@2 | 369 | |
duke@2 | 370 | # Export PATH setting |
duke@2 | 371 | PATH="${path4sdk}" |
duke@2 | 372 | export PATH |
duke@2 | 373 | |
duke@2 | 374 | # Things we need to unset |
duke@2 | 375 | unset LD_LIBRARY_PATH |
duke@2 | 376 | unset LD_LIBRARY_PATH_32 |
duke@2 | 377 | unset LD_LIBRARY_PATH_64 |
duke@2 | 378 | unset JAVA_HOME |
duke@2 | 379 |