You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changed the title [-]Dear @aminya, after the last release my pipelines are failing because OpenMP is not found anymore:[/-][+]Brew LLVM OpenMP[/+]on Mar 17, 2025
If the issue still happens, the problem is somewhere else. Needs more investigation.
I disabled the export of the library path due to the conflicts with the system libraries, as the linker automatically picks those libraries. So, only add this if you intend to do so.
Sometimes I use setup-cpp to install ninja and cmake only, leaving system compiler default. In apple case it is AppleClang. It would be great to be able to pass openmp there so to use it with AppleClang.
Activity
[-]Dear @aminya, after the last release my pipelines are failing because OpenMP is not found anymore:[/-][+]Brew LLVM OpenMP[/+]aminya commentedon Mar 17, 2025
I wonder if it's because the LLVM installation via brew doesn't include OpenMP. I'll try to test. Could you pin setup-cpp meanwhile?
DiamonDinoia commentedon Apr 7, 2025
Hi @aminya,
It seems that I still have problems: https://github.com/DiamonDinoia/finufft/actions/runs/14312541051
Do I need to export LD_LIBRARY_PATH after installing libomp?
Thanks,
Marco
aminya commentedon Apr 7, 2025
If the issue still happens, the problem is somewhere else. Needs more investigation.
I disabled the export of the library path due to the conflicts with the system libraries, as the linker automatically picks those libraries. So, only add this if you intend to do so.
aminya commentedon Apr 7, 2025
@DiamonDinoia I could configure the project with this. CMake doesn't automatically pick up the homebrew libs.
I'll have to see how we can support this by default. Perhaps I should export
LLVM_CMAKE_PREFIX_PATHthat you can use in your buildsDiamonDinoia commentedon Aug 18, 2025
@aminya my soluton is:
brew install libomp { echo "LDFLAGS=-L$(brew --prefix libomp)/lib" echo "CPPFLAGS=-I$(brew --prefix libomp)/include" echo "LIBRARY_PATH=$(brew --prefix libomp)/lib" echo "DYLD_LIBRARY_PATH=$(brew --prefix libomp)/lib" echo "CMAKE_PREFIX_PATH=$(brew --prefix libomp)" } >> "$GITHUB_ENV"It would be nice to have an openmp=true like vcvarsall
aminya commentedon Aug 25, 2025
I'll add OpenMP by default to the LLVM installations in the next release. The inconsistency between the platforms is not ideal
DiamonDinoia commentedon Aug 25, 2025
Sometimes I use setup-cpp to install ninja and cmake only, leaving system compiler default. In apple case it is AppleClang. It would be great to be able to pass openmp there so to use it with AppleClang.