File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 51
51
# Store extra tools somewhere undisturbing
52
52
cd "$(mktemp -d)"
53
53
54
+ ARCH=$(uname -m)
54
55
fetch v8
55
56
cd v8
56
57
@@ -59,17 +60,17 @@ jobs:
59
60
60
61
# Setup GN
61
62
# Warnings are no errors - @see https://issues.chromium.org/issues/42203398#comment9
62
- tools/dev/v8gen.py -vv x64 .release -- is_component_build=true use_custom_libcxx=false treat_warnings_as_errors=false
63
+ tools/dev/v8gen.py -vv ${ARCH} .release -- is_component_build=true use_custom_libcxx=false treat_warnings_as_errors=false
63
64
64
65
# Build
65
- ninja -C out.gn/x64 .release/
66
+ ninja -C out.gn/${ARCH} .release/
66
67
67
68
if [[ "${{ runner.os }}" == "macOS" ]]; then
68
69
LIB_EXT=dylib
69
70
else
70
71
LIB_EXT=so
71
72
fi
72
- cp out.gn/x64 .release/lib*.${LIB_EXT} out.gn/x64 .release/*_blob.bin out.gn/x64 .release/icudtl.dat /opt/v8/self-built/lib/
73
+ cp out.gn/${ARCH} .release/lib*.${LIB_EXT} out.gn/${ARCH} .release/*_blob.bin out.gn/${ARCH} .release/icudtl.dat /opt/v8/self-built/lib/
73
74
cp -R include/* /opt/v8/self-built/include/
74
75
75
76
# Go back to origin
You can’t perform that action at this time.
0 commit comments