Skip to content

Commit 7b96833

Browse files
committed
modified the build procedure for libarchfpga so that the main.cpp file inside the src directory was used. Not doing this resultedin the main.cpp file inside the test folder also being used and this caused a failure in the github CI. Also note that this how other projects are also setup.
1 parent 3711019 commit 7b96833

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

libs/libarchfpga/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.9)
22

33
project("libarchfpga")
44

5-
file(GLOB_RECURSE EXEC_SOURCES main.cpp)
5+
file(GLOB_RECURSE EXEC_SOURCES src/main.cpp)
66
file(GLOB_RECURSE LIB_SOURCES src/*.cpp)
77
file(GLOB_RECURSE LIB_HEADERS src/*.h)
88
files_to_dirs(LIB_HEADERS LIB_INCLUDE_DIRS)

libs/libarchfpga/src/physical_types.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1771,7 +1771,6 @@ struct t_lut_element {
17711771
bool operator==(const t_lut_element& other) const {
17721772
return site_type == other.site_type && width == other.width && lut_bels == other.lut_bels;
17731773
}
1774-
17751774
};
17761775

17771776
/* Network-on-chip(NoC) Router data type used to identify

vpr/src/base/read_options.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ struct t_options {
137137
argparse::ArgValue<bool> place_constraint_subtile;
138138
argparse::ArgValue<int> floorplan_num_horizontal_partitions;
139139
argparse::ArgValue<int> floorplan_num_vertical_partitions;
140-
140+
141141
/*NoC Options*/
142142
argparse::ArgValue<bool> noc;
143143

0 commit comments

Comments
 (0)