SHA256
1
0

169 Commits

Author SHA256 Message Date
Soc Virnyl Estela
f4086f728a remove generated directory called false
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-19 09:21:21 +08:00
Soc Virnyl Estela
22f04724d8 further cleanup
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-19 08:42:24 +08:00
Soc Virnyl Estela
3cea62d34c not needed
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-17 19:35:27 +08:00
Soc Virnyl Estela
06da513d44 update constraints
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-17 19:28:12 +08:00
Soc Virnyl Estela
07d67914b3 remove unknown GN arg
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-17 17:00:03 +08:00
Soc Virnyl Estela
3546ade5f3 remove symlinking
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-17 15:21:13 +08:00
Soc Virnyl Estela
fb950633c6 cleanup for 145.0.0
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-17 15:17:31 +08:00
Soc Virnyl Estela
bb134fd289 copy _constraints from chromium
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-17 09:07:16 +08:00
Soc Virnyl Estela
e4d5e0a507 remove use_lld since we are using RUSTFLAGS here as a macro that switches between lld or mold
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-16 23:08:50 +08:00
Soc Virnyl Estela
e2f7dd2371 fix. use ld.lld instead of lld
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-16 21:56:02 +08:00
Soc Virnyl Estela
67f499149c fix unclosed if macro
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-16 21:49:35 +08:00
Soc Virnyl Estela
3a0f8d56f2 try mold and set the rustbuildflags as a macro
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-16 21:43:02 +08:00
Soc Virnyl Estela
c4acea9d32 test new cargo and rust env vars to limit oom
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-16 21:33:12 +08:00
Soc Virnyl Estela
58b14bd658 use_system_zlib -> system_zlib
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-16 19:39:42 +08:00
Soc Virnyl Estela
22c9bedba6 update constraints
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-16 13:41:11 +08:00
Soc Virnyl Estela
8af3ca4421 even bindgen needs to be symlinked
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-16 02:13:11 +08:00
Soc Virnyl Estela
1629623eb3 do this on build section
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-16 01:38:10 +08:00
Soc Virnyl Estela
f6ecdfae52 enable nightly features with export RUSTC_BOOTSTRAP=1
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-16 01:35:56 +08:00
Soc Virnyl Estela
ddf9c3b1ea force symlink
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-16 01:31:38 +08:00
Soc Virnyl Estela
e95b80c469 Symlink host toolchain if aarch64
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-16 01:28:51 +08:00
Soc Virnyl Estela
af2b3c3161 now it's the option to use system libffi missing in aarch64
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-16 01:13:43 +08:00
Soc Virnyl Estela
45d0852c56 adjust missing zlib usage option
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-16 01:08:58 +08:00
Soc Virnyl Estela
1fac9647b4 export AR and NM
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-16 01:02:21 +08:00
Soc Virnyl Estela
28724e89bc add back ./chromium-rust-toolchain.tar.xz
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-16 00:57:36 +08:00
Soc Virnyl Estela
2c8f0b0ffd experiment if we can use binutils and host
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-16 00:51:23 +08:00
Soc Virnyl Estela
08ae8463f5 update gn_args
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-16 00:39:57 +08:00
Soc Virnyl Estela
35b1b7e051 remove rust src as build requirement
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-16 00:06:43 +08:00
Soc Virnyl Estela
830a205b18 Remove gcc switch. Set clang minver to 19. Ensure we use the LLVM toolchain and not GCC for the C compiler. Only pp64 requires gcc-c++
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-15 23:59:59 +08:00
Soc Virnyl Estela
ff96defee8 fix and update .changes
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-15 09:24:23 +08:00
Soc Virnyl Estela
be037b133c update .changes file to match with new version
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-15 08:39:17 +08:00
Soc Virnyl Estela
45cb939ec4 cleanup and fix rpmlintrc issues by ignoring some errors
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 22:57:28 +08:00
Soc Virnyl Estela
7b8e2719d9 remove custom toolchain after building
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 21:15:19 +08:00
Soc Virnyl Estela
893d8a37c0 try to use the chromium rust toolchain
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 18:55:58 +08:00
Soc Virnyl Estela
70615c314c remove enable_ncl
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 18:02:24 +08:00
Soc Virnyl Estela
16fa9ad89f Revert "try setting build_with_chromium=false"
This reverts commit 3fdb9a2259.
2026-02-14 17:56:18 +08:00
Soc Virnyl Estela
3fdb9a2259 try setting build_with_chromium=false
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 17:34:02 +08:00
Soc Virnyl Estela
caf6e16dce symlink rustlib
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 17:30:26 +08:00
Soc Virnyl Estela
5e11cd663f attempt fix again
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 17:23:30 +08:00
Soc Virnyl Estela
366a518cff attempt fix again
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 17:09:52 +08:00
Soc Virnyl Estela
9da8e895c3 rust -> rustc
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 16:49:07 +08:00
Soc Virnyl Estela
f18bdc576a update args
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 16:45:22 +08:00
Soc Virnyl Estela
59ca5517d4 add extra gn args
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 16:30:03 +08:00
Soc Virnyl Estela
31efdc1fa5 add space
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 16:23:44 +08:00
Soc Virnyl Estela
b8cd91189a adjust gn args
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 16:14:19 +08:00
Soc Virnyl Estela
23bc57cc96 adjust gn args
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 16:09:15 +08:00
Soc Virnyl Estela
e1be617583 cut the version only
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 16:06:04 +08:00
Soc Virnyl Estela
ce9e291599 apply rust.gni custom config to point to system toolchain
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 16:01:19 +08:00
Soc Virnyl Estela
066e3cc08a install rust-bindgen
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 15:37:56 +08:00
Soc Virnyl Estela
dfc60d5015 create a dummy "downloaded" directory for the toolchain with a VERSION called "system"
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 15:19:41 +08:00
Soc Virnyl Estela
8f66c5e934 disable downloading of rust-toolchain
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 15:14:38 +08:00
Soc Virnyl Estela
2b8299a06e maybe use llvm21
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 14:59:02 +08:00
Soc Virnyl Estela
0105e5eada include development package for clang20 and llvm20
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 14:51:14 +08:00
Soc Virnyl Estela
ff050dfd39 bump rusty_v8 version to 145.0.0
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 14:19:58 +08:00
Soc Virnyl Estela
3a7c9f4f57 remove -n flag option
name-version is without the `v` prefix now

Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-07-18 10:14:44 +08:00
Soc Virnyl Estela
40cef46fa3 fix filename and version in _service
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-07-18 08:47:49 +08:00
Soc Virnyl Estela
9f68202310 bump to version 137.2.1
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-07-18 07:21:52 +08:00
Soc Virnyl Estela
e0ad1b3909 fix: replace single quote to double quote in compiler-rt-adjust-paths.patch
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-06-26 14:52:27 +08:00
f7a036249b Merge pull request 'patch: update compiler-rt-adjust-paths.patch' (#2) from mine into factory
Reviewed-on: uncomfyhalomacro/rusty_v8#2
2025-06-26 08:50:37 +02:00
Soc Virnyl Estela
27e652c4a2 patch: update compiler-rt-adjust-paths.patch
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-06-26 14:48:26 +08:00
90956279f8 Merge pull request 'devel' (#1) from devel into factory
Reviewed-on: uncomfyhalomacro/rusty_v8#1
2025-05-22 05:28:21 +02:00
Soc Virnyl Estela
cbe84ebd57 changelog: reflect version update in rusty_v8.changes
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-05-22 09:32:35 +08:00
Soc Virnyl Estela
926b0eaea5 spec: update source names
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-05-22 09:30:50 +08:00
Soc Virnyl Estela
1dde110107 dependencies: update vendored dependencies
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-05-22 09:30:35 +08:00
Soc Virnyl Estela
ee4b4609c7 service: update service file to experimental roast_scm feature of obs-service-cargo
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-05-22 09:29:54 +08:00
3fca3a4200 134.4.0 -> 135.1.0 2025-04-06 20:57:49 -04:00
4615815775 Accepting request 1247549 from devel:languages:javascript
- Update to version 134.4.0:
  * No changelog provided.

OBS-URL: https://build.opensuse.org/request/show/1247549
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rusty_v8?expand=0&rev=6
2025-02-21 20:36:50 +00:00
9edb5f10ac Accepting request 1237993 from devel:languages:javascript
- Update to version 130.0.7:
  * fix: add back incorrectly spelled initalize_process

OBS-URL: https://build.opensuse.org/request/show/1237993
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rusty_v8?expand=0&rev=5
2025-01-15 16:44:41 +00:00
Soc Virnyl Estela
bde51381e5 OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=103 2025-01-15 04:21:05 +00:00
Soc Virnyl Estela
82849ec0c0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=102 2025-01-15 02:20:16 +00:00
Soc Virnyl Estela
9196df0433 - Update to version 130.0.7:
* fix: add back incorrectly spelled initalize_process

OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=100
2025-01-15 02:19:19 +00:00
9e60549f62 Accepting request 1225589 from devel:languages:javascript
- Update to version 130.0.1:
  * fix: glibc version
  * feat: add binding for `ResourceConstraints::ConfigureDefaults`
  * Track V8 13.1
  * Rolling to V8 13.0.245.12
  * Update bindgen to fix builds with LLVM 19.1
  * Stabilize: Release version 129.0.0 of Rusty V8
  * feat: add TransferSharedArrayBuffer
  * Track V8 13.0
  * Rolling to V8 12.9.202.18
  * Rolling to V8 12.9.202.17
  * fix cppgc docs
  * Rolling to V8 12.9.202.16
  * Rolling to V8 12.9.202.15
  * Rolling to V8 12.9.202.14
- Remove unnecessary files
- Set clang to clang19, lld to lld19 and llvm to llvm19
- Update rusty_v8.spec file list.
  * Recomprizz/Roast ignores git metadata by default.
- Update vendored dependencies.
- Revert previous change. Go back to git sources. Published sources in crates.io
  does not contain the necessary directories.
- Change sources from git to crates.io
  * there has been a recent change on how deno publishes the v8 crate.
    investigated the vendored dep shows that it has a slightly different set
    of directories.

OBS-URL: https://build.opensuse.org/request/show/1225589
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rusty_v8?expand=0&rev=4
2024-11-21 20:58:57 +00:00
Soc Virnyl Estela
556ff92f04 - Update to version 130.0.1:
* fix: glibc version
  * feat: add binding for `ResourceConstraints::ConfigureDefaults`
  * Track V8 13.1
  * Rolling to V8 13.0.245.12
  * Update bindgen to fix builds with LLVM 19.1
  * Stabilize: Release version 129.0.0 of Rusty V8
  * feat: add TransferSharedArrayBuffer
  * Track V8 13.0
  * Rolling to V8 12.9.202.18
  * Rolling to V8 12.9.202.17
  * fix cppgc docs
  * Rolling to V8 12.9.202.16
  * Rolling to V8 12.9.202.15
  * Rolling to V8 12.9.202.14

OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=98
2024-11-21 11:56:52 +00:00
Soc Virnyl Estela
12a1a73f1e - Remove unnecessary files
- Set clang to clang19, lld to lld19 and llvm to llvm19

OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=97
2024-11-15 11:15:55 +00:00
Soc Virnyl Estela
bc9694d3a0 - Update rusty_v8.spec file list.
* Recomprizz/Roast ignores git metadata by default.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=96
2024-11-12 14:54:16 +00:00
Soc Virnyl Estela
eca21bdd9a - Update vendored dependencies.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=95
2024-11-12 08:15:39 +00:00
Soc Virnyl Estela
3e11953227 OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=94 2024-11-12 03:26:28 +00:00
Soc Virnyl Estela
2e333a045e OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=93 2024-11-12 03:10:09 +00:00
Soc Virnyl Estela
1afcbe85ff OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=92 2024-11-12 03:09:44 +00:00
Soc Virnyl Estela
b99a556da0 - Change sources from git to crates.io
* there has been a recent change on how deno publishes the v8 crate.
    investigated the vendored dep shows that it has a slightly different set
    of directories.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=91
2024-11-10 09:10:56 +00:00
6e845f600d Accepting request 1219458 from devel:languages:javascript
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1219458
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rusty_v8?expand=0&rev=3
2024-10-30 18:25:54 +00:00
Soc Virnyl Estela
51ea9d2efe - tar_scm is deprecated. Replace with obs_scm in _service file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=89
2024-10-12 23:20:06 +00:00
c9e0532915 Accepting request 1207352 from devel:languages:javascript
- Match gn build config for v8 from chromium
- Use a fast aarch64 host to avoid log idle timeout

OBS-URL: https://build.opensuse.org/request/show/1207352
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rusty_v8?expand=0&rev=2
2024-10-12 11:30:08 +00:00
Soc Virnyl Estela
fdf4779d80 OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=87 2024-10-11 20:40:58 +00:00
Soc Virnyl Estela
fe80d3be2f OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=86 2024-10-11 16:26:07 +00:00
Soc Virnyl Estela
111138ff07 - Match gn build config for v8 from chromium
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=85
2024-10-11 15:34:17 +00:00
Soc Virnyl Estela
ba1b2d0f8c - Use a fast aarch64 host to avoid log idle timeout
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=84
2024-10-11 15:32:04 +00:00
4a6d0b5f33 Accepting request 1205620 from devel:languages:javascript
I want this package added to openSUSE:Factory. This package is required to build deno and is not intended for an actual installation but part of deno's build deps. It's packaged for the purpose of testing patches to make it work in openSUSE

OBS-URL: https://build.opensuse.org/request/show/1205620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rusty_v8?expand=0&rev=1
2024-10-07 19:49:06 +00:00
Soc Virnyl Estela
13088f4412 - Add ./rusty_v8-rpmlintrc to one of the sources
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=82
2024-10-04 05:59:05 +00:00
9ce440f193 Please downgrade! It seems deno 2.0 rc uses 0.106.0.
I also changed a bit of the specfile so we can reuse this patched version. See https://build.opensuse.org/package/show/home:uncomfyhalomacro:branches:devel:languages:javascript/deno

- update to version 0.106.0 -> NOTICE: this version will become 129.0.0 in the future
  * feat: cppgc NameProvider
  * re-add deprecated cppgc api
  * Rolling to V8 12.9.202.13
  * Rolling to V8 12.9.202.12
  * feat: add Module::is_graph_async
  * download ninja/gn from cipd
  * Rolling to V8 12.9.202.11
  * Update to v0.105.1
  * Rolling to V8 12.9.202.9
  * Rolling to V8 12.9.202.8
  * Rolling to V8 12.9.202.7
  * fix: Check for null pointer returned by `ValueSerializer::Release`
  * Allow `ValueSerializerImpl` and `ValueDeserializerImpl` impls to be re-entrant
  * remove unused submodule
  * disable pointer compression
  * Backport ESM TLA fixes
  * Rolling to V8 12.9.202.5
  * feat: add InspectorClient::ensureDefaultContextInGroup
  * chore: respect explicitly set RUSTY_V8_SRC_BINDING_PATH
  * Disable relative vtable on Android
  * Rolling to V8 12.9.202.4
- Add ./rusty_v8-rpmlintrc. This is not C
- Make deno use this as a crate path by updating deno's Cargo.toml
- GN is looking for clang at lib and not lib64. 
  * Use sed to change lib -> lib64
- update _service file
- remove vendor.tar.xz
- use a new vendor tarball vendor.tar.zst
- remove cargo_config

OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=81
2024-10-03 19:08:08 +00:00
94bb8d453e regen
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=80
2024-09-29 21:17:12 +00:00
17c3b64ae8 129.0.0 (wip)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=79
2024-09-29 20:59:26 +00:00
d7cec707bb 0.98.0 (same 0.97.0 vendor tarball)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=78
2024-07-12 02:28:25 +00:00
5252ed2def 0.97.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=77
2024-07-10 23:18:48 +00:00
38a6d09fb9 0.96.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=76
2024-07-06 03:19:29 +00:00
3218cfdc70 declare patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=75
2024-06-28 02:41:03 +00:00
e28ca446e3 0.95.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=74
2024-06-28 01:59:07 +00:00
e48db7809c 0.94.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=73
2024-06-18 18:30:41 +00:00
b213bff578 0.93.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=72
2024-06-09 19:57:18 +00:00
79ed9efff3 0.92.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=71
2024-05-28 22:06:00 +00:00
2edac579e1 0.89.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=70
2024-03-28 21:58:27 +00:00
c7bcbefda1 0.84.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=69
2024-02-22 20:58:04 +00:00
4cbfdb67bf 0.83.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=68
2024-02-15 19:15:52 +00:00
85bb9794ad 0.83.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=67
2024-02-09 04:26:36 +00:00
de230c0b94 0.81.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=66
2023-11-02 21:09:11 +00:00
a822d5c510 0.79.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=65
2023-10-14 21:10:31 +00:00
f6525cde6c 0.78.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=64
2023-09-27 21:33:08 +00:00
4b1e86d34a 0.76.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=63
2023-09-19 22:15:24 +00:00
c3d05d9df7 vendor: repackage windows/winapi
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=62
2023-08-25 20:19:13 +00:00
bd270520de 0.75.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=61
2023-08-25 20:04:59 +00:00
8949a3fe2d 0.75.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=60
2023-08-10 19:14:31 +00:00
5134ef4710 rust-packaging -> cargo-packaging
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=59
2023-08-08 00:32:18 +00:00
7f0e3610b6 86fddc2fc8c87be36561ad6cbd60900b9a1abe09
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=58
2023-07-28 22:35:34 +00:00
bae9c0ec85 0.74.3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=57
2023-07-23 18:06:44 +00:00
c4cdc39247 missed tarball
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=56
2023-07-13 03:36:22 +00:00
96935873eb 0.74.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=55
2023-07-13 03:15:22 +00:00
866cc014f7 0.74.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=54
2023-07-05 04:52:04 +00:00
30cb971be1 missed tarball
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=53
2023-06-29 18:28:09 +00:00
724984d525 0.74.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=52
2023-06-29 18:22:37 +00:00
724a8a6e8e 0.73.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=51
2023-05-27 22:45:55 +00:00
8bd8300c06 0.72.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=50
2023-05-24 19:42:13 +00:00
aa37becccf 0.72.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=49
2023-05-18 20:19:18 +00:00
c4f17eb508 0.71.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=48
2023-05-12 17:07:19 +00:00
588b54b172 0.71.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=47
2023-04-29 00:28:14 +00:00
8bad9d681f 0.68.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=46
2023-04-01 17:57:37 +00:00
4f09040223 0.67.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=45
2023-03-29 20:41:36 +00:00
7a99fbd164 0.66.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=44
2023-03-23 01:38:42 +00:00
9838073d32 0.65.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=43
2023-03-17 23:39:58 +00:00
712ecf78fb 0.64.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=42
2023-03-11 17:57:45 +00:00
5952c48f08 bump Version:
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=41
2023-02-24 00:19:18 +00:00
ebcd1155de 0.63.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=40
2023-02-23 23:37:53 +00:00
3dc615ca32 0.55.0 -> 0.62.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=39
2023-02-07 19:36:17 +00:00
8e22b7e84b 0.55.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=38
2022-11-15 20:26:07 +00:00
f3811394cf 0.53.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=37
2022-10-17 20:24:50 +00:00
496a23ddcc 0.52.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=36
2022-10-08 23:07:50 +00:00
e8134ee027 0.51.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=35
2022-09-29 19:16:36 +00:00
7472673593 0.50.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=34
2022-09-19 22:51:39 +00:00
a7cfa18c11 0.49.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=33
2022-08-25 17:03:57 +00:00
7944be1d9f 0.48.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=32
2022-08-15 18:01:57 +00:00
9a1b7d81d2 0.44.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=31
2022-06-21 19:34:33 +00:00
4d4080689f 0.44.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=30
2022-06-19 00:05:25 +00:00
0b14e34f16 0.42.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=29
2022-05-19 21:51:25 +00:00
69ba44c49f librusty_v8 -> libv8
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=28
2022-04-22 00:08:59 +00:00
87cf5a468c missed .spec edit
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=27
2022-04-21 17:48:49 +00:00
06d7aa88cd 0.42.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=26
2022-04-21 17:07:06 +00:00
d49ed1e172 0.41.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=25
2022-04-20 00:10:45 +00:00
6fd788bd9d 0.40.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=24
2022-02-17 22:04:34 +00:00
adf6b10b78 0.38.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=23
2022-01-21 20:19:35 +00:00
916089dc4d 0.36.0 -> 0.37.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=22
2021-12-17 17:59:49 +00:00
5022112f04 0.35.0 -> 0.36.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=21
2021-12-04 02:23:45 +00:00
c44a926876 rm revendor_source.sh
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=20
2021-11-25 15:08:44 +00:00
0bbe062d2d 0.33.0 -> 0.35.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=19
2021-11-25 03:00:51 +00:00
b8af96326d 0.31.0 -> 0.33.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=18
2021-10-31 18:33:49 +00:00
acccc06d82 0.29.0 -> 0.31.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=17
2021-10-10 06:42:34 +00:00
ef38131daa 0.28.0 -> 0.29.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=16
2021-09-27 03:34:12 +00:00
e234f25a8d 0.26.0 -> 0.28.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=15
2021-09-18 01:44:40 +00:00
af619c938d 0.25.3 -> 0.26.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=14
2021-08-11 02:07:15 +00:00
2c3434c525 (v8 9.3) ff to rev b7abe60108e7d3ed4e26bb1dcbe7a2003c48d6f8
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=13
2021-07-21 21:01:00 +00:00
a7f12a4562 0.25.1 -> 0.25.3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=12
2021-07-13 18:52:03 +00:00
607e764ec8 0.22.3+ -> 0.25.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=11
2021-07-04 01:08:40 +00:00
782c2b0d1f latest main
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=10
2021-06-19 05:38:10 +00:00
1502014377 0.22.2 -> 0.22.3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=9
2021-06-09 05:15:35 +00:00
1175e16f45 0.22.1 -> 0.22.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=8
2021-05-12 20:05:06 +00:00
b9cd7b8e9f 0.21.0 -> 0.22.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=7
2021-04-13 21:11:58 +00:00
35e2c5c8bb 0.20.0 -> 0.21.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=6
2021-03-21 21:51:48 +00:00
558db41afa 0.19.0 -> 0.20.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=5
2021-02-25 22:53:57 +00:00
34bc121372 0.17.0 -> 0.19.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=4
2021-02-15 17:26:12 +00:00
4d286944eb 0.17.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=3
2021-02-07 19:30:25 +00:00
cad98079e7 checkin code after v8 9.0 merge
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=2
2021-02-04 02:43:38 +00:00
768de23fb4 +rusty_v8 (testing only package)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=1
2021-01-26 16:33:15 +00:00
14 changed files with 204 additions and 64 deletions

View File

@@ -1,20 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0"?>
<constraints>
<hardware>
<disk>
<size unit="G">30</size>
</disk>
<physicalmemory>
<size unit="G">8</size>
<size unit="G">18</size>
</physicalmemory>
</hardware>
<!-- Use a fast aarch64 host to avoid log idle timeout -->
<overwrite>
<conditions>
<arch>aarch64</arch>
</conditions>
<hardware>
<cpu>
<flag>asimdrdm</flag>
<flag>asimdrdm</flag>
</cpu>
<jobs>5</jobs>
</hardware>
<memory>
<size unit="G">11</size>
</memory>
</hardware>
</overwrite>
<overwrite>
<conditions>
<arch>ppc64le</arch>
</conditions>
<hardware>
<disk>
<size unit="G">50</size>
</disk>
</hardware>
</overwrite>
</constraints>

View File

@@ -1,22 +1,9 @@
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/denoland/rusty_v8</param>
<param name="scm">git</param>
<param name="revision">v134.4.0</param>
<param name="version">134.4.0</param>
<param name="exclude">.git</param>
<param name="exclude">.github</param>
<param name="exclude">.gitignore</param>
<param name="exclude">.prettierrc.json</param>
<param name="exclude">.rustfmt.toml</param>
</service>
<service mode="manual" name="tar" />
<service mode="manual" name="recomprizz">
<param name="target">rusty_v8*.tar</param>
<param name="compression">zst</param>
</service>
<service name="cargo_vendor" mode="manual">
<param name="src">rusty_v8</param>
<param name="src">https://github.com/denoland/rusty_v8</param>
<param name="revision">v145.0.0</param>
<param name="versionrewriteregex">^v?(.*)</param>
<param name="versionrewritepattern">$1</param>
<param name="compression">zst</param>
<param name="update">false</param>
</service>

BIN
chromium-rust-toolchain.tar.xz LFS Normal file

Binary file not shown.

View File

@@ -1,8 +1,7 @@
diff --git a/build/config/clang/BUILD.gn b/build/config/clang/BUILD.gn
index fcca59b0f..fdf14f306 100644
--- a/build/config/clang/BUILD.gn
+++ b/build/config/clang/BUILD.gn
@@ -192,12 +192,15 @@ template("clang_lib") {
diff -ruN rusty_v8-145.0.0.orig/build/config/clang/BUILD.gn rusty_v8-145.0.0/build/config/clang/BUILD.gn
--- rusty_v8-145.0.0.orig/build/config/clang/BUILD.gn 2026-02-14 14:15:37.957884922 +0800
+++ rusty_v8-145.0.0/build/config/clang/BUILD.gn 2026-02-14 14:18:05.583917665 +0800
@@ -180,12 +180,15 @@
} else if (is_linux || is_chromeos) {
if (current_cpu == "x64") {
_dir = "x86_64-unknown-linux-gnu"
@@ -15,18 +14,18 @@ index fcca59b0f..fdf14f306 100644
} else if (current_cpu == "arm64") {
_dir = "aarch64-unknown-linux-gnu"
+ _suffix = "-aarch64"
} else {
assert(false) # Unhandled cpu type
}
@@ -228,6 +231,11 @@ template("clang_lib") {
} else if (current_cpu == "loong64") {
_dir = "loongarch64-unknown-linux-gnu"
} else if (current_cpu == "riscv64") {
@@ -223,7 +226,10 @@
} else {
assert(false) # Unhandled target platform
}
+ # Bit of a hack to make this find builtins from compiler-rt >= 16
-
+
+ if (is_linux || is_chromeos) {
+ _dir = "linux"
+ }
+
_clang_lib_dir = "$clang_base_path/lib/clang/$clang_version/lib"
_lib_file = "${_prefix}clang_rt.${_libname}${_suffix}.${_ext}"
libs = [ "$_clang_lib_dir/$_dir/$_lib_file" ]

View File

@@ -1,13 +1,15 @@
--- ./build.rs.orig 2024-06-27 14:26:40.281226961 +0200
+++ ./build.rs 2024-06-27 14:28:10.388618455 +0200
@@ -200,16 +200,12 @@ fn build_v8(is_asan: bool) {
// cross-compilation setup
diff -ruN rusty_v8-145.0.0.orig/build.rs rusty_v8-145.0.0/build.rs
--- rusty_v8-145.0.0.orig/build.rs 2026-02-14 14:02:50.206480850 +0800
+++ rusty_v8-145.0.0/build.rs 2026-02-14 14:06:48.032243885 +0800
@@ -353,17 +353,13 @@
if target_arch == "aarch64" {
gn_args.push(r#"target_cpu="arm64""#.to_string());
- gn_args.push("use_sysroot=true".to_string());
- maybe_install_sysroot("arm64");
- maybe_install_sysroot("amd64");
+ gn_args.push("use_sysroot=false".to_string());
if target_os == "linux" {
- gn_args.push("use_sysroot=true".to_string());
- maybe_install_sysroot("arm64");
- maybe_install_sysroot("amd64");
+ gn_args.push("use_sysroot=false".to_string());
}
}
if target_arch == "arm" {
gn_args.push(r#"target_cpu="arm""#.to_string());
@@ -19,4 +21,3 @@
}
let target_triple = env::var("TARGET").unwrap();

View File

@@ -0,0 +1,25 @@
diff -ruN rusty_v8-145.0.0.orig/build.rs rusty_v8-145.0.0/build.rs
--- rusty_v8-145.0.0.orig/build.rs 2026-02-14 14:15:46.377977611 +0800
+++ rusty_v8-145.0.0/build.rs 2026-02-14 15:13:06.103012265 +0800
@@ -120,7 +120,7 @@
print_prebuilt_src_binding_path();
- download_static_lib_binaries();
+ // download_static_lib_binaries();
}
fn acquire_lock() -> LockFile {
@@ -248,10 +248,10 @@
}
if need_gn_ninja_download() {
- download_ninja_gn_binaries();
+ // download_ninja_gn_binaries();
}
- download_rust_toolchain();
+ // download_rust_toolchain();
// `#[cfg(...)]` attributes don't work as expected from build.rs -- they refer to the configuration
// of the host system which the build.rs script will be running on. In short, `cfg!(target_<os/arch>)`

View File

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

View File

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

BIN
rusty_v8-145.0.0.tar.zst LFS Normal file

Binary file not shown.

View File

@@ -1,4 +1,7 @@
# This is not C, dear
addFilter("E: backup-file-in-package")
addFilter("E: filelist-forbidden")
addFilter("W: hidden-file-or-dir")
addFilter("E: devel-file-in-non-devel-package")
addFilter("E: bin-sh-syntax-error")
addFilter("E: env-script-interpreter")

View File

@@ -1,3 +1,63 @@
-------------------------------------------------------------------
Thu Feb 19 01:20:50 UTC 2026 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Remove generated directory called "false"
-------------------------------------------------------------------
Tue Feb 17 11:27:38 UTC 2026 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Update _constraints. Set physical memory to 18GB
-------------------------------------------------------------------
Tue Feb 17 08:59:43 UTC 2026 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Remove unknown GN arg system_zlib
-------------------------------------------------------------------
Tue Feb 17 07:15:10 UTC 2026 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Cleanup specfile
- Copy _constraints from chromium
- Try with mold if tumbleweed
- Test with thin LTO and limit our debug info because it still OOMs
- update GN_ARGS
- Update _constraints. Set physical memory to 16GB
- It seems binutils is required if we want to use the host toolchain
- Remove rust-src as build requirement
-------------------------------------------------------------------
Sun Feb 15 15:59:49 UTC 2026 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Remove gcc switch. Set clang minver to 19. Ensure we use the LLVM toolchain
and not GCC for the C compiler. Only pp64 requires gcc-c++
-------------------------------------------------------------------
Sun Feb 15 00:38:48 UTC 2026 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Update to version 145.0.0
- Add disable-rust-toolchain-download.patch
- Add chromium-rust-toolchain.tar.xz. This was based from the python script
located at `tools/rust-toolchain.py`
-------------------------------------------------------------------
Thu Jul 17 23:21:08 UTC 2025 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Update to version 137.2.1:
* Rolling to V8 13.7.152.14 (#1797)
-------------------------------------------------------------------
Thu May 22 01:31:15 UTC 2025 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Update to version 137.1.0:
* No changelog provided
-------------------------------------------------------------------
Mon Apr 7 00:55:24 UTC 2025 - Avindra Goolcharan <avindra@opensuse.org>
- Update to version 135.1.0:
* Rolling to V8 13.4.114.11 (#1709)
* fix: backport explicit resource management fixes and release 134.5.0
-------------------------------------------------------------------
Thu Feb 20 07:39:11 UTC 2025 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>

View File

@@ -1,4 +0,0 @@
name: rusty_v8
version: 134.4.0
mtime: 1739469155
commit: 26da80769406a880849830c1053110b032dbc458

View File

@@ -16,10 +16,24 @@
#
%global _min_clang_version 19
%global __requires_exclude_from ^%{_libdir}/crates/rusty_v8/.*$
%if 0%{?suse_version} > 1600
%bcond_without mold
%else
%bcond_with mold
%endif
%if %{with mold}
%global build_rustflags "-C" "linker=clang++" "-C" "link-arg='-fuse-ld=/usr/bin/mold -Wl,-z,relro,-z,now,-zstack-size=8388608'" "-C" "debuginfo=2" "-C" "incremental=false" "-C" "strip=none" "-A" "warnings"
%else
%global build_rustflags "-C" "linker=clang++" "-C" "link-arg='-fuse-ld=/usr/bin/ld.lld -Wl,-z,relro,-z,now,-zstack-size=8388608'" "-C" "debuginfo=2" "-C" "incremental=false" "-C" "strip=none" "-A" "warnings"
%endif
Name: rusty_v8
Version: 134.4.0
Version: 145.0.0
Release: 0
Summary: Build tooling for Deno (do not install or use!)
License: MIT
@@ -27,20 +41,29 @@ 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
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
BuildRequires: cargo
BuildRequires: cargo-packaging
BuildRequires: clang19
BuildRequires: clang >= %{_min_clang_version}
BuildRequires: clang-devel >= %{_min_clang_version}
BuildRequires: llvm >= %{_min_clang_version}
BuildRequires: llvm-devel >= %{_min_clang_version}
BuildRequires: lld >= %{_min_clang_version}
%if 0%{?suse_version} > 1600
BuildRequires: mold
%endif
BuildRequires: binutils
BuildRequires: fdupes
BuildRequires: gn
BuildRequires: lld19
BuildRequires: llvm19
BuildRequires: ninja
BuildRequires: pkgconfig
BuildRequires: python3-base
BuildRequires: rust-bindgen
BuildRequires: zstd
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gmodule-2.0)
@@ -49,7 +72,7 @@ BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(icu-i18n)
# Rusty V8 does not guarantee builds for 32 bit and ppc
ExclusiveArch: %{rust_tier1_arches}
ExclusiveArch: x86_64 x86_64_v3
%ifarch ppc64 # wants g++ for some reason
BuildRequires: gcc-c++
%endif
@@ -67,19 +90,46 @@ Chromium, etc.
# lib to lib64
sed -i 's|lib/clang|lib64/clang|g' build/config/clang/BUILD.gn
%endif
mkdir -p third_party/rust-toolchain
tar xf %{SOURCE2} -C third_party/rust-toolchain
%build
%ifarch aarch64
export RUSTC_BOOTSTRAP=1
%endif
# Ensure that the clang version matches. This command came from Archlinux. Thanks.
export CLANG_VERSION=$(clang --version | grep -m1 version | sed 's/.* \([0-9]\+\).*/\1/')
export LIBCLANG_PATH=%{_libdir}
export V8_FROM_SOURCE=1
export CLANG_BASE_PATH=%{_prefix}
export CC=clang
export CXX=clang++
# https://www.chromium.org/developers/gn-build-configuration
export GN_ARGS="clang_version=${CLANG_VERSION} use_lld=true enable_nacl = false blink_symbol_level = 0 v8_symbol_level = 0"
export AR=ar NM=nm
export CFLAGS="%{optflags} -Wno-unknown-warning-option"
export CXXFLAGS="%{optflags} -Wno-unknown-warning-option"
export RUST_BACKTRACE=full
# https://www.chromium.org/developers/gn-build-configuration
export RUSTC_SYSROOT=$(rustc --print sysroot)
export RUSTC_VERSION=$(rustc -V | cut -d' ' -f2)
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
"
export EXTRA_GN_ARGS="use_custom_libcxx=false"
# Included limited debug info.
export CARGO_PROFILE_RELEASE_DEBUG=1
# Use "thin" instead of "fat" to speed up builds (it costs +4% binary size).
export CARGO_PROFILE_RELEASE_LTO="thin"
%{cargo_build}
%install
@@ -98,11 +148,16 @@ pushd %{buildroot}%{_libdir}/crates/rusty_v8
rm -rf .github
rm .prettierrc.json
rm .rustfmt.toml
rm -rf false
rm -rf vendor
rm -rf target
rm -rf third_party/rust-toolchain
%fdupes $PWD
popd
# Remove Windows-specific vendored libs that break readelf/rpmlint
find %{buildroot}%{_libdir}/crates/rusty_v8/third_party -name "windows_*" -type d -exec rm -rf {} +
%files
%license LICENSE
%doc README.md

BIN
vendor.tar.zst LFS

Binary file not shown.