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

GHA: OpenMP not found on macos #2182

Closed
3 tasks
dweindl opened this issue Oct 27, 2023 · 1 comment · Fixed by #2207
Closed
3 tasks

GHA: OpenMP not found on macos #2182

dweindl opened this issue Oct 27, 2023 · 1 comment · Fixed by #2207
Assignees
Labels

Comments

@dweindl
Copy link
Member

dweindl commented Oct 27, 2023

e.g. https://github.com/AMICI-dev/AMICI/actions/runs/6637490835/job/18031913365#step:9:853

-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) 
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) 
-- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND) 
  • ensure cmake can find the libomp installation
  • update installation guide if relevant
  • adapt test to always expect OpenMP to be available when running on GHA
@dweindl dweindl added the ci label Nov 16, 2023
@dweindl
Copy link
Member Author

dweindl commented Nov 20, 2023

It's not so much an issue of mac, but rather clang. Reproducible on Ubuntu.

EDIT: okay on ubuntu it was just a missing libomp-dev; TODO: on mac try OpenMP_ROOT=$(brew --prefix)/opt/libomp

@dweindl dweindl self-assigned this Nov 20, 2023
@dweindl dweindl linked a pull request Nov 20, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant