File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,5 +78,5 @@ docker run --rm -u $(id -u):$(id -g) -v $PWD:/src -e GOOUTSUFFIX=-armv6 go-libre
7878### Target Linux ARM64
7979
8080``` bash
81- docker run --rm -u $( id -u) :$( id -g) -v $PWD :/src g -e GOOUTSUFFIX=-arm64 go-librespot-build-arm64
82- ```
81+ docker run --rm -u $( id -u) :$( id -g) -v $PWD :/src -e GOOUTSUFFIX=-arm64 go-librespot-build-arm64
82+ ```
Original file line number Diff line number Diff line change @@ -36,13 +36,13 @@ RUN if [ ${TARGET} = arm-rpi-linux-gnueabihf ]; then \
3636# Compile dependency sources
3737RUN cd /tmp/alsa-lib-1.2.10 && \
3838 ./configure --enable-shared=yes --enable-static=no --with-pic --host=${TARGET} --prefix=/tmp/deps/${TARGET} && \
39- make && make install
39+ make -j $(nproc) && make install
4040RUN cd /tmp/libogg-1.3.5 && \
4141 ./configure --host=${TARGET} --prefix=/tmp/deps/${TARGET} && \
42- make && make install
42+ make -j $(nproc) && make install
4343RUN cd /tmp/libvorbis-1.3.7 && \
4444 ./configure --host=${TARGET} --prefix=/tmp/deps/${TARGET} && \
45- make && make install
45+ make -j $(nproc) && make install
4646
4747# Golang arguments
4848ARG GOARCH
@@ -57,4 +57,4 @@ ENV CGO_ENABLED=1 PKG_CONFIG_PATH=/tmp/deps/${TARGET}/lib/pkgconfig/ CC=${CC} \
5757CMD go build \
5858 -buildvcs=false \
5959 -ldflags="-X github.com/devgianlu/go-librespot.commit=${COMMIT} -X github.com/devgianlu/go-librespot.version=${VERSION}" \
60- -o ./go-librespot${GOOUTSUFFIX} -a ./cmd/daemon
60+ -o ./go-librespot${GOOUTSUFFIX} -a ./cmd/daemon
You can’t perform that action at this time.
0 commit comments