Changeset 3fcbdca1


Ignore:
Timestamp:
Apr 26, 2019, 4:58:42 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
1bc5975
Parents:
114936a
Message:

Moved compilation to use O3/Og instead of O2/O0 for both cfa-cpp and libcfa

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • configure

    r114936a r3fcbdca1  
    34023402                "debug") ;;
    34033403                "nolib") ;;
     3404                "profile") ;;
    34043405                *)
    34053406                        >&2 echo "Configuration must be 'debug', 'nodebug' or 'nolib'"
  • configure.ac

    r114936a r3fcbdca1  
    139139                "debug") ;;
    140140                "nolib") ;;
     141                "profile") ;;
    141142                *)
    142143                        >&2 echo "Configuration must be 'debug', 'nodebug' or 'nolib'"
  • libcfa/configure

    r114936a r3fcbdca1  
    29592959case $CONFIGURATION in
    29602960        "debug"   )
    2961                 CONFIG_CFLAGS="-O0 -g"
     2961                CONFIG_CFLAGS="-Og -g"
    29622962                CONFIG_CFAFLAGS="-debug"
    29632963                CONFIG_BUILDLIB="yes"
    29642964        ;;
    29652965        "nodebug" )
    2966                 CONFIG_CFLAGS="-O2 -s"
     2966                CONFIG_CFLAGS="-O3 -s"
    29672967                CONFIG_CFAFLAGS="-nodebug"
    29682968                CONFIG_BUILDLIB="yes"
    29692969        ;;
    29702970        "nolib"   )
    2971                 CONFIG_CFLAGS="-O2 -s"
     2971                CONFIG_CFLAGS="-O3 -s"
    29722972                CONFIG_CFAFLAGS="-nolib"
    29732973                CONFIG_BUILDLIB="no"
     2974        ;;
     2975        "profile" )
     2976                CONFIG_CFLAGS="-O3 -g -fno-omit-frame-pointer"
     2977                CONFIG_CFAFLAGS="-nodebug"
     2978                CONFIG_BUILDLIB="yes"
    29742979        ;;
    29752980        *)
  • libcfa/configure.ac

    r114936a r3fcbdca1  
    4545case $CONFIGURATION in
    4646        "debug"   )
    47                 CONFIG_CFLAGS="-O0 -g"
     47                CONFIG_CFLAGS="-Og -g"
    4848                CONFIG_CFAFLAGS="-debug"
    4949                CONFIG_BUILDLIB="yes"
    5050        ;;
    5151        "nodebug" )
    52                 CONFIG_CFLAGS="-O2 -s"
     52                CONFIG_CFLAGS="-O3 -s"
    5353                CONFIG_CFAFLAGS="-nodebug"
    5454                CONFIG_BUILDLIB="yes"
    5555        ;;
    5656        "nolib"   )
    57                 CONFIG_CFLAGS="-O2 -s"
     57                CONFIG_CFLAGS="-O3 -s"
    5858                CONFIG_CFAFLAGS="-nolib"
    5959                CONFIG_BUILDLIB="no"
     60        ;;
     61        "profile" )
     62                CONFIG_CFLAGS="-O3 -g -fno-omit-frame-pointer"
     63                CONFIG_CFAFLAGS="-nodebug"
     64                CONFIG_BUILDLIB="yes"
    6065        ;;
    6166        *)
  • src/Makefile.am

    r114936a r3fcbdca1  
    6464endif
    6565
    66 AM_CXXFLAGS = @HOST_FLAGS@ -Wno-deprecated -Wall -Wextra -DDEBUG_ALL -I./Parser -I$(srcdir)/Parser -I$(srcdir)/include -DYY_NO_INPUT -O2 -g -std=c++14
     66AM_CXXFLAGS = @HOST_FLAGS@ -Wno-deprecated -Wall -Wextra -DDEBUG_ALL -I./Parser -I$(srcdir)/Parser -I$(srcdir)/include -DYY_NO_INPUT -O3 -g -std=c++14
    6767AM_LDFLAGS  = @HOST_FLAGS@ -Xlinker -export-dynamic
    6868ARFLAGS     = cr
  • src/Makefile.in

    r114936a r3fcbdca1  
    651651___driver_cfa_cpp_SOURCES = $(SRC)
    652652___driver_cfa_cpp_LDADD = -ldl                  # yywrap
    653 AM_CXXFLAGS = @HOST_FLAGS@ -Wno-deprecated -Wall -Wextra -DDEBUG_ALL -I./Parser -I$(srcdir)/Parser -I$(srcdir)/include -DYY_NO_INPUT -O2 -g -std=c++14
     653AM_CXXFLAGS = @HOST_FLAGS@ -Wno-deprecated -Wall -Wextra -DDEBUG_ALL -I./Parser -I$(srcdir)/Parser -I$(srcdir)/include -DYY_NO_INPUT -O3 -g -std=c++14
    654654AM_LDFLAGS = @HOST_FLAGS@ -Xlinker -export-dynamic
    655655ARFLAGS = cr
Note: See TracChangeset for help on using the changeset viewer.