v8 update arches
Signed-off-by: webbuilder_pel7ppc64lebuilder0 <webbuilder@powerel.org>master
parent
4591525cb2
commit
d05cea19f8
|
@ -84,7 +84,7 @@ Patch14: v8-6.7.17-fix-gcc-unwind-header.patch
|
|||
# error: '(9.223372036854775807e+18 / 1.0e+9)' is not a constant expression
|
||||
# aarch64 doesn't work either.
|
||||
# code does not compile on s390
|
||||
ExclusiveArch: %{ix86} x86_64 %{arm} ppc mipsel mips64el
|
||||
ExclusiveArch: %{ix86} x86_64 %{arm} ppc ppc64 ppc64le mipsel mips64el
|
||||
BuildRequires: readline-devel, libicu-devel, ninja-build
|
||||
BuildRequires: python2-devel, glib2-devel, libatomic
|
||||
# BuildRequires: clang, llvm
|
||||
|
@ -128,9 +128,9 @@ Python libraries from v8.
|
|||
%ifarch i686 armv7hl
|
||||
%patch9 -p1 -b .memexhaust
|
||||
%endif
|
||||
%if 0%{?fedora} <= 25
|
||||
%patch10 -p1 -b .oldflags
|
||||
%endif
|
||||
#%if 0%{?fedora} <= 25
|
||||
#%patch10 -p1 -b .oldflags
|
||||
#%endif
|
||||
|
||||
cp -a %{SOURCE2} third_party/icu/BUILD.gn
|
||||
|
||||
|
@ -215,6 +215,9 @@ sed -i 's|/usr/bin/env python|/usr/bin/env python2|g' ../depot_tools/gn.py
|
|||
%ifarch ppc64
|
||||
%global v8arch ppc64
|
||||
%endif
|
||||
%ifarch ppc64le
|
||||
%global v8arch ppc64
|
||||
%endif
|
||||
%ifarch s390
|
||||
%global v8arch s390
|
||||
%endif
|
||||
|
@ -225,7 +228,7 @@ sed -i 's|/usr/bin/env python|/usr/bin/env python2|g' ../depot_tools/gn.py
|
|||
# DO THE HARLEM SHAKE
|
||||
# err... I mean, build gn from source.
|
||||
pushd tools/gn
|
||||
./bootstrap/bootstrap.py -s
|
||||
./bootstrap/bootstrap.py -v
|
||||
popd
|
||||
rm -rf buildtools/linux64/gn*
|
||||
# the tooling thinks all linux is "linux64"
|
||||
|
@ -233,7 +236,7 @@ cp -a out/Release/gn buildtools/linux64/gn
|
|||
|
||||
# Replace ninja in depot_tools
|
||||
rm -rf ../depot_tools/ninja
|
||||
ln -s /usr/bin/ninja ../depot_tools/ninja
|
||||
ln -s /usr/bin/ninja-build ../depot_tools/ninja
|
||||
|
||||
V8_GN_DEFINES=""
|
||||
V8_GN_DEFINES+=' use_sysroot=false use_gold=false enable_nacl=false linux_use_bundled_binutils=false is_component_build=true clang_use_chrome_plugins=false'
|
||||
|
|
Loading…
Reference in New Issue