-
Notifications
You must be signed in to change notification settings - Fork 167
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
GN needs an update on some hosts #1881
Comments
How does one update GN? I don't see anything in our Ansible scripts for this. |
I don't know. On my machine it is done automatically when I execute gclient. |
/cc @nodejs/platform-ppc ? |
On Intel based machines GN is part of the v8 "depot_tools" and maintained by Google, this is not the case for ppc and s390 hence we build our own GN from source on daily basis for our internal builds. I will have a discussion with our team on how GN is maintained in Nodejs CI and if we need to export our binaries. |
I'm looking at this job for other reasons, I'll take a look at this. I think we hand-compile gn on the box, and stick it in a pre-determined place. I can probably update it. I'll look tomorrow. |
Anyone know how to get gn's version? The obvious candidates (-h, -v, -V, --version) don't work. |
@targos see above question, as well, what is the minimal version of gn required? Building gn requires clang++ (it seems, though maybe I can hack the ninja buildfiles to use gcc), and I am not sure clang++ exists for ppc. |
clang can be overridden by setting CC and CXX like this, (using gcc 6 in this example):
Also the version can be fetched using |
Maybe just a build problem? I assumed it was an unknown option, but maybe its an unknown version. Thanks for the hint, I switched to gcc 6 from devtoolset and gn is building. |
On test-osuosl-centos7-ppc64_le-1:
So, I can replace the existing gn with this one, but I'll need a plan to show its compatible, that it doesn't break any builds, and I'm not sure what builds use it. I'll do some poking around tomorrow. |
https://ci.nodejs.org/job/node-test-commit-v8-linux/2456/ I updated the gn version used, seems to work fine. @targos want to try what you were doing again? I pressed rebuild on https://ci.nodejs.org/job/node-test-commit-v8-linux/2440/, which kicked off https://ci.nodejs.org/job/node-test-commit-v8-linux/2457/, maybe that will re-do what you were trying. |
@nodejs/v8 @nodejs/v8-update What would it take to get |
I also asked gn-dev, I'm not sure who the right contacts are, hopefully someone will know. Maybe @ofrobots? https://groups.google.com/a/chromium.org/forum/#!topic/gn-dev/MPE7anXl5iQ |
Poking around, it appears @hashseed may know something about what is required. |
@sam-github thank you. Here's a new build that's looking good https://ci.nodejs.org/job/node-test-commit-v8-linux/2462/ |
OK, closing, open again if I misunderstand. |
The
node-test-commit-v8-linux
job doesn't work with V8 7.7 because BUILD.gn uses a function that doesn't exist in earlier versions of GN.GN should be updated on the following nodes:
Refs: https://ci.nodejs.org/job/node-test-commit-v8-linux/2440/
The text was updated successfully, but these errors were encountered: