diff --git a/_constraints b/_constraints index 058f4f7..30187d5 100644 --- a/_constraints +++ b/_constraints @@ -5,4 +5,16 @@ 8 + + + + aarch64 + + + + asimdrdm + + 5 + + diff --git a/rusty_v8.changes b/rusty_v8.changes index 6f2df5b..f4cdf3a 100644 --- a/rusty_v8.changes +++ b/rusty_v8.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Oct 11 15:33:49 UTC 2024 - Soc Virnyl Estela + +- Match gn build config for v8 from chromium + +------------------------------------------------------------------- +Fri Oct 11 06:06:23 UTC 2024 - Guillaume GARDET + +- Use a fast aarch64 host to avoid log idle timeout + ------------------------------------------------------------------- Fri Oct 4 05:58:29 UTC 2024 - Soc Virnyl Estela diff --git a/rusty_v8.spec b/rusty_v8.spec index 879c080..470d0b4 100644 --- a/rusty_v8.spec +++ b/rusty_v8.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %global __requires_exclude_from ^%{_libdir}/crates/rusty_v8/.*$ Name: rusty_v8 @@ -30,18 +31,17 @@ 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 -BuildRequires: cargo-packaging BuildRequires: cargo -BuildRequires: sccache +BuildRequires: cargo-packaging BuildRequires: clang -BuildRequires: lld -BuildRequires: zstd -BuildRequires: gn -BuildRequires: llvm BuildRequires: fdupes +BuildRequires: gn +BuildRequires: lld +BuildRequires: llvm BuildRequires: ninja BuildRequires: pkgconfig BuildRequires: python3-base +BuildRequires: zstd BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gobject-2.0) @@ -54,7 +54,6 @@ ExclusiveArch: %{rust_tier1_arches} BuildRequires: gcc-c++ %endif - %description V8 build tooling for Deno. This represents all of the common cruft that is dragged along into the deno build from V8, @@ -72,12 +71,12 @@ sed -i 's|lib/clang|lib64/clang|g' build/config/clang/BUILD.gn %build # 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/') -# See https://github.com/denoland/rusty_v8/#build-v8-from-source export V8_FROM_SOURCE=1 export CLANG_BASE_PATH=%{_prefix} -export GN_ARGS="clang_version=${CLANG_VERSION} use_lld=true" 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 CFLAGS="%{optflags} -Wno-unknown-warning-option" export CXXFLAGS="%{optflags} -Wno-unknown-warning-option" export RUST_BACKTRACE=full