Skip to content
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

Partial support of MacOs #405

Merged
merged 1 commit into from
Sep 6, 2024
Merged

Partial support of MacOs #405

merged 1 commit into from
Sep 6, 2024

Conversation

drslebedev
Copy link
Contributor

This PR focuses on compiling and running GNU Radio 4 on macOS.

Changes

  • Several adjustments were made to ensure compatibility and successful execution on macOS.
  • Tested on macOS 14.6.1 with both gcc-13 and gcc-14 installed via Homebrew.
  • Encountered issues with the libc++ library when using clang-18; the default Apple compiler is clang-15.

Known Issues

  • HttpBlock: Disabled due to compatibility issues with MacOsSDK. Further investigation is needed if support is required.
  • Thread Affinity: Currently not supported. Further investigation may be required if needed.

Signed-off-by: drslebedev <dr.s.lebedev@gmail.com>
@@ -115,7 +115,9 @@ const boost::ut::suite SequenceTests = [] {
"Sequence"_test = [] {
using namespace gr;
using signed_index_type = std::make_signed_t<std::size_t>;
#if not defined(__APPLE__)
expect(eq(alignof(Sequence), 64UZ));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this not hold for iOS?

Copy link
Member

@RalphSteinhagen RalphSteinhagen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

We need to ensure that the missing implementation for the thread handing on iOS (and eventually Windows) isn't missed. Users may have an expectation that when the respective functions are used that these either succeed or transparently fail. Presently these are silent functional failures.

@RalphSteinhagen RalphSteinhagen merged commit 02b5587 into main Sep 6, 2024
10 of 11 checks passed
@RalphSteinhagen RalphSteinhagen deleted the fix_mac branch September 6, 2024 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants