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:
@@ -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>
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user