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

Mac OSX builds failing #36

Closed
1 task done
demorest opened this issue Dec 11, 2024 · 1 comment · Fixed by #37
Closed
1 task done

Mac OSX builds failing #36

demorest opened this issue Dec 11, 2024 · 1 comment · Fixed by #37
Labels
bug Something isn't working

Comments

@demorest
Copy link
Contributor

demorest commented Dec 11, 2024

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Mac builds are failing to compile the C++ code. Some more info is in PR #35

@demorest demorest added the bug Something isn't working label Dec 11, 2024
@demorest demorest changed the title Max OSX builds failing Mac OSX builds failing Dec 11, 2024
@demorest demorest mentioned this issue Dec 11, 2024
4 tasks
@demorest
Copy link
Contributor Author

The TLDR is that we were using a too-old version of the C++ compiler. We had specified version 15 in conda_build_config.yaml, does anyone know why this was hard-coded rather than letting it go with the current conda-forge defaults? I've bumped it up to 17 which has helped though there are now some other errors with at least one of the plugins (I think these are fixable, will get to that shortly).

More info:

The original error was failure to find basic C++ header files like <string>. This was due to changes discussed at conda-forge/clangdev-feedstock#310 where the C++ header files were split into a different package (presumably for reasons). However this change was only backported to clang>=16.

I first tried adding the libcxx-devel package to get the headers. This addressed the header issue but the build failed with other obscure C++ errors, including a warning that this libcxx version requires clang 17. Increasing version to 17 fixed these errors.

The current problem is that the "interpolate" function defines a sample struct which has a name collision with std::sample. I'll try to poke at this offline for a bit, if I can reproduce the error here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant