8
0
forked from pool/rusty_v8
rusty_v8/compiler-rt-adjust-paths.patch

33 lines
1.2 KiB
Diff
Raw Permalink Normal View History

diff --git a/build/config/clang/BUILD.gn b/build/config/clang/BUILD.gn
Accepting request 1205518 from home:uncomfyhalomacro:branches:devel:languages:javascript 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/request/show/1205518 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
index fcca59b0f..fdf14f306 100644
--- a/build/config/clang/BUILD.gn
+++ b/build/config/clang/BUILD.gn
Accepting request 1205518 from home:uncomfyhalomacro:branches:devel:languages:javascript 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/request/show/1205518 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
@@ -192,12 +192,15 @@ template("clang_lib") {
} else if (is_linux || is_chromeos) {
if (current_cpu == "x64") {
_dir = "x86_64-unknown-linux-gnu"
+ _suffix = "-x86_64"
} else if (current_cpu == "x86") {
_dir = "i386-unknown-linux-gnu"
+ _suffix = "-i386"
} else if (current_cpu == "arm") {
_dir = "armv7-unknown-linux-gnueabihf"
} else if (current_cpu == "arm64") {
_dir = "aarch64-unknown-linux-gnu"
+ _suffix = "-aarch64"
} else {
assert(false) # Unhandled cpu type
}
Accepting request 1205518 from home:uncomfyhalomacro:branches:devel:languages:javascript 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/request/show/1205518 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
@@ -228,6 +231,11 @@ template("clang_lib") {
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" ]