mirror of
https://github.com/CDrummond/bliss-analyser.git
synced 2026-10-22 14:32:08 +03:00
Next try?
This commit is contained in:
1 parent
fa61d5a6c3
commit
5ec6a30104
4 files changed
+8
-4
No files matched your search
@@ -3,7 +3,9 @@ FROM debian:bookworm
|
||||
RUN dpkg --add-architecture amd64
|
||||
RUN apt-get update
|
||||
|
||||
RUN apt-get install -y curl git build-essential gcc-multilib musl-tools musl-dev musl yasm
|
||||
RUN apt-get install -y curl git pkg-config yasm
|
||||
RUN apt-get install -y build-essential clang
|
||||
RUN apt-get install -y musl-tools musl-dev musl
|
||||
|
||||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||
ENV PATH="/root/.cargo/bin/:${PATH}"
|
||||
|
||||
@@ -3,7 +3,9 @@ FROM debian:bookworm
|
||||
RUN dpkg --add-architecture amd64
|
||||
RUN apt-get update
|
||||
|
||||
RUN apt-get install -y curl git build-essential gcc-multilib musl-tools musl-dev musl yasm pkg-config
|
||||
RUN apt-get install -y curl git pkg-config yasm
|
||||
RUN apt-get install -y build-essential clang
|
||||
RUN apt-get install -y musl-tools musl-dev musl
|
||||
|
||||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||
ENV PATH="/root/.cargo/bin/:${PATH}"
|
||||
|
||||
@@ -9,7 +9,7 @@ function build {
|
||||
echo Building for $1 to $3...
|
||||
|
||||
if [[ ! -f /build/$1/release/bliss-analyser ]]; then
|
||||
cargo build --release --features=libav,staticlibav --target $1
|
||||
cargo build --release --features=update-aubio-bindings,libav,staticlibav --target $1
|
||||
fi
|
||||
|
||||
$2 /build/$1/release/bliss-analyser && cp /build/$1/release/bliss-analyser $DESTDIR/$3
|
||||
|
||||
@@ -9,7 +9,7 @@ function build {
|
||||
echo Building for $1 to $3...
|
||||
|
||||
if [[ ! -f /build/$1/release/bliss-analyser ]]; then
|
||||
cargo build --release --features=symphonia --target $1
|
||||
cargo build --release --features update-aubio-bindings,symphonia --target $1
|
||||
fi
|
||||
|
||||
$2 /build/$1/release/bliss-analyser && cp /build/$1/release/bliss-analyser $DESTDIR/$3
|
||||
|
||||
Reference in new issue
Block a user