Avindra Goolcharan 2022-06-19 00:05:25 +00:00 committed by Git OBS Bridge
parent 0b14e34f16
commit 4d4080689f
7 changed files with 55 additions and 10 deletions

View File

@ -2,8 +2,8 @@
<service name="tar_scm" mode="manual"> <service name="tar_scm" mode="manual">
<param name="url">https://github.com/denoland/rusty_v8</param> <param name="url">https://github.com/denoland/rusty_v8</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="revision">v0.42.1</param> <param name="revision">v0.44.1</param>
<param name="version">0.42.1</param> <param name="version">0.44.1</param>
<param name="exclude">.git</param> <param name="exclude">.git</param>
<param name="exclude">.github</param> <param name="exclude">.github</param>
<param name="exclude">.gitignore</param> <param name="exclude">.gitignore</param>

20
fix-cflags.patch Normal file
View File

@ -0,0 +1,20 @@
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 9cdafb2..211684c 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -1548,15 +1548,6 @@ config("default_warnings") {
cflags += [ "-Wno-unqualified-std-cast-call" ]
}
- if (!is_nacl && !(is_chromeos ||
- default_toolchain == "//build/toolchain/cros:target")) {
- # TODO(https://crbug.com/1316298): Re-enable once test failure is figured out
- cflags += [
- "-Xclang",
- "-no-opaque-pointers",
- ]
- }
-
if (is_fuchsia) {
# TODO(https://bugs.chromium.org/p/fuchsia/issues/detail?id=77383)
cflags += [ "-Wno-deprecated-copy" ]

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e6f267fbed8bd6964a4aee7d1d16204e2ee8ef500bb830172891bd81ccbca5fb
size 53220456

3
rusty_v8-0.44.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe0d93e1d183912e430170771545e459f2475e281f7288cd7b6c7f61a937e925
size 52174092

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Sat Jun 18 20:52:42 UTC 2022 - Avindra Goolcharan <avindra@opensuse.org>
- update to 0.44.1:
* CI changes
- includes 0.44.0:
* Rolling to V8 10.4.132.5 (#1002)
- includes 0.43.1:
* fix(v8): don't crash on Apple Silicon when mprotect() fails
expectedly (#982)
* Rolling to V8 10.3.174.6 (#984)
- includes 0.43.0:
* Set v8::Promise internal field count to 1 (#967)
* Upgrade V8 to 10.3.174.3 (#969)
* chore: upgrade Rust crates (#972)
* feat: Context slots (#937)
* feat: add ObjectTemplate::set_immutable_proto() (#977)
* chore: update README to reflect Python 3 requirement (#980)
* chore: clean up and remove redundant gn args (#981)
* chore: reduce size of distributed static library (#918)
* feat: add Context::get_extras_binding_object (#975)
* ShadowRealm integration callback (#959)
- add fix-cflags.patch to fix build
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 19 20:52:00 UTC 2022 - Avindra Goolcharan <avindra@opensuse.org> Thu May 19 20:52:00 UTC 2022 - Avindra Goolcharan <avindra@opensuse.org>

View File

@ -17,7 +17,7 @@
Name: rusty_v8 Name: rusty_v8
Version: 0.42.1 Version: 0.44.1
Release: 0 Release: 0
Summary: Build tooling for Deno (do not install or use!) Summary: Build tooling for Deno (do not install or use!)
License: MIT License: MIT
@ -25,6 +25,7 @@ Group: Productivity/Other
URL: https://github.com/denoland/rusty_v8 URL: https://github.com/denoland/rusty_v8
Source0: %{name}-%{version}.tar.xz Source0: %{name}-%{version}.tar.xz
Source1: vendor.tar.xz Source1: vendor.tar.xz
Patch0: fix-cflags.patch
BuildRequires: clang BuildRequires: clang
BuildRequires: gn BuildRequires: gn
BuildRequires: lld BuildRequires: lld
@ -32,7 +33,7 @@ BuildRequires: llvm
BuildRequires: ninja BuildRequires: ninja
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python BuildRequires: python
BuildRequires: python2-setuptools BuildRequires: python3-setuptools
BuildRequires: rust-packaging BuildRequires: rust-packaging
BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gmodule-2.0)
@ -48,7 +49,7 @@ cruft that is dragged along into the deno build from V8,
Chromium, etc. Chromium, etc.
%prep %prep
%autosetup -a1 %autosetup -a1 -p1
%define cargo_registry $(pwd)/vendor %define cargo_registry $(pwd)/vendor
%{cargo_prep} %{cargo_prep}

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:41454c9026910ec1e88bab212b72e2ca975bddaaccce6f732de406544865755c oid sha256:310033373174bcea47d5d9eb251995802891d202fde1bcb6785ceca553fae592
size 8665636 size 8690028