Skip to content

Commit

Permalink
Debug glibc check for GPU builds
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Jan 7, 2025
1 parent 6e46b5e commit 8bf7c5e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,15 @@ jobs:
cmake --build . -j$(nproc --all)
# fail if GLIBC_PRIVATE or too new GLIBC is present
if readelf -Ws src/mmseqs | grep -q GLIBC_PRIVATE; then
exit 1
readelf -Ws src/mmseqs
readelf -V src/mmseqs
# exit 1
fi
LIBC_V=$(readelf -V src/mmseqs | awk '$3 ~ /^GLIBC_/ { print $3 }' | sort -V | tail -n1)
if [[ "$LIBC_V" > "GLIBC_2.29" ]]; then
exit 1
readelf -Ws src/mmseqs
readelf -V src/mmseqs
# exit 1
fi
displayName: Build MMseqs2
- task: PublishPipelineArtifact@0
Expand Down

0 comments on commit 8bf7c5e

Please sign in to comment.