source: proto/SymbolTable/Makefile @ 1231

Last change on this file since 1231 was 1231, checked in by vla24, 8 years ago

Updated symbol table implementation: we are no longer using different implementation for symbol length 17-32 and symbol longer than 32 characters

File size: 2.0 KB
Line 
1OUTFILE=src/xmlwf.cpp
2
3PABLO_SRCFILE=../parabix2/parabix2_pablo.py
4PABLO_COMPILER=../Compiler/pablomain.py
5PABLO_SYMTAB_PBS=parabix2_symtab_pbs.py
6PABLO_SYMTAB_PBS_LOG=parabix2_symtab_pbs_log.py
7PABLO_SYMTAB_PBS_DIV=parabix2_symtab_pbs_div.py
8PABLO_SYMTAB_PBS_ADV=parabix2_symtab_pbs_adv.py
9
10SYMBOLTABLE_STL_TEMPLATE=symtab_stl_template.cpp
11SYMBOLTABLE_LS_TEMPLATE=symtab_ls_template.cpp
12HASH_SYMBOLTABLE_TEMPLATE=symtab_hash_template.cpp
13SYMBOLTABLE_IDENTITY_TEMPLATE=symtab_identity_template.cpp
14PBGS_SYMBOLTABLE_TEMPLATE=symtab_pbgs_template.cpp
15PBGS_SYMBOLTABLE_LOG_TEMPLATE=symtab_pbgs_log_template.cpp
16PBGS_SYMBOLTABLE_DIV_TEMPLATE=symtab_pbgs_div_template.cpp
17
18PABLO_FLAGS=#-a
19
20symtab_stl:     $(PABLO_SRCFILE)
21        python $(PABLO_COMPILER) $(PABLO_SRCFILE) -t $(SYMBOLTABLE_STL_TEMPLATE) -o $(OUTFILE)
22
23symtab_ls:      $(PABLO_SRCFILE)
24        python $(PABLO_COMPILER) $(PABLO_SRCFILE) -t $(SYMBOLTABLE_LS_TEMPLATE) -o $(OUTFILE)
25
26symtab_hash:    $(PABLO_SRCFILE)
27        python $(PABLO_COMPILER) $(PABLO_SRCFILE) -t $(HASH_SYMBOLTABLE_TEMPLATE) -o $(OUTFILE)
28
29symtab_id:      $(PABLO_SRCFILE) # Paralel bitstream based group sorting
30        python $(PABLO_COMPILER) $(PABLO_FLAGS) $(PABLO_SRCFILE) -t $(SYMBOLTABLE_IDENTITY_TEMPLATE) -o $(OUTFILE)
31
32symtab_pbgs_id: $(PABLO_SYMTAB_PBS) # Paralel bitstream based group sorting
33        python $(PABLO_COMPILER) $(PABLO_FLAGS) $(PABLO_SYMTAB_PBS) -t $(PBGS_SYMBOLTABLE_TEMPLATE) -o $(OUTFILE)
34
35symtab_pbgs_id_adv:$(PABLO_SYMTAB_PBS_ADV) # Paralel bitstream based group sorting using Advance32 and Interpose32
36        python $(PABLO_COMPILER) $(PABLO_FLAGS) $(PABLO_SYMTAB_PBS_ADV) -t $(PBGS_SYMBOLTABLE_TEMPLATE) -o $(OUTFILE)
37
38symtab_pbgs_log:$(PABLO_SYMTAB_PBS_LOG)
39        python $(PABLO_COMPILER) $(PABLO_FLAGS) $(PABLO_SYMTAB_PBS_LOG) -t $(PBGS_SYMBOLTABLE_LOG_TEMPLATE) -o $(OUTFILE)
40
41symtab_pbgs_div:$(PABLO_SYMTAB_PBS_DIV)
42        python $(PABLO_COMPILER) $(PABLO_FLAGS) $(PABLO_SYMTAB_PBS_DIV) -t $(PBGS_SYMBOLTABLE_DIV_TEMPLATE) -o $(OUTFILE)
43
44pablo_help:
45        python  $(PABLO_COMPILER) -h
46
47clean: 
48        rm -f $(OUTFILE)
49
50
Note: See TracBrowser for help on using the repository browser.