Changeset 25542


Ignore:
Timestamp:
09/08/20 17:08:51 (5 years ago)
Author:
tsantos
Message:

CHG: added -std=c++11 flag for Pleiades compilation option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/m4/issm_options.m4

    r25299 r25542  
    278278                        export CC=icc
    279279                        export CXX=icpc
    280                         export CXXFLAGS="-O3 -D_INTEL_LINUX_"
     280                        export CXXFLAGS="-O3 -D_INTEL_LINUX_ -std=c++11"
    281281                        export CFLAGS="-O3 -D_INTEL_LINUX_"
    282282                elif test "${VENDOR}" == "intel-acenet"; then
     
    288288                        export CC=gcc
    289289                        export CXX=g++
    290                         export CXXFLAGS="-O3 -march=corei7-avx"
     290                        export CXXFLAGS="-O3 -march=corei7-avx -std=c++11"
    291291                        export CFLAGS="-O3 -march=corei7-avx"
    292292                elif test "${VENDOR}" == "intel-pleiades-icpc"; then
    293                         export CXXFLAGS="-g -O3 -ipo -axAVX -ipo -no-inline-min-size -inline-max-size=345 -no-inline-max-total-size -no-inline-max-per-routine -no-inline-max-per-compile -restrict"
     293                        export CXXFLAGS="-g -O3 -ipo -axAVX -ipo -no-inline-min-size -inline-max-size=345 -no-inline-max-total-size -no-inline-max-per-routine -no-inline-max-per-compile -restrict -std=c++11"
    294294                        export CFLAGS="-g -O3 -ipo -axAVX -ipo -no-inline-min-size -inline-max-size=345 -no-inline-max-total-size -no-inline-max-per-routine -no-inline-max-per-compile -restrict"
    295295                        AC_DEFINE([_HAVE_RESTRICT_], [1], [with restrict buffers])
Note: See TracChangeset for help on using the changeset viewer.