summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSean Kurtz <seankurtz75@gmail.com>2026-11-29 10:23:32 -0600
committerSean Kurtz <seankurtz75@gmail.com>2026-11-29 10:23:32 -0600
commit0a270a610f92b258edabeed71d6a2aba558eae32 (patch)
treee47f611a12a12f186f39c82405692008ae24e4fa
parentc395bd53d22de9fcda6bfec25596223845e83a22 (diff)
downloadzash-0a270a610f92b258edabeed71d6a2aba558eae32.tar.gz
Fix ASan runtime package in CI and keep buildenv deps to make + gzip
- Install libclang-rt-19-dev with clang-19 in .github/workflows/ci.yml so make asan links libclang_rt.asan on ubuntu-24.04. - Keep ZOPEN_DEV_DEPS/ZOPEN_STABLE_DEPS to 'make gzip' so zopen coreutils' altbin does not shadow EBCDIC /bin/cat during zos/tagging.
-rw-r--r--.github/workflows/ci.yml2
-rw-r--r--buildenv9
2 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 95daf49..a7c0b9e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -28,7 +28,7 @@ jobs:
done
if [ -z "$cc" ]; then
sudo apt-get update
- sudo apt-get install -y --no-install-recommends clang-19
+ sudo apt-get install -y --no-install-recommends clang-19 libclang-rt-19-dev
cc="clang-19"
fi
"$cc" --version
diff --git a/buildenv b/buildenv
index 7c42bec..27e9718 100644
--- a/buildenv
+++ b/buildenv
@@ -7,10 +7,11 @@ ZASH_VERSION="0.1.0"
export ZOPEN_PROJECT_NAME="zash"
export ZOPEN_BUILD_LINE="DEV"
export ZOPEN_TYPE="LOCAL"
-# Build and test dependencies only (not runtime): tests/run.sh uses GNU
-# coreutils/diffutils, and tests/zos/tagging.sh uses gzip.
-export ZOPEN_DEV_DEPS="make coreutils diffutils gzip"
-export ZOPEN_STABLE_DEPS="make coreutils diffutils gzip"
+# Build and test dependencies only (not runtime): tests/zos/tagging.sh uses
+# gzip. Do not add coreutils here -- its altbin puts ASCII `cat` ahead of
+# /bin/cat, which changes the EBCDIC external-writer test in zos/tagging.
+export ZOPEN_DEV_DEPS="make gzip"
+export ZOPEN_STABLE_DEPS="make gzip"
export ZOPEN_CATEGORIES="shell"
export ZOPEN_COMP="CLANG"
# zash uses only POSIX/POSIX-adjacent libc calls; zoslib would add a runtime