From 34526fb36a137a8d1eec11fea36bc22f186821b4 Mon Sep 17 00:00:00 2001 From: Sergei S Date: Thu, 7 Apr 2022 22:58:12 +0200 Subject: [PATCH] targets removed: i686, arm. target added: armv7hf --- .cargo/config.toml | 3 +++ Makefile | 11 ++++------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index de00513..8916d14 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -8,5 +8,8 @@ rustflags = ["-Clink-arg=-s"] linker = "arm-linux-gnueabihf-ld" rustflags = ["-Clink-arg=-s"] +[target.armv7-unknown-linux-musleabihf] +rustflags = ["-Clink-arg=-s"] + [target.aarch64-unknown-linux-musl] rustflags = ["-Clink-arg=-s"] diff --git a/Makefile b/Makefile index b47d59b..179cecb 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=0.3.1 +VERSION=0.3.6 all: test @@ -42,18 +42,15 @@ pkg: rm -rf _build mkdir -p _build cross build --target x86_64-unknown-linux-musl --release --features server,cli - cross build --target i686-unknown-linux-musl --release --features server,cli - cross build --target arm-unknown-linux-musleabihf --release --features server,cli + cross build --target armv7-unknown-linux-musleabihf --release --features server,cli cross build --target aarch64-unknown-linux-musl --release --features server,cli cd target/x86_64-unknown-linux-musl/release && tar czvf ../../../_build/yedb-${VERSION}-x86_64-musl.tar.gz yedb-server yedb-cli - cd target/i686-unknown-linux-musl/release && tar czvf ../../../_build/yedb-${VERSION}-i686-musl.tar.gz yedb-server yedb-cli - cd target/arm-unknown-linux-musleabihf/release && tar czvf ../../../_build/yedb-${VERSION}-arm-musleabihf.tar.gz yedb-server yedb-cli + cd target/armv7-unknown-linux-musleabihf/release && tar czvf ../../../_build/yedb-${VERSION}-armv7-musleabihf.tar.gz yedb-server yedb-cli cd target/aarch64-unknown-linux-musl/release && \ aarch64-linux-gnu-strip yedb-server && \ aarch64-linux-gnu-strip yedb-cli && \ tar czvf ../../../_build/yedb-${VERSION}-aarch64-musl.tar.gz yedb-server yedb-cli cd _build && echo "" | gh release create v$(VERSION) -t "v$(VERSION)" \ - yedb-${VERSION}-arm-musleabihf.tar.gz \ - yedb-${VERSION}-i686-musl.tar.gz \ + yedb-${VERSION}-armv7-musleabihf.tar.gz \ yedb-${VERSION}-x86_64-musl.tar.gz \ yedb-${VERSION}-aarch64-musl.tar.gz