DM-55655: pin CONDA_OVERRIDE_GLIBC=2.17 during ./bin/deploy - #116
Merged
Conversation
Force the conda solver to target glibc 2.17 while ./bin/deploy creates the rebuild's conda env, so the env captured in stack/src/env/<tag>.env resolves glibc-2.17-compatible packages that run on RHEL7-era hosts such as USDF cvmfs. Scoped to linux/x86_64 and unset before the build runs, so it never affects runtime, aarch64, or macOS. Generated with AI Co-Authored-By: SLAC AI
roceb
force-pushed
the
tickets/DM-54833-2
branch
from
July 29, 2026 15:47
d89fe85 to
cd99e59
Compare
timj
approved these changes
Jul 31, 2026
timj
left a comment
Member
There was a problem hiding this comment.
Looks okay. I am guessing we will need to change this over time as new OSs come out and the old ones disappear.
| # don't override glibc on aarch64. We also need to pass a flag from Jenkins to | ||
| # avoid false possitives. | ||
| if [[ $LSST_GLIBC_FLAG = "true" && $(uname -s) == Linux && $(uname -m) == x86_64 ]] && \ | ||
| [[ $(printf '%s\n' "13.0.0" "$LSST_SPLENV_REF" | sort -V | tail -n1) == "$LSST_SPLENV_REF" ]]; then |
Member
There was a problem hiding this comment.
Cute way of doing a version comparison.
Co-authored-by: Tim Jenness <tim.jenness@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Force the conda solver to target glibc 2.17 while ./bin/deploy creates the rebuild's conda env, so the env captured in stack/src/env/.env resolves glibc-2.17-compatible packages that run on RHEL7-era hosts such as USDF cvmfs. Scoped to linux/x86_64 and unset before the build runs, so it never affects runtime, aarch64, or macOS. This will only run if we set the flag, are running on a version greater than 13.0 and it is on linux x86