-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix macOS PowerPC #55
Conversation
@lmailletcontoz Could you please take a look at this, and another two PRs below? |
@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 |
@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 Lines 335 to 336 in bec1010
Macros here have neither: Lines 339 to 427 in bec1010
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From my side the proposed changes look OK, but I have no possibility to test it. The PowerPC platform for Mac OS X is legacy, but we have even older legacy platforms considered in the build system.
@pah: What do you think?
@@ -77,6 +77,8 @@ | |||
# | |||
# - Linux (Clang): aarch64 | |||
# | |||
# - macOS 10.5, 10.6 (GCC): ppc, ppc64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"macOS" -> "Mac OS X"
@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 |
For the record, tests seem to pass on macOS ppc for 3.0.1:
|
Fixes: #54