From 13dd2132310fb4dc5aa3dd217ed62f2e8301b981 Mon Sep 17 00:00:00 2001 From: Onur Gündüz Date: Thu, 25 Jun 2026 14:00:54 +0200 Subject: all: migrate to yyjson --- devtools/container-build-test.sh | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'devtools/container-build-test.sh') diff --git a/devtools/container-build-test.sh b/devtools/container-build-test.sh index d2fecc8..3437868 100755 --- a/devtools/container-build-test.sh +++ b/devtools/container-build-test.sh @@ -1,11 +1,10 @@ #!/usr/bin/env bash -# Build, test and bench the OpenBLAS backend in a throwaway Ubuntu container to -# catch Linux portability breakage a macOS/Accelerate build hides. Needs Apple's -# `container` CLI running. Run from anywhere in the repo: it finds the repo root -# via git, bind-mounts it at /work, installs the Runpod toolchain, re-execs -# itself inside with --in-container, and runs make cpu/test/bench/bench-server- -# utils/debug, then `make clean` (skip with KEEP=1). Override the image with -# IMAGE=ubuntu:22.04. Exits non-zero at the first failing step. +# Build, test and bench the OpenBLAS backend in an Ubuntu container to catch +# Linux portability breakage a macOS/Accelerate build hides. +# It finds the repo root via git, bind-mounts it at /work, installs the Runpod +# toolchain, re-execs itself inside with --in-container, and runs +# make cpu/test/bench/bench-server-utils/debug, then `make clean`. +# Skip clean with KEEP=1. Override the image with IMAGE=ubuntu:22.04. set -euo pipefail IMAGE="${IMAGE:-ubuntu:24.04}" @@ -20,13 +19,13 @@ run_in_container() { # export map (ffwd.map) is generated at build time by devtools/gen_exports.py # (see libffwd/Makefile), so `make cpu` fails without it. apt-get install -y --no-install-recommends \ - build-essential ca-certificates libcjson-dev libopenblas-dev \ + build-essential ca-certificates libyyjson-dev libopenblas-dev \ pkg-config git python3 >/dev/null echo "==================== system / toolchain ====================" uname -a cc --version | sed -n '1p' - echo "libcjson $(pkg-config --modversion libcjson 2>/dev/null || echo MISSING) :: $(pkg-config --cflags --libs libcjson 2>/dev/null)" + echo "libyyjson $(pkg-config --modversion libyyjson 2>/dev/null || echo MISSING) :: $(pkg-config --cflags --libs libyyjson 2>/dev/null)" echo "openblas $(pkg-config --modversion openblas 2>/dev/null || echo MISSING) :: $(pkg-config --cflags --libs openblas 2>/dev/null)" cd /work -- cgit v1.3.1