Skip to content

Commit dc4a54a

Browse files
committed
restored vpr_api.cpp patch
1 parent 8219f83 commit dc4a54a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ message(STATUS "NOTE: OVERWRITING netlist_writer.cpp")
166166
file(COPY ${PATCH_DIR}/base_fix/PATCHED/netlist_writer.cpp DESTINATION ${TARGET_DIR})
167167
message(STATUS "NOTE: COPIED ${PATCH_DIR}/base_fix/PATCHED/netlist_writer.cpp\n to ${TARGET_DIR}/\n")
168168

169-
#message(STATUS "NOTE: PATCHING base/vpr_api.cpp ..")
170-
#set(DIFF_FILE ${PATCH_DIR}/base_fix/DIFF/vpr_api_cpp.diff)
171-
#apply_patch(${DIFF_FILE} ${TARGET_DIR} "base/vpr_api.cpp")
169+
message(STATUS "NOTE: PATCHING base/vpr_api.cpp ..")
170+
set(DIFF_FILE ${PATCH_DIR}/base_fix/DIFF/vpr_api_cpp.diff)
171+
apply_patch(${DIFF_FILE} ${TARGET_DIR} "base/vpr_api.cpp")
172172

173173
message(STATUS "NOTE: OVERWRITING base/read_.*")
174174
file(COPY

include/base_fix/DIFF/vpr_api_cpp.diff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/vpr/src/base/vpr_api.cpp b/vpr/src/base/vpr_api.cpp
2-
index 5b7a45b85..f53b36ce8 100644
2+
index e1613fdc2..d93583642 100644
33
--- a/vpr/src/base/vpr_api.cpp
44
+++ b/vpr/src/base/vpr_api.cpp
5-
@@ -378,6 +378,8 @@ bool vpr_flow(t_vpr_setup& vpr_setup, t_arch& arch) {
5+
@@ -388,6 +388,8 @@ bool vpr_flow(t_vpr_setup& vpr_setup, t_arch& arch) {
66
tbb::global_control c(tbb::global_control::max_allowed_parallelism, vpr_setup.num_workers);
77
#endif
88

0 commit comments

Comments
 (0)