fix pika target detection
This commit is contained in:
parent
bf3ac4ab73
commit
700011a987
2142
Cargo.lock
generated
Normal file
2142
Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
4
debian/rules
vendored
4
debian/rules
vendored
@ -1,12 +1,12 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
export PIKA_BUILD_ARCH = $(shell cat pika-build-arch)
|
||||
export PIKA_BUILD_ARCH = $(shell cat ../pika-build-arch)
|
||||
export PATH := $(PATH):/root/.cargo/bin
|
||||
|
||||
override_dh_prep:
|
||||
# amd64 build prep
|
||||
ifeq (amd64-v3,$(PIKA_BUILD_ARCH))
|
||||
export RUSTFLAGS = "-C target-cpu=x86-64-v3"
|
||||
export RUSTFLAGS = -C target-cpu=x86-64-v3 -C opt-level=3 -C lto=fat -C embed-bitcode -C codegen-units=1
|
||||
endif
|
||||
|
||||
%:
|
||||
|
Loading…
Reference in New Issue
Block a user