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

OpenMP and pthreads configuration do not add CXXFLAGS #286

Open
holke opened this issue Jul 14, 2022 · 0 comments
Open

OpenMP and pthreads configuration do not add CXXFLAGS #286

holke opened this issue Jul 14, 2022 · 0 comments
Assignees
Labels
Bug For a bug in the Code wontfix

Comments

@holke
Copy link
Collaborator

holke commented Jul 14, 2022

The configure setting --enable-openmp and --enable-pthread do not add the appropriate flags (i.e. -fopenmp) to the CXXFLAGS variable, they only add to the CFLAGS variable.

The corresponding settings come from the sc library and maybe should get fixed there.
Or we implement our own openmp and pthread configure settings and overwrite those of sc.

The current workaround is to set the CXXFLAGS manually:

configure --enable-openmp CXXFLAGS="-fopenmp"
@holke holke added the Bug For a bug in the Code label Jul 14, 2022
@jmark jmark self-assigned this May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For a bug in the Code wontfix
Projects
None yet
Development

No branches or pull requests

3 participants