Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
VTR's support for macOS has bitrotted over time; this gets it working again.
Description
The only problems that were actually related to macOS were the missing includes and Parmys using
.dylib
instead of.so
; the rest were just a result of the tests being run in a different order and can be reproduced on Linux withtest_vpr --order rand
.vtr_reg_strong
still has two failing tests:fix_clusters_test_arch/apex2
andk6_frac_N10_frac_chain_mem32K_40nm/or1200
.or1200
fails on Linux too for me, so I didn't bother investigating further (it's saying that the circuit is unroutable).After some cursory investigation, it seems like
apex2
might be failing because two blocks which the.place
file specifies should be in different locations are getting packed into the same cluster before the.place
file is read. I don't know enough about how VPR works to figure out what's preventing that from happening on Linux as well (or anything about it at all really, and I could have completely misunderstood the issue).Related Issue
Motivation and Context
How Has This Been Tested?
I ran the
ctest
unit tests,vtr_reg_basic
, andvtr_reg_strong
(which had the failures mentioned above. On Linux,k6_frac_N10_40nm/ex1010.pre-vpr
also failed with an error saying it was unroutable, but only when using GCC; it passed when using Clang).ctest
andvtr_reg_basic
were run via. this Nix package, andvtr_reg_strong
was run in anix develop
shell for the same package.Types of changes
Checklist: