rebase lto hack
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/deno?expand=0&rev=95
This commit is contained in:
parent
1053269db4
commit
e2a3635a57
18
deno-disable-lto.patch
Normal file
18
deno-disable-lto.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
--- a/Cargo.toml
|
||||||
|
+++ b/Cargo.toml
|
||||||
|
@@ -146,7 +146,6 @@ winapi = "=0.3.9"
|
||||||
|
[profile.release]
|
||||||
|
codegen-units = 1
|
||||||
|
incremental = true
|
||||||
|
-lto = true
|
||||||
|
opt-level = 'z' # Optimize for size
|
||||||
|
|
||||||
|
# Build release with debug symbols: cargo build --profile=release-with-debug
|
||||||
|
@@ -158,7 +157,6 @@ debug = true
|
||||||
|
[profile.bench]
|
||||||
|
codegen-units = 1
|
||||||
|
incremental = true
|
||||||
|
-lto = true
|
||||||
|
opt-level = 'z' # Optimize for size
|
||||||
|
|
||||||
|
# Key generation is too slow on `debug`
|
@ -89,7 +89,7 @@ Fri Feb 24 00:21:54 UTC 2023 - Avindra Goolcharan <avindra@opensuse.org>
|
|||||||
* fix(upgrade): ensure temp dir cleanup on failure (#17535)
|
* fix(upgrade): ensure temp dir cleanup on failure (#17535)
|
||||||
* fix: ensure "fs" -> "node:fs" error/quick fix works when user has import map (#17566)
|
* fix: ensure "fs" -> "node:fs" error/quick fix works when user has import map (#17566)
|
||||||
* perf(ops): Remove unnecessary fast call fallback options usage (#17585)
|
* perf(ops): Remove unnecessary fast call fallback options usage (#17585)
|
||||||
- Remove deno-disbale-lto.patch (needs rebase/TBD)
|
- Rebase deno-disbale-lto.patch (renamed to deno-disable-lto.patch)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 28 23:33:53 UTC 2023 - Avindra Goolcharan <avindra@opensuse.org>
|
Sat Jan 28 23:33:53 UTC 2023 - Avindra Goolcharan <avindra@opensuse.org>
|
||||||
|
@ -29,8 +29,10 @@ Source0: %{name}-%{version}.tar.xz
|
|||||||
Source1: vendor.tar.xz
|
Source1: vendor.tar.xz
|
||||||
Source2: cargo_config
|
Source2: cargo_config
|
||||||
Source99: revendor_source.sh
|
Source99: revendor_source.sh
|
||||||
# PATCH-FIX-OPENSUSE - Disable LTO
|
# PATCH-FIX-OPENSUSE - Disable LTO (to reduce req memory)
|
||||||
# Patch1: deno-disbale-lto.patch
|
%ifarch %{arm} aarch64
|
||||||
|
Patch1: deno-disable-lto.patch
|
||||||
|
%endif
|
||||||
# gcc-c++ needed to build SPIRV-Cross
|
# gcc-c++ needed to build SPIRV-Cross
|
||||||
BuildRequires: clang
|
BuildRequires: clang
|
||||||
BuildRequires: cargo-packaging
|
BuildRequires: cargo-packaging
|
||||||
|
Loading…
Reference in New Issue
Block a user