Skip to content
Permalink
Browse files

update 123.09beta01 defaults for better performance

- switch from LibreSSL default to OpenSSL for Nginx crypto library by setting LIBRESSL_SWITCH='n' out of the box for better Nginx HTTPS/SSL performance potential
- switch from Clang 3.4.2 default compiler for Nginx to GCC 7.2.1+ by setting out of box defaults to CLANG='n', DEVTOOLSETSEVEN='y' and NGINX_DEVTOOLSETGCC='y' for better Nginx performance potential
- these may increase initial install times but result in potentially better performance
  • Loading branch information...
centminmod committed Feb 23, 2018
1 parent b42354e commit e265d86e6715111bd306617b2d59acdf39526978
Showing with 5 additions and 5 deletions.
  1. +5 −5 centmin.sh
@@ -19,7 +19,7 @@ DT=$(date +"%d%m%y-%H%M%S")
branchname='123.09beta01'
SCRIPT_MAJORVER='1.2.3'
SCRIPT_MINORVER='09'
SCRIPT_INCREMENTVER='014'
SCRIPT_INCREMENTVER='015'
SCRIPT_VERSIONSHORT="${branchname}"
SCRIPT_VERSION="${SCRIPT_VERSIONSHORT}.b${SCRIPT_INCREMENTVER}"
SCRIPT_DATE='31/03/2018'
@@ -312,7 +312,7 @@ DISABLE_IPVSIX='n'
PARALLEL_MODE=y
# compiler related
MARCH_TARGETNATIVE='y' # for intel 64bit only set march=native, if no set to x86-64
CLANG='y' # Nginx and LibreSSL
CLANG='n' # Nginx and LibreSSL
CLANG_FOUR='n' # Clang 4.0+ optional support https://community.centminmod.com/threads/13729/
CLANG_FIVE='n' # Clang 5.0+ optional support https://community.centminmod.com/threads/13729/
CLANG_SIX='n' # Clang 6.0+ optional support https://community.centminmod.com/threads/13729/
@@ -323,9 +323,9 @@ GCCINTEL_PHP='y' # enable PHP-FPM GCC compiler with Intel cpu optim
PHP_PGO='n' # Profile Guided Optimization https://software.intel.com/en-us/blogs/2015/10/09/pgo-let-it-go-php
PHP_PGO_CENTOSSIX='n' # CentOS 6 may need GCC >4.4.7 fpr PGO so use devtoolset-4 GCC 5.3
DEVTOOLSETSIX='n' # Enable or disable devtoolset-6 GCC 6.2 support instead of devtoolset-4 GCC 5.3 support
DEVTOOLSETSEVEN='n' # Enable or disable devtoolset-7 GCC 7.1 support instead of devtoolset-6 GCC 6.2 support
DEVTOOLSETSEVEN='y' # Enable or disable devtoolset-7 GCC 7.1 support instead of devtoolset-6 GCC 6.2 support
DEVTOOLSETEIGHT='n' # source compiled GCC 8 from latest snapshot builds
NGINX_DEVTOOLSETGCC='n' # Use devtoolset-4 GCC 5.3 even for CentOS 7 nginx compiles
NGINX_DEVTOOLSETGCC='y' # Use devtoolset-4 GCC 5.3 even for CentOS 7 nginx compiles
GENERAL_DEVTOOLSETGCC='n' # Use devtoolset-4 GCC 5.3 whereever possible/coded
CRYPTO_DEVTOOLSETGCC='n' # Use devtoolset-4 GCC 5.3 for libressl or openssl compiles
NGX_GSPLITDWARF='y' # for Nginx compile https://community.centminmod.com/posts/44072/
@@ -568,7 +568,7 @@ OPENSSLECDHX_PATCH='n' # https://community.centminmod.com/posts/57726/
OPENSSLEQUALCIPHER_PATCH='n' # https://community.centminmod.com/posts/57916/

# LibreSSL
LIBRESSL_SWITCH='y' # if set to 'y' it overrides OpenSSL as the default static compiled option for Nginx server
LIBRESSL_SWITCH='n' # if set to 'y' it overrides OpenSSL as the default static compiled option for Nginx server
LIBRESSL_VERSION='2.6.4' # Use this version of LibreSSL http://www.libressl.org/

# BoringSSL

0 comments on commit e265d86

Please sign in to comment.
You can’t perform that action at this time.