Skip to content

Commit

Permalink
Spec-pipe ILA v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo-Yuan-Huang committed Feb 1, 2018
1 parent cf92c5f commit 81d65f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/spec-pipe/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export ILA_HEADER = $(ROOT_PATH)/../../include
CXX=g++
CXX_FLAGS=-std=c++11 -Wall -fPIC
CXX_FLAGS+=-I$(ILA_HEADER)
LD_FLAGS=-L$(ILA_LIB) -lutild -lilad -lilatoolsd
LD_FLAGS=-L$(ILA_LIB) -lutild -lilad -lilatoolsd

SRC_DIR=src
OBJ_DIR=obj
Expand All @@ -16,10 +16,10 @@ OBJ_FILES := $(patsubst $(SRC_DIR)/%.cc,$(OBJ_DIR)/%.o,$(SRC_FILES))
$(shell mkdir -p $(OBJ_DIR))

main: $(OBJ_FILES)
$(CXX) -o $@ $^ $(LD_FLAGS)
@$(CXX) -o $@ $^ $(LD_FLAGS)

$(OBJ_DIR)/%.o: $(SRC_DIR)/%.cc
$(CXX) $(CXX_FLAGS) -c -o $@ $<
@$(CXX) $(CXX_FLAGS) -c -o $@ $<

all: main.exe

Expand Down
2 changes: 2 additions & 0 deletions apps/spec-pipe/src/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,8 @@ InstrLvlAbsPtr SpecExecIla() {
}
}

ILA_INFO << "Generate Spec-Pipe ILA: " << ila;

return ila;
}

Expand Down

0 comments on commit 81d65f9

Please sign in to comment.