more general build_lib script#1291
Conversation
|
Instead of replacing |
|
As an aside, should we move up from C++11? Vitis HLS I think uses C++14, Intel uses C++17. Probably makes little difference, though. |
|
@jmitrevs Only if we split the build script over vivado/vitis (vivado compiler will say c++14 doesn't exist) |
|
Using this way as |
|
In general I think this fix is good and would be in favor of merging it. I just put please test as a sanity check to make sure it doesn't break things. |
|
What did we decide on this? I think the pytest failures are unrelated. |
Description
$OSTYPEis not a reliable source for determining the platform. On OpenSUSE 20250503, bash returns"linux"instead of"linux-gnu"and the script failed without-fPIC.The updated script checks if
-fno-gnu-uniqueis supported, and appends it if so.Type of change
Tests
Triggers on specific platforms.