Welcome to Centmin Mod Community
Become a Member

Master Branch update nginx GCC compiler routines for centos 7 systems in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Aug 5, 2019.

  1. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    3:28 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    update nginx GCC compiler routines for centos 7 systems in 123.09beta01

    - update GCC compiler flag for -flto set to -flto=CPUS where CPUs is number of cpu threads detected for link time optimizer to utilise multiple cpu threads for link time optimization on centos 7 systems
    - re-enable GCC Gold linker support when GeoIP 2 nginx module is optionally enabled for centos 7 systems. Seems no long fails to compile unlike previously tested attemtps.
    - add NGINX_FATLTO_OBJECTS='n' & fix NGINXOPENSSL_FATLTO_OBJECTS='n' variables which can optionally be enable via persistent config file /etc/centminmod/custom_config.ini prior to Nginx compiles via centmin.sh menu option 4 to enable optional -ffat-lto-objects flags on centos 7 systems for both nginx and nginx's OpenSSL builds respectively. Disabled by default as they can slow nginx compile times by as much as 8-12x slower. Haven't fully benchmark tested but adding support for this so can optionally enable this for testing
    - add a check to ensure these changes only work for centos 7 systems and not centos 6 in case of issues
    - for existing users of 123.09beta01 or newer, run cmupdate command to update your code and the next centmin.sh menu option 4 recompile of Nginx will use some of these changes if you're on centos 7 u.e. -flto=CPUS flag


    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.