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

[SSCP] Do not use OpenMP CXX flags/link line #988

Merged
merged 1 commit into from
Mar 28, 2023
Merged

Conversation

illuhad
Copy link
Collaborator

@illuhad illuhad commented Mar 28, 2023

Previously, SSCP has used the CXX and linker flags of the OpenMP backend.

This was probably motivated by SSCP running as part of a regular host compilation, and therefore needing similar flags. However, using OpenMP here causes SSCP to pull in flags such as -fopenmp even if they are not needed or wanted.

Furthermore, since at least the OpenMP sequential backend is activated by syclcc in any case, the necessary flags for host compilation are already there in any case and do not need to be handled by the SSCP flag generator. The current approach just causes superfluous or duplicate host flags to be emitted.

@illuhad illuhad merged commit 70b9339 into develop Mar 28, 2023
@illuhad illuhad deleted the hotfix/sscp-syclcc branch March 28, 2023 16:19
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

Successfully merging this pull request may close these issues.

None yet

1 participant