Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .ci/scripts/unittest-linux-cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,18 @@ set -eux
# Install from a local tosa-tools checkout when available. If absent in this
# checkout layout, clone the pinned upstream tag and install from there.
if ! python -c "import tosa_serializer" >/dev/null 2>&1; then
TOSA_SERIALIZATION_DIR="./examples/arm/arm-scratch/tosa-tools/serialization"
if [[ ! -d "${TOSA_SERIALIZATION_DIR}" ]]; then
TOSA_TOOLS_DIR="./examples/arm/arm-scratch/tosa-tools"
if [[ ! -d "${TOSA_TOOLS_DIR}" ]]; then
TOSA_TOOLS_DIR="$(mktemp -d /tmp/tosa-tools.XXXXXX)"
git clone --depth 1 --branch v2025.11.2 \
git clone --depth 1 --branch v2026.05.0 \
https://git.gitlab.arm.com/tosa/tosa-tools.git "${TOSA_TOOLS_DIR}"
TOSA_SERIALIZATION_DIR="${TOSA_TOOLS_DIR}/serialization"
fi

# NOTE: Will be removed when tosa-tools is installed via pypi
python -m pip install pybind11==2.10.4
CMAKE_POLICY_VERSION_MINIMUM=3.5 BUILD_PYBIND=1 \
python -m pip install --no-dependencies \
"${TOSA_SERIALIZATION_DIR}"
"${TOSA_TOOLS_DIR}"
python -c "import tosa_serializer"
fi

Expand Down
Loading