rusty_v8/deno-v8-arm.patch
Avindra Goolcharan 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

23 lines
833 B
Diff

--- ./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
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_arch == "arm" {
gn_args.push(r#"target_cpu="arm""#.to_string());
gn_args.push(r#"v8_target_cpu="arm""#.to_string());
- gn_args.push("use_sysroot=true".to_string());
- maybe_install_sysroot("i386");
- maybe_install_sysroot("arm");
+ gn_args.push("use_sysroot=false".to_string());
}
let target_triple = env::var("TARGET").unwrap();