Skip to content

CI-Change: tweaks to make-v8 test script #1536

@refack

Description

@refack

https://ci.nodejs.org/job/node-test-commit-v8-linux/jobConfigHistory/showDiffFiles?timestamp1=2018-09-11_18-19-03&timestamp2=2018-10-16_17-24-50
I've replaced the call to patch tools/make-v8, to simply overwrite it with the one in $HOME/build-tools/make-v8.patch:

-git apply $HOME/build-tools/make-v8.patch
+cp -f $HOME/build-tools/make-v8.patch tools/make-v8.sh

make-v8.patch is now a full and valid bash script:

#!/bin/bash -xe

BUILD_ARCH_TYPE=$1
V8_BUILD_OPTIONS=$2

cd deps/v8
tools/node/fetch_deps.py .

# set paths manually for now to use locally installed gn
export BUILD_TOOLS=/home/iojs/build-tools
export LD_LIBRARY_PATH=$BUILD_TOOLS:$LD_LIBRARY_PATH
export PATH=$BUILD_TOOLS:$PATH
CXX_PATH=`which $CXX |grep g++`
rm -f "$BUILD_TOOLS/g++"
rm -f "$BUILD_TOOLS/gcc"
ln -s $CXX_PATH "$BUILD_TOOLS/g++"
ln -s $CXX_PATH "$BUILD_TOOLS/gcc"
g++ --version
export PKG_CONFIG_PATH=$BUILD_TOOLS/pkg-config
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"'
ninja -v -C out.gn/$BUILD_ARCH_TYPE d8 cctest inspector-test

(added -xe to the shebang, and -v to the calls to gn and ninja)

Test job: https://ci.nodejs.org/job/node-test-commit-v8-linux/1767/nodes=rhel72-s390x,v8test=v8test/console
/CC @nodejs/v8-update @nodejs/platform-s390

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions