Skip to content

DM-55655: pin CONDA_OVERRIDE_GLIBC=2.17 during ./bin/deploy - #116

Merged
roceb merged 4 commits into
mainfrom
tickets/DM-54833-2
Jul 31, 2026
Merged

DM-55655: pin CONDA_OVERRIDE_GLIBC=2.17 during ./bin/deploy#116
roceb merged 4 commits into
mainfrom
tickets/DM-54833-2

Conversation

@roceb

@roceb roceb commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

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

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
roceb force-pushed the tickets/DM-54833-2 branch from d89fe85 to cd99e59 Compare July 29, 2026 15:47

@timj timj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks okay. I am guessing we will need to change this over time as new OSs come out and the old ones disappear.

Comment thread jenkins_wrapper.sh
# 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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cute way of doing a version comparison.

Comment thread jenkins_wrapper.sh Outdated
Co-authored-by: Tim Jenness <tim.jenness@gmail.com>
@roceb
roceb merged commit c3a40da into main Jul 31, 2026
2 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.

2 participants