Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ COPY support .
RUN ./build-libzip.sh
RUN ./build-bluez.sh
RUN ./build-libsamplerate.sh

RUN ./build-lz4.sh

ENV UNION_PLATFORM=tg5040
# do we still need this?
Expand Down
10 changes: 10 additions & 0 deletions support/build-lz4.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#! /bin/bash

set -euo pipefail

# lz4
git clone --depth=1 --branch v1.10.0 https://github.com/lz4/lz4.git /tmp/lz4 && \
cd /tmp/lz4 && \
make CC=$CC PREFIX=$SYSROOT/usr -j$(nproc) && \
make CC=$CC PREFIX=$SYSROOT/usr install && \
cd /tmp && rm -rf /tmp/lz4
Loading