_toolchain: Properly set compiler/linker executables on Gentoo#632
Conversation
|
The tests are failing. |
The `test_toolchain_cxx.py` tests on Gentoo definitely use compiler and linker set with `_so_cxx`-suffixed executables. Tests use a proper executable instead of `c++` after this change. Signed-off-by: Adam Jeliński <ajelinski@antmicro.com>
|
At first I was extremely confused by the error: as it worked and helped in my case. After doing some research it seems the whole thing is quite Gentoo-specific. Python is built there after applying quite a few patches and adding I've modified the commit to try to set them but skip raising the exception if not available. |
CXX tool for shared objects too
Codecov Report
@@ Coverage Diff @@
## master #632 +/- ##
==========================================
+ Coverage 81.46% 81.47% +0.01%
==========================================
Files 49 49
Lines 6446 6450 +4
Branches 1287 1287
==========================================
+ Hits 5251 5255 +4
Misses 1008 1008
Partials 187 187
Continue to review full report at Codecov.
|
The
test_toolchain_cxx.pytests definitely use compiler and linker setwith
_so_cxx-suffixed parameters. After this change tests use a properexecutable instead of
c++.