Skip to content

Commit 6ce9dbe

Browse files
authored
Merge pull request #2854 from Liamolucko/macos
Get VTR working on macOS again
2 parents 2a4e921 + 8abb552 commit 6ce9dbe

File tree

5 files changed

+6
-0
lines changed

5 files changed

+6
-0
lines changed

libs/libarchfpga/src/read_xml_arch_file_noc_tag.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include <sstream>
12

23
#include "read_xml_arch_file_noc_tag.h"
34

parmys/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ target_link_libraries(parmys
3535
)
3636

3737
set_target_properties(parmys PROPERTIES PREFIX "") # Avoid extra 'lib' prefix
38+
set_target_properties(parmys PROPERTIES SUFFIX ".so") # Yosys expects the suffix to be '.so' even on macOS
3839

3940
add_custom_target(parmys-plugin ALL
4041
DEPENDS parmys

vpr/src/base/vpr_types.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include <cmath>
2+
#include <sstream>
23
#include "vpr_types.h"
34
#include "globals.h"
45

vpr/src/noc/noc_storage.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ void NocStorage::clear_noc() {
256256
link_storage.clear();
257257
router_outgoing_links_list.clear();
258258
router_incoming_links_list.clear();
259+
router_id_conversion_table.clear();
259260
grid_location_to_router_id.clear();
260261

261262
built_noc = false;

vpr/test/test_compressed_grid.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,8 @@ TEST_CASE("test_compressed_grid", "[vpr_compressed_grid]") {
330330
REQUIRE(grid_loc == t_physical_tile_loc{98, 98, 0});
331331
}
332332

333+
logical_block_types.clear();
334+
333335
}
334336

335337
} // namespace

0 commit comments

Comments
 (0)