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
This commit is contained in:
commit
c9e0532915
12
_constraints
12
_constraints
@ -5,4 +5,16 @@
|
||||
<size unit="G">8</size>
|
||||
</physicalmemory>
|
||||
</hardware>
|
||||
<!-- Use a fast aarch64 host to avoid log idle timeout -->
|
||||
<overwrite>
|
||||
<conditions>
|
||||
<arch>aarch64</arch>
|
||||
</conditions>
|
||||
<hardware>
|
||||
<cpu>
|
||||
<flag>asimdrdm</flag>
|
||||
</cpu>
|
||||
<jobs>5</jobs>
|
||||
</hardware>
|
||||
</overwrite>
|
||||
</constraints>
|
||||
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 11 15:33:49 UTC 2024 - Soc Virnyl Estela <obs@uncomfyhalomacro.pl>
|
||||
|
||||
- Match gn build config for v8 from chromium
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 11 06:06:23 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Use a fast aarch64 host to avoid log idle timeout
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 4 05:58:29 UTC 2024 - Soc Virnyl Estela <obs@uncomfyhalomacro.pl>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user