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 test settings for proj (no googletest) #389

Conversation

AlexanderRichert-NOAA
Copy link
Collaborator

Description

This PR pulls in commit 013f0d3 from main Spack, which fixes the proj recipe by disabling the googletest-based tests when we're not using self.run_tests. This will allow us to install proj from source cache without an internet connection.

Issue(s) addressed

Address spack#934

Dependencies

none

Impact

none

Checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have run the unit tests before creating the PR

* Only build tests for proj package if required

Even if tests are not explictly required to be built, proj build them
anyway and tries to download Google Test.

* proj: fix name of test activation flag

* proj: Always set test activation flag

* proj: Patch test activation logic for versions 5.x
@AlexanderRichert-NOAA AlexanderRichert-NOAA merged commit d003817 into JCSDA:jcsda_emc_spack_stack Jan 10, 2024
14 of 15 checks passed
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.

3 participants