Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 890a4b5

Browse files
committed
Update V8 to 6.1.534.31
1 parent 56c89d3 commit 890a4b5

File tree

1 file changed

+6
-12
lines changed
  • support/build/libraries

1 file changed

+6
-12
lines changed

‎support/build/libraries/v8

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/bin/bash
22
# Build Path: /app/.heroku/php/
3-
# Build Deps: utils/chrpath
43

54
OUT_PREFIX=1ドル
65

@@ -9,7 +8,7 @@ set -o pipefail
98
# fail harder
109
set -eux
1110

12-
DEFAULT_VERSION="5.5.372.29"
11+
DEFAULT_VERSION="6.1.534.31"
1312
dep_version=${VERSION:-$DEFAULT_VERSION}
1413
dep_dirname=v8
1514

@@ -23,21 +22,16 @@ pushd ${dep_dirname}
2322
git checkout ${dep_version}
2423
gclient sync
2524

26-
export GYPFLAGS="-Dv8_use_external_startup_data=0"
27-
export GYPFLAGS="${GYPFLAGS} -Dlinux_use_bundled_gold=0"
25+
tools/dev/v8gen.py -vv x64.release -- is_component_build=true
2826

29-
make native library=shared snapshot=on -j8
27+
ninja -C out.gn/x64.release/
3028

31-
# fix RPATH on libv8.so to not have lib.target/ in it
32-
/app/.heroku/php/bin/chrpath -r '$ORIGIN' out/native/lib.target/libv8.so
33-
34-
# chrpath was a build dep, and it's in $OUT_PREFIX. nuke that first
35-
rm -rf ${OUT_PREFIX}/*
3629

3730
mkdir -p ${OUT_PREFIX}/lib ${OUT_PREFIX}/include
38-
cp out/native/lib.target/lib*.so ${OUT_PREFIX}/lib/
31+
cp out.gn/x64.release/lib*.so ${OUT_PREFIX}/lib/
32+
cp out.gn/x64.release/*_blob.bin ${OUT_PREFIX}/lib/
33+
cp out.gn/x64.release/icudtl.dat ${OUT_PREFIX}/lib/
3934
cp -R include/* ${OUT_PREFIX}/include/
40-
echo -e "create ${OUT_PREFIX}/lib/libv8_libplatform.a\naddlib out/native/obj.target/src/libv8_libplatform.a\nsave\nend" | ar -M
4135
popd
4236

4337
echo "-----> Done."

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /