-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build,tools: update make-v8.sh for ppc64le #24293
Conversation
V8 CI (with temporary config to use this file): |
ln -s /usr/bin/$CC "$BUILD_TOOLS/gcc" | ||
g++ --version | ||
export PKG_CONFIG_PATH=$BUILD_TOOLS/pkg-config-files | ||
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"' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It took me a while to figure out how V8 knows the endianness, since it's not specified on the command line.
I thought it checked compiler defines but no, it's defined in build/config/host_byteorder.gni and it basically assumes LE unless the host arch is one of a select few. ppc64 is not one of the select except when os=AIX.
(And yes, host arch, not target arch. It's not cross-compile ready.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Lite-CI (since it's only used by test-v8 anyway): https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/1615/ |
c8550fa
to
b5ecf2e
Compare
b5ecf2e
to
c8550fa
Compare
PR-URL: nodejs#24293 Fixes: nodejs/build#1536 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
c8550fa
to
3d4b281
Compare
PR-URL: #24293 Fixes: nodejs/build#1536 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
PR-URL: #24293 Fixes: nodejs/build#1536 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
PR-URL: #24293 Fixes: nodejs/build#1536 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
PR-URL: #24293 Fixes: nodejs/build#1536 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Follow up to #23839
Fixes: nodejs/build#1536
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes