Ignore:
Timestamp:
May 28, 2013, 11:17:14 AM (11 years ago)
Author:
meunier
Message:

Tried to clean the test_regression directory:

  • Code formatting
  • Supressed warnings
  • Made comprehensible outputs
  • Factorized Makefiles

There's still a lot to do (many tests don't pass for either good or bad reasons)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/test_regression/env.mk

    r49 r55  
    1 #TARGET_ARCH            =Linux.SLA4x
    2 TARGET_ARCH             = linux
    3 #TARGET_PLATFORM  =i386
     1
     2SYSTEMCASS = $(HOME)/src/systemcass/sandbox_test/objdir/
     3SYSTEMC = /users/outil/soc/systemc/sc22-64
     4
     5TARGET_ARCH             = linux64
    46
    57ifeq (${TARGET_ARCH},Darwin)
     
    1517endif
    1618
    17 #BFD_LIBERTY     = -lbfd -liberty
    18 #SYSTEMC         = /users/outil/systemc/systemc-2.0.1
    1919SYSTEMC_INC     = $(SYSTEMC)/include
    2020SYSTEMCASS_INC  = $(SYSTEMCASS)/include
    2121SYSTEMC_LIB     = $(SYSTEMC)/lib-${TARGET_ARCH}/libsystemc.a
    2222SYSTEMCASS_LIB  = $(SYSTEMCASS)/lib-linux/libsystemc.a
    23 #CXX                    = g++
    24 #CXX                    = icc -w1
    25 CPPFILT                 = c++filt
     23CXX             = g++
     24CPPFILT         = c++filt
    2625DEBUG           = -g -DDEBUG
    2726#OPT             = -O2
    28 #PROF        = -pg # gcc
    29 #PROF        = -qp # icc
    30 #EFENCE      = /users/cao/viaud/bin/lib/libefence.a -lpthread
    31 CFLAGS      = $(PROF) $(DEBUG) $(OPT) \
     27#PROF            = -pg # gcc
     28#PROF            = -qp # icc
     29#EFENCE          = /users/cao/viaud/bin/lib/libefence.a -lpthread
     30CFLAGS = $(PROF) $(DEBUG) $(OPT) \
    3231              -Wall \
    3332              -fopenmp \
    34               -UENABLE_TRACE -UENABLE_PAT -I. \
     33              -UENABLE_TRACE -UENABLE_PAT -I. -I.. \
    3534              ${ENDIANESS_FLAG}
    3635
    37 LFLAGS      = $(PROF) $(BFD_LIBERTY) -ldl -fopenmp
     36LFLAGS = $(PROF) $(BFD_LIBERTY) -ldl -fopenmp
    3837
    3938CFLAGS_SYSTEMC    = $(CFLAGS) \
     
    5049                    ${DYNAMICLIB_FLAG} $(SYSTEMCASS_LIB) ${EFENCE}
    5150
    52 #ifndef TARGET_PLATFORM
    53 #$(error TARGET_PLATFORM is not defined.)
    54 #endif
    55 #ifndef TARGET_ARCH
    56 #$(error TARGET_ARCH is not defined.)
    57 #endif
     51
    5852ifndef SYSTEMC
    5953$(error SYSTEMC is not defined.)
     
    6256$(error SYSTEMCASS is not defined.)
    6357endif
    64 #ifndef SOCVIEW
    65 #$(error SOCVIEW is not defined. This environment variable is optional.)
    66 #endif
    6758
    68 failcom   = 'exit 1'
    6959
     60
Note: See TracChangeset for help on using the changeset viewer.