Skip to content

Update cmake to gtensor minimum version#1

Merged
germasch merged 1 commit intopsc-code:mainfrom
JamesMcClung:pr/update-cmake
Mar 11, 2026
Merged

Update cmake to gtensor minimum version#1
germasch merged 1 commit intopsc-code:mainfrom
JamesMcClung:pr/update-cmake

Conversation

@JamesMcClung
Copy link
Collaborator

@JamesMcClung JamesMcClung commented Mar 11, 2026

The psc CI/CD recently stopped working (e.g. psc-code/psc#385) because it was using cmake version 3.20.2, whereas gtensor recently updated its cmake requirement to 3.21.

The problem seems to be that Docker is using a cached version of cmake. This repo (psc-infrastructure) was created May 8–14, 2021, which is exactly between the releases of cmake v3.20.2 and v3.20.3 (see here; the page may drift with time), which is consistent with cmake having been cached for the entire history of this repo.

To fix the CI/CD, it would probably suffice to just invalidate the cache (in any number of ways), but I take the approach of pinning the cmake version instead for the sake of clarity/transparency.

As an aside, here are some other links I came across while trying to figure out the CI/CD problem, included for posterity/future reference:

gtensor recently updated to require 3.21 or higher, so just use that
@JamesMcClung
Copy link
Collaborator Author

Also, while I'm pretty sure I identified the problem, I don't know if this is the full solution. TBD, I guess.

@germasch germasch merged commit a415574 into psc-code:main Mar 11, 2026
@JamesMcClung JamesMcClung deleted the pr/update-cmake branch March 11, 2026 15:32
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.

2 participants