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

Tests fail to build within Spack build environment #331

Closed
Matthew-Whitlock opened this issue Mar 21, 2024 · 0 comments · Fixed by #332
Closed

Tests fail to build within Spack build environment #331

Matthew-Whitlock opened this issue Mar 21, 2024 · 0 comments · Fixed by #332

Comments

@Matthew-Whitlock
Copy link
Contributor

I get undefined references to things like pthread join, since the packages aren't explicitly linked to system threading libraries and Spack tries to disable any implicit linking by cleaning the environment.

CMake exposes the Threads package to figure out linking against whichever system threading is available.

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 a pull request may close this issue.

1 participant