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

fix(compiler): Force linking of libomp with libstdc++ in debug builds #615

Merged
merged 1 commit into from
Nov 16, 2023

Commits on Nov 16, 2023

  1. fix(compiler): Force linking of libomp with libstdc++ in debug builds

    Debug builds preserve assertions in libomp, which are implemented
    using code form libstdc++. However, the build rules for libomp
    explicitly prevent the library from being linked with libstdc++ by
    default, resulting in a linker error for debug builds.
    
    This patch sets the option `LIBOMP_USE_STDCPPLIB` for libomp to `ON`
    for debug builds in order to force linking with libstdc++.
    andidr committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    ed8d1f3 View commit details
    Browse the repository at this point in the history