SHA256
14
0
forked from pool/python-uv

- Reduce memory usage during build, removing lto=fat from Cargo.toml.

bsc#1245526

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=80
This commit is contained in:
2025-07-02 16:08:50 +00:00
committed by Git OBS Bridge
parent 50b1c7302c
commit 885db77dd4
2 changed files with 11 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 2 10:33:55 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- Reduce memory usage during build, removing lto=fat from Cargo.toml.
bsc#1245526
-------------------------------------------------------------------
Wed Jul 2 08:35:47 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@@ -103,8 +103,13 @@ drop-in replacement for common pip and pip-tools workflows.
%prep
%autosetup -p1 -a1 -n uv-%{version}
%ifnarch x86_64
# Reduce memory consumption for non x86 arches
sed -i '/lto = "fat"/d' Cargo.toml
%endif
%build
export LDFLAGS="--no-keep-memory"
export CARGO_AUDITABLE="auditable"
export CARGO_INCREMENTAL=0
export CARGO_FEATURE_VENDORED=1