test cargo build opts
Some checks failed
PikaOS Package Build Only (Canary) (amd64-v3) / build (push) Failing after 10s

This commit is contained in:
Ward from fusion-voyager-3 2024-07-26 22:13:26 +03:00
parent b627ca9dd4
commit 162fd971f9
3 changed files with 5 additions and 5 deletions

View File

@ -1 +1 @@
6
7

4
debian/rules vendored
View File

@ -4,12 +4,12 @@
## Output every command that modifies files on the build system.
export DH_VERBOSE = 1
export PIKA_BUILD_ARCH = $(shell cat pika-build-arch)
export PIKA_BUILD_ARCH = $(shell cat ../pika-build-arch)
override_dh_prep:
# amd64 build prep
ifeq (amd64-v3,$(PIKA_BUILD_ARCH))
export RUSTFLAGS="-C target-cpu=x86-64-v34 -Clinker-plugin-lto -Copt-level=34"
export RUSTFLAGS="-C target-cpu=x86-64-v3 -Clinker-plugin-lto -Copt-level=3"
endif
BUILDFLAGS := --release

View File

@ -6,14 +6,14 @@ VERSION="1.3.1.git"
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
# Clone Upstream
#git clone https://github.com/waycrate/wayshot.git --recurse-submodules -b "$VERSION"
git clone https://github.com/waycrate/wayshot.git --recurse-submodules
cp -rvf ./debian ./wayshot
cd ./wayshot
echo "$PIKA_BUILD_ARCH" > pika-build-arch
# Get build deps
apt-get build-dep ./ -y