Print this page
9996 use GCC 7 as default primary compiler

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/env/illumos.sh
          +++ new/usr/src/tools/env/illumos.sh
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
  22   22  # Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
  23   23  # Copyright 2012 Joshua M. Clulow <josh@sysmgr.org>
  24   24  # Copyright 2015, OmniTI Computer Consulting, Inc. All rights reserved.
  25   25  # Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
  26      -# Copyright (c) 2019, Joyent, Inc.
       26 +# Copyright 2019, Joyent, Inc.
  27   27  #
  28   28  # - This file is sourced by "bldenv.sh" and "nightly.sh" and should not
  29   29  #   be executed directly.
  30   30  # - This script is only interpreted by ksh93 and explicitly allows the
  31   31  #   use of ksh93 language extensions.
  32   32  
  33   33  
  34   34  # -----------------------------------------------------------------------------
  35   35  # Parameters you are likely to want to change
  36   36  # -----------------------------------------------------------------------------
↓ open down ↓ 34 lines elided ↑ open up ↑
  71   71  # export PRIMARY_CC=gcc4,/opt/gcc/4.4.4/bin/gcc,gnu
  72   72  # export PRIMARY_CCC=gcc4,/opt/gcc/4.4.4/bin/g++,gnu
  73   73  # export SHADOW_CCS=studio12,/opt/SUNWspro/bin/cc,sun
  74   74  # export SHADOW_CCCS=studio12,/opt/SUNWspro/bin/CC,sun
  75   75  #
  76   76  # There can be several space-separated entries in SHADOW_* to run multiple
  77   77  # shadow compilers.
  78   78  #
  79   79  # To disable shadow compilation, unset SHADOW_* or set them to the empty string.
  80   80  #
  81      -export SHADOW_CCS=gcc7,/usr/gcc/7/bin/gcc,gnu
  82      -export SHADOW_CCCS=gcc7,/usr/gcc/7/bin/g++,gnu
       81 +export GNUC_ROOT=/usr/gcc/7
       82 +export PRIMARY_CCS=gcc7,$GNUC_ROOT/bin/gcc,gnu
       83 +export PRIMARY_CCCS=gcc7,$GNUC_ROOT/bin/g++,gnu
       84 +export SHADOW_CCS=gcc4,/opt/gcc/4.4.4/bin/gcc,gnu
       85 +export SHADOW_CCCS=gcc4,/opt/gcc/4.4.4/bin/g++,gnu
  83   86  
  84   87  # uncomment to enable smatch
  85   88  #export ENABLE_SMATCH=1
  86   89  
  87   90  # Comment this out to disable support for SMB printing, i.e. if you
  88   91  # don't want to bother providing the CUPS headers this needs.
  89   92  export ENABLE_SMB_PRINTING=
  90   93  
  91   94  # If your distro uses certain versions of Perl, make sure either Makefile.master
  92   95  # contains your new defaults OR your .env file sets them.
↓ open down ↓ 204 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX