Skip to content

Commit d247611

Browse files
committed
patch vpr_latest CMakefile from script only
1 parent 48d9edf commit d247611

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ else()
5252
set(ENCRYPTION_CONFIG_PATH ${CMAKE_CURRENT_SOURCE_DIR}/OpenFPGA/vtr-verilog-to-routing/libs/libdecrypt)
5353
endif()
5454
set(VPR_DEST_DIR ${CMAKE_CURRENT_SOURCE_DIR}/OpenFPGA/vtr-verilog-to-routing/vpr)
55-
set(VPR_LATEST_DEST_DIR ${CMAKE_CURRENT_SOURCE_DIR}/vpr_latest/vtr)
5655
set(OPENFPGA_DEST_DIR ${CMAKE_CURRENT_SOURCE_DIR}/OpenFPGA/)
5756
set(XML_DEC_KEY_DEST ${CMAKE_CURRENT_SOURCE_DIR}/OpenFPGA/vtr-verilog-to-routing/libs/)
5857
set(LIB_RRG_DEST_DIR ${CMAKE_CURRENT_SOURCE_DIR}/OpenFPGA/vtr-verilog-to-routing/libs/librrgraph)
@@ -233,12 +232,6 @@ file(COPY
233232
DESTINATION
234233
${VPR_DEST_DIR})
235234

236-
message(STATUS "NOTE: COPY-PATCHING vpr_latest CMakefile..")
237-
file(COPY
238-
${PATCH_DIR}/CMAKE_fix/PATCHED_vpr_latest/CMakeLists.txt
239-
DESTINATION
240-
${VPR_LATEST_DEST_DIR})
241-
242235
#FILE(COPY ${PLACER_SRC_DIR}/move_generator.h
243236
# ## ${PLACER_SRC_DIR}/place.cpp
244237
# ${PLACER_SRC_DIR}/place_util.cpp

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ checkout:
7272
@echo " submodule init/update in Raptor_Tools"
7373
cd Raptor_Tools && git submodule update --init --recursive
7474
@echo " submodule init/update in vpr_latest/vtr"
75-
cd vpr_latest/vtr && git submodule update --init
75+
cd vpr_latest/vtr && git submodule update --init --recursive
7676

7777
compile:
7878
# This command will compile the codebase

vpr_latest/build_vpr_latest.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
cur_dir=$(pwd)
44
printf "\n building vpr_latest in $cur_dir\n"
5+
arg1="(none)"
6+
if (( $# > 0 )); then
7+
arg1=$1
8+
fi
9+
printf " argc= $# arg1= $arg1\n"
510

611
hw_num_cores=`grep -F "model name" /proc/cpuinfo | wc -l`
712

0 commit comments

Comments
 (0)