Skip to content

Commit 8f9d305

Browse files
targosnodejs-ci
authored andcommitted
tools: enable backtrace when V8 is built for PPC and S390
Refs: #119
1 parent 8724768 commit 8f9d305

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/make-v8.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if [[ "$ARCH" == "s390x" ]]; then
2323
ln -s $CXX_PATH "$BUILD_TOOLS/gcc"
2424
g++ --version
2525
export PKG_CONFIG_PATH=$BUILD_TOOLS/pkg-config
26-
gn gen -v out.gn/$BUILD_ARCH_TYPE --args='is_component_build=false is_debug=false use_goma=false goma_dir="None" use_custom_libcxx=false v8_target_cpu="s390x" target_cpu="s390x"'
26+
gn gen -v out.gn/$BUILD_ARCH_TYPE --args='is_component_build=false is_debug=false use_goma=false goma_dir="None" use_custom_libcxx=false v8_target_cpu="s390x" target_cpu="s390x" v8_enable_backtrace=true'
2727
ninja -v -C out.gn/$BUILD_ARCH_TYPE d8 cctest inspector-test
2828
elif [[ "$ARCH" == "ppc64le" ]]; then
2929
if [[ X"$CXX" != X ]]; then
@@ -32,7 +32,7 @@ elif [[ "$ARCH" == "ppc64le" ]]; then
3232
fi
3333
g++ --version
3434
export PKG_CONFIG_PATH=$BUILD_TOOLS/pkg-config-files
35-
gn gen out.gn/$BUILD_ARCH_TYPE --args='is_component_build=false is_debug=false use_goma=false goma_dir="None" use_custom_libcxx=false v8_target_cpu="ppc64" target_cpu="ppc64"'
35+
gn gen out.gn/$BUILD_ARCH_TYPE --args='is_component_build=false is_debug=false use_goma=false goma_dir="None" use_custom_libcxx=false v8_target_cpu="ppc64" target_cpu="ppc64" v8_enable_backtrace=true'
3636
ninja -C out.gn/$BUILD_ARCH_TYPE d8 cctest inspector-test
3737
else
3838
PATH=~/_depot_tools:$PATH tools/dev/v8gen.py $BUILD_ARCH_TYPE --no-goma $V8_BUILD_OPTIONS

0 commit comments

Comments
 (0)