forked from pool/rusty_v8
bump to 149.4.0 (test) #16
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 14 07:48:30 UTC 2026 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
||||
|
||||
- Add patches:
|
||||
* remove-unknown-cflags-from-compiler-config.patch
|
||||
* remove-unknown-cflags-from-sanitizers.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 13 00:22:22 UTC 2026 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
||||
|
||||
- Update version to 149.3.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 19 01:20:50 UTC 2026 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
||||
|
||||
|
||||
+17
-14
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package rusty_v8
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2026 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%global _min_clang_version 19
|
||||
%global _min_clang_version 22
|
||||
%global __requires_exclude_from ^%{_libdir}/crates/rusty_v8/.*$
|
||||
|
||||
%if 0%{?suse_version} > 1600
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
|
||||
Name: rusty_v8
|
||||
Version: 145.0.0
|
||||
Version: 149.4.0
|
||||
Release: 0
|
||||
Summary: Build tooling for Deno (do not install or use!)
|
||||
License: MIT
|
||||
@@ -41,12 +41,15 @@ Group: Productivity/Other
|
||||
URL: https://github.com/denoland/rusty_v8
|
||||
Source0: %{name}-%{version}.tar.zst
|
||||
Source1: vendor.tar.zst
|
||||
Source2: https://storage.googleapis.com/chromium-browser-clang/Linux_x64/rust-toolchain-a4cfac7093a1c1c7fbdb6bc75d6b6dc4d385fc69-2-llvmorg-22-init-17020-gbd1bd178.tar.xz#/chromium-rust-toolchain.tar.xz
|
||||
# check file v8/DEPS in the source code
|
||||
Source2: https://storage.googleapis.com/chromium-browser-clang/Linux_x64/rust-toolchain-4c4205163abcbd08948b3efab796c543ba1ea687-2-llvmorg-23-init-10931-g20b6ec66.tar.xz#/chromium-rust-toolchain.tar.xz
|
||||
Source100: rusty_v8-rpmlintrc
|
||||
Patch0: deno-v8-arm.patch
|
||||
# Based on https://gitlab.archlinux.org/archlinux/packaging/packages/chromium/-/raw/main/compiler-rt-adjust-paths.patch
|
||||
Patch1: compiler-rt-adjust-paths.patch
|
||||
Patch2: disable-rust-toolchain-download.patch
|
||||
Patch3: remove-unknown-cflags-from-sanitizers.patch
|
||||
Patch4: remove-unknown-cflags-from-compiler-config.patch
|
||||
BuildRequires: cargo
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: clang >= %{_min_clang_version}
|
||||
@@ -114,16 +117,16 @@ export GN="/usr/bin/gn"
|
||||
export NINJA="/usr/bin/ninja"
|
||||
export RUSTC="/usr/bin/rustc"
|
||||
export GN_ARGS="
|
||||
clang_version=${CLANG_VERSION}
|
||||
v8_symbol_level=0
|
||||
custom_toolchain=\"//build/toolchain/linux/unbundle:default\"
|
||||
host_toolchain=\"//build/toolchain/linux/unbundle:default\"
|
||||
fatal_linker_warnings=false
|
||||
is_debug=false
|
||||
use_system_libffi=true
|
||||
use_custom_libcxx=false
|
||||
use_sysroot=false
|
||||
"
|
||||
clang_version=${CLANG_VERSION}
|
||||
v8_symbol_level=0
|
||||
custom_toolchain=\"//build/toolchain/linux/unbundle:default\"
|
||||
host_toolchain=\"//build/toolchain/linux/unbundle:default\"
|
||||
fatal_linker_warnings=false
|
||||
is_debug=false
|
||||
use_system_libffi=true
|
||||
use_custom_libcxx=false
|
||||
use_sysroot=false
|
||||
"
|
||||
export EXTRA_GN_ARGS="use_custom_libcxx=false"
|
||||
|
||||
# Included limited debug info.
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
<services>
|
||||
<service name="cargo_vendor" mode="manual">
|
||||
<param name="src">https://github.com/denoland/rusty_v8</param>
|
||||
<param name="revision">v145.0.0</param>
|
||||
<param name="revision">v149.4.0</param>
|
||||
<param name="versionrewriteregex">^v?(.*)</param>
|
||||
<param name="versionrewritepattern">$1</param>
|
||||
<param name="compression">zst</param>
|
||||
<param name="update">false</param>
|
||||
<param name="i-accept-the-risk">RUSTSEC-2026-0007</param>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,25 @@
|
||||
--- rusty_v8-149.3.0/build/config/compiler/BUILD.gn.orig 2026-06-14 15:40:25.726378329 +0800
|
||||
+++ rusty_v8-149.3.0/build/config/compiler/BUILD.gn 2026-06-14 16:08:00.564852876 +0800
|
||||
@@ -600,12 +600,6 @@
|
||||
if (is_clang) {
|
||||
# Flags for diagnostics.
|
||||
cflags += [ "-fcolor-diagnostics" ]
|
||||
- if (!is_win) {
|
||||
- cflags += [ "-fdiagnostics-show-inlining-chain" ]
|
||||
- } else {
|
||||
- # Combine after https://github.com/llvm/llvm-project/pull/192241
|
||||
- cflags += [ "/clang:-fdiagnostics-show-inlining-chain" ]
|
||||
- }
|
||||
if (diagnostics_print_source_range_info && !is_win) {
|
||||
cflags += [ "-fdiagnostics-print-source-range-info" ]
|
||||
}
|
||||
@@ -639,9 +633,6 @@
|
||||
# The performance improvement does not seem worth the risk. See
|
||||
# https://crbug.com/484082200 for background and https://crrev.com/c/7593035
|
||||
# for discussion.
|
||||
- if (!is_wasm) {
|
||||
- cflags += [ "-fno-lifetime-dse" ]
|
||||
- }
|
||||
|
||||
# TODO(hans): Remove this once Clang generates better optimized debug info
|
||||
# by default. https://crbug.com/765793
|
||||
@@ -0,0 +1,10 @@
|
||||
--- rusty_v8-149.3.0/build/config/sanitizers/sanitizers.gni.orig 2026-06-14 15:43:15.431918519 +0800
|
||||
+++ rusty_v8-149.3.0/build/config/sanitizers/sanitizers.gni 2026-06-14 15:43:42.696360984 +0800
|
||||
@@ -540,7 +540,6 @@
|
||||
# be usable even in release builds, i.e. as widely as possible.
|
||||
# It's important not to have full-on UBSan workarounds activate
|
||||
# just because we built support for a specific sanitizer.
|
||||
- "-fsanitize-ignore-for-ubsan-feature=${invoker.sanitizer}",
|
||||
]
|
||||
if (defined(invoker.cflags)) {
|
||||
cflags += invoker.cflags
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
LFS
BIN
Binary file not shown.
Reference in New Issue
Block a user