wip(linux-reh-x64): add cxx11 verification (#2467)

This commit is contained in:
Baptiste Augrain
2025-08-18 11:50:53 +02:00
committed by GitHub
parent 23683879d3
commit a3bf4232ba
4 changed files with 55 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -e
FILES=$( find "${SEARCH_PATH}" -name "*.node" -not -path "*prebuilds*" -not -path "*extensions/node_modules/@parcel/watcher*" )
echo "Verifying requirements for files: ${FILES}"
for FILE in ${FILES}; do
if [[ -n "$( strings "${FILE}" | grep cxx11 | tail -n1 )" ]]; then
echo "Error: File ${FILE} has dependency on ABI ${CXXABI_VERSION} > ${EXPECTED_CXXABI_VERSION}"
exit 1
fi
done