From cb8e51cea64732f211fed96bef20672a375f14b5 Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Sat, 27 Jul 2024 00:02:42 +0300 Subject: [PATCH] port to pika os 4 --- .github/release-canary-v3 | 2 +- debian/rules | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/release-canary-v3 b/.github/release-canary-v3 index 00750ed..b8626c4 100644 --- a/.github/release-canary-v3 +++ b/.github/release-canary-v3 @@ -1 +1 @@ -3 +4 diff --git a/debian/rules b/debian/rules index 0fe78b9..d2adc49 100755 --- a/debian/rules +++ b/debian/rules @@ -6,7 +6,9 @@ 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-v3 -C opt-level=3 -C lto=fat -C embed-bitcode -C codegen-units=1 +# Does not support LTO due to dylib-lto +#export RUSTFLAGS = -C target-cpu=x86-64-v3 -C lto=fat -C embed-bitcode -C codegen-units=1 -C opt-level=3 -Zdylib-lto +export RUSTFLAGS = -C target-cpu=x86-64-v3 -C opt-level=3 endif override_dh_auto_install: