Changeset 1426 for proto


Ignore:
Timestamp:
Sep 9, 2011, 2:11:41 PM (8 years ago)
Author:
vla24
Message:

SymbolTable?: Integrated SymbolTable?-LS (Ken's Implementation) with IDISA

Location:
proto/SymbolTable
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • proto/SymbolTable/automate-build.sh

    r1391 r1426  
    1 make symtab_pbgs_log
     1make symtab_ls
    22cd src
    33make all
  • proto/SymbolTable/clean-build.sh

    r1228 r1426  
    22cd src
    33make clean
    4 cd ../../../trunk/lib/symtab/
     4cd lib/symtab/
    55make clean
    66
  • proto/SymbolTable/src/Makefile

    r1228 r1426  
    66CFLAGS= $(SSE) -O3 #-g
    77SSE=-msse2 #-msse4.1 -DUSE_PTEST #-mssse3 -msse4.1 -msse4.2
    8 INCLUDES = -I../../../trunk/lib/symtab/ -I../../parabix2/src
    9 LFLAGS=-L../../../trunk/lib/symtab/
     8INCLUDES = -I../lib/symtab/ -I../../parabix2/src
     9INCLUDES_IDISA = -I../lib/symtab/ -I../../../trunk/libgen/idisa_lib -I../../parabix2/src
     10LFLAGS=-L../lib/symtab/
    1011LIBS=-lsymtab
    1112
     
    4546        $(CC) $(INCLUDES) -o $(OUTFILE) $(SRCFILE) $(AFLAGS) -DBUFFER_PROFILING  -DPERF_SCRIPT -static $(LFLAGS) $(LIBS)
    4647
     48buffer_profiling_perf_idisa: depend_idisa $(SRCFILE)
     49        python make_idisa.py
     50        $(CC) $(INCLUDES_IDISA) -o $(OUTFILE) $(SRCFILE) $(AFLAGS) -DBUFFER_PROFILING  -DPERF_SCRIPT -static $(LFLAGS) $(LIBS) -DUSE_IDISA
     51
    4752asm:  $(SRCFILE)
    4853        $(CC) -o $(OUTFILE).s $(SRCFILE) $(AFLAGS) -S -fverbose-asm
     
    5762        python $(TEST)
    5863
     64idisa:  depend_idisa $(SRCFILE)
     65        python make_idisa.py
     66        $(CC) $(INCLUDES_IDISA) -o $(OUTFILE) $(SRCFILE) $(AFLAGS) -static $(LFLAGS) $(LIBS) -DUSE_IDISA
     67
    5968clean:
    6069        rm -f $(OUTFILE) $(OUTFILE).s $(OUTFILE).o
    6170
     71depend_idisa:
     72        cd ../lib/symtab/ && make lib_idisa
     73
    6274depend:
    6375# This is a hack. I wanted to use makedepend but makefile complains that it doesn't recognize makedepend
    64         cd ../../../trunk/lib/symtab/ && make lib
     76        cd ../lib/symtab/ && make lib
    6577        #makedepend $(LIBDIR) $^
    6678
  • proto/SymbolTable/symtab_ls_template.cpp

    r1232 r1426  
    483483    }
    484484
    485 //      print_GIDS();
     485#if DEBUG
     486    print_GIDS();
     487#endif
    486488    ls_symbol_table.clear();
    487489}
Note: See TracChangeset for help on using the changeset viewer.