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

Build fails when using AppleClang #490

Closed
OsKnoth opened this issue Apr 23, 2023 · 2 comments
Closed

Build fails when using AppleClang #490

OsKnoth opened this issue Apr 23, 2023 · 2 comments

Comments

@OsKnoth
Copy link

OsKnoth commented Apr 23, 2023

Within clang as the standard C/C++ compiler I get the follwing error by executing ./nrsconfig

CMake Error at /usr/local/Cellar/cmake/3.19.7/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)

This happens on my MacBookPro (Intel) and my MacMini (M2).

@stgeke stgeke changed the title OpenMP and cMake Build fails when using Apple Clang Apr 24, 2023
@stgeke stgeke changed the title Build fails when using Apple Clang Build fails when using AppleClang Apr 24, 2023
@stgeke
Copy link
Collaborator

stgeke commented Apr 24, 2023

This is fixed in upcoming release (see release candidate in the next branch) as AppleClang does not support OpenMP. I suggest to use the GCC compilers - at least for now - otherwise you'll hit #485

@stgeke
Copy link
Collaborator

stgeke commented May 30, 2023

Fixed in 833f1b5

@stgeke stgeke closed this as completed May 30, 2023
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

No branches or pull requests

2 participants