Skip to content

Conversation

@jjgoings
Copy link
Contributor

fixes build on macOS by wrapping scaled_ylm_std() in #ifndef __APPLE__.

this particular function looks unused/reference-only but calls std::sph_legendre which doesn't exist in Apple's libc++ which causes build failures. shouldn't cause any weird side effects by disabling, but if so it'll be limited to macos :)

to verify i added CI for ubuntu + macos and appears that the tests pass.

resolves #153

Copy link
Owner

@wavefunction91 wavefunction91 left a comment

Choose a reason for hiding this comment

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

Great! If possible, can you incorporate this into the PR pipeline rather than standing up a whole separate "on_push". I'm all for making sure I don't accidentally brick MacOS builds in the future :).

@jjgoings
Copy link
Contributor Author

@wavefunction91 I moved the build to (hopefully) the right place. i think you'll need to trigger/approve the workflow run, but once you do i can help make sure we get it to green ... otherwise hopefully we are good to go!

@wavefunction91 wavefunction91 merged commit 0319e71 into wavefunction91:master Oct 24, 2025
13 checks passed
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.

Compilation error with Apple Clang 17.0.0

2 participants