Skip to content

Commit

Permalink
Merge pull request #2854 from Liamolucko/macos
Browse files Browse the repository at this point in the history
Get VTR working on macOS again
  • Loading branch information
vaughnbetz authored Jan 23, 2025
2 parents 2a4e921 + 8abb552 commit 6ce9dbe
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions libs/libarchfpga/src/read_xml_arch_file_noc_tag.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <sstream>

#include "read_xml_arch_file_noc_tag.h"

Expand Down
1 change: 1 addition & 0 deletions parmys/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ target_link_libraries(parmys
)

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

add_custom_target(parmys-plugin ALL
DEPENDS parmys
Expand Down
1 change: 1 addition & 0 deletions vpr/src/base/vpr_types.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <cmath>
#include <sstream>
#include "vpr_types.h"
#include "globals.h"

Expand Down
1 change: 1 addition & 0 deletions vpr/src/noc/noc_storage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ void NocStorage::clear_noc() {
link_storage.clear();
router_outgoing_links_list.clear();
router_incoming_links_list.clear();
router_id_conversion_table.clear();
grid_location_to_router_id.clear();

built_noc = false;
Expand Down
2 changes: 2 additions & 0 deletions vpr/test/test_compressed_grid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,8 @@ TEST_CASE("test_compressed_grid", "[vpr_compressed_grid]") {
REQUIRE(grid_loc == t_physical_tile_loc{98, 98, 0});
}

logical_block_types.clear();

}

} // namespace

0 comments on commit 6ce9dbe

Please sign in to comment.