Closed barracuda156 closed 3 months ago
@lmailletcontoz Could you please take a look at this, and another two PRs below? I have 100% tests passing now on macOS PowerPC.
@pah: Could you have a look on this PR and the associated issue?
PowerPC is only supported using POSIX threads in SystemC 3.0.0
@lmailletcontoz @maehne You still have ppc64
broken though in 3.0.0: there is no define for it in CMakeLists.
@lmailletcontoz: Please reopen so that maybe @pah can have a second look.
@maehne I have rebased to master and dropped QuickThreads addition as unneeded now.
configuration no longer supported
@lmailletcontoz We are not taking about QuickThreads here anymore.
Macros here have ppc
but lack ppc64
: https://github.com/accellera-official/systemc/blob/bec101067d808f93bf215031dff6fa9ab7035995/CMakeLists.txt#L335-L336
Macros here have neither: https://github.com/accellera-official/systemc/blob/bec101067d808f93bf215031dff6fa9ab7035995/CMakeLists.txt#L339-L427
@maehne I think as long as it builds fine de facto, there is no reason to prevent that merely by not having a case in arch/platform detection. That can’t possibly hurt anyone.
This is merely a cosmetic issue. The library may (or may not) still build on such unsupported configurations. If you want a different target architecture string than macosunknown
in such an unsupported scenario, you can set the environment variable SYSTEMC_TARGET_ARCH
during the cmake
configuration step.
Fixes: https://github.com/accellera-official/systemc/issues/54