Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

Add an MSVC builder and rename the old one as GNU, but do not gate. - #491

Merged
bors-servo merged 1 commit into
servo:masterfrom
larsbergstrom:add_windows_msvc
Dec 22, 2016
Merged

bors-servo merged 1 commit into
servo:masterfrom
larsbergstrom:add_windows_msvc

Conversation

@larsbergstrom

@larsbergstrom larsbergstrom commented Sep 27, 2016 •

Copy link
Copy Markdown
Contributor

This does a few things:

  1. Adds a servo-windows2 buildbot
  2. Adds a -msvc version of our build rules
  3. Renames the default windows build to -gnu

r? @aneeshusa or @edunham


This change is Reviewable

Comment thread buildbot/master/files/config/master.cfg Outdated
DynamicServoBuilder("windows-dev", WINDOWS_SLAVES, envs.build_windows),
DynamicServoBuilder("windows-nightly", WINDOWS_SLAVES, envs.build_windows),
DynamicServoBuilder("windows-dev-gnu", WINDOWS_SLAVES, envs.build_windows_gnu),
DynamicServoBuilder("windows-dev-msvc", WINDOWS_SLAVES, envs.build_windows_msvc),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our factories have extra logic for "windows-*" builders, and I don't think it would all apply to MSVC. You'll likely need to either change that logic or use a raw util.BuilderConfig with a different factory (similar to the doc builder).

@bors-servo

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #497) made this pull request unmergeable. Please resolve the merge conflicts.

@edunham

edunham commented Oct 10, 2016

Copy link
Copy Markdown
Contributor

Reviewable has not handled the rebasing and force pushing here gracefully at all. I've inspected the GitHub diffs, since they show latest commit vs master, and it looks like you've successfully addressed Aneesh's concerns about the windows.* logic in the factories. Assuming the path wizardry is correct, this looks good to me.


Reviewed 2 of 4 files at r2, 1 of 3 files at r3, 1 of 3 files at r4, 2 of 2 files at r5.
Review status: all files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.


buildbot/master/files/config/environments.py, line 74 at r2 (raw file):

        r'C:\Program Files\Amazon\cfn-bootstrap',
        r'C:\Program Files\Git\cmd',
        r'C:\Program Files (x86)\WiX Toolset v3.10\bin',

I'll take your word for it that these paths are correct; I haven't dug around in the Windows builders enough to recognize if they were wrong


Comments from Reviewable

@aneeshusa

Copy link
Copy Markdown
Contributor

In some places you've updated one implementation but not the other, please make sure they both match so we don't have strange regressions after #504.

@bors-servo

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #504) made this pull request unmergeable. Please resolve the merge conflicts.

@aneeshusa

Copy link
Copy Markdown
Contributor

Didn't see you had updated this, will review after my exam.

@larsbergstrom

Copy link
Copy Markdown
Contributor Author

No worries! I just did it and need to redo it (splitting it into servo/servo, too), as I just bitrotted it by landing your other fix, which I'd unfortunately not reviewed while I was out sick for most of the last week.

Possibly I can pre-land the "extra" builders into servo/servo first and if that doesn't break anything then I can land the salt/buildbot-side changes second without breaking things. And then a follow-up in servo/servo to remove the now-deprecated builders?

@aneeshusa

Copy link
Copy Markdown
Contributor

I'd like to get #504 deployed and working before we change the builder/steps list again, in case we need to do a rollback/revert/quickfix. But yes, that 3-step process sounds good.

@aneeshusa

Copy link
Copy Markdown
Contributor

Filed servo/servo#13838 to make it easier to change buildbot_steps.yml in the future without causing breakage.

@bors-servo

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #516) made this pull request unmergeable. Please resolve the merge conflicts.

@larsbergstrom

Copy link
Copy Markdown
Contributor Author

r? @edunham @aneeshusa

I think this'll do it for adding the new normal and nightly builders. Note that it can't be deployed until I land the corresponding servo-side changes to the steps.yml file (which I'm currently testing and should have up shortly).

@highfive highfive assigned edunham and unassigned aneeshusa Dec 20, 2016
def run(self):
self.is_windows = re.match('windows.*', self.builder_name) is not None
self.is_win_gnu = re.match('windows.*gnu', builder_name) is not None
self.is_win_msvc = re.match('windows.*msvc', builder_name) is not None

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self.is_win_msvc isn't used anywhere, so no need to add it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing.

@larsbergstrom

Copy link
Copy Markdown
Contributor Author

@bors-servo r=aneeshusa

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit aeed165 has been approved by aneeshusa

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit aeed165 with merge 20f2fae...

bors-servo pushed a commit that referenced this pull request Dec 22, 2016
Add an MSVC builder and rename the old one as GNU, but do not gate.

This does a few things:
1) Adds a `servo-windows2` buildbot
2) Adds a `-msvc` version of our build rules
3) Renames the default windows build to `-gnu`

r? @aneeshusa or @edunham

<!-- Reviewable:start -->

---

This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/491)

<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - status-travis

@larsbergstrom

Copy link
Copy Markdown
Contributor Author

@bors-servo r=aneeshusa

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 925a2c8 has been approved by aneeshusa

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 925a2c8 with merge 61cea80...

bors-servo pushed a commit that referenced this pull request Dec 22, 2016
Add an MSVC builder and rename the old one as GNU, but do not gate.

This does a few things:
1) Adds a `servo-windows2` buildbot
2) Adds a `-msvc` version of our build rules
3) Renames the default windows build to `-gnu`

r? @aneeshusa or @edunham

<!-- Reviewable:start -->

---

This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/491)

<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - status-travis

@bors-servo
bors-servo merged commit 925a2c8 into servo:master Dec 22, 2016
bors-servo pushed a commit that referenced this pull request Dec 22, 2016
Use correct Windows GNU builder name for Homu

Fixup for #491. r? @larsbergstrom

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/562)
<!-- Reviewable:end -->
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Feb 4, 2017
…m larsbergstrom:add_msvc); r=aneeshusa

r? @metajack @edunham

The idea here is that I'm adding `-gnu` and `-msvc` variants in advance of the buildbot changes (in servo/saltfs#491). Once those land and are pushed out to the buildbot master, it'll pick up these changed files and then we can remove the unsuffixed `windows-dev` and `windows-nightly`.

Source-Repo: https://github.com/servo/servo
Source-Revision: 25f32c4513a9d7c3514c4079eef35b1cc5c6b286
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 1, 2019
…m larsbergstrom:add_msvc); r=aneeshusa

r? metajack edunham

The idea here is that I'm adding `-gnu` and `-msvc` variants in advance of the buildbot changes (in servo/saltfs#491). Once those land and are pushed out to the buildbot master, it'll pick up these changed files and then we can remove the unsuffixed `windows-dev` and `windows-nightly`.

Source-Repo: https://github.com/servo/servo
Source-Revision: 25f32c4513a9d7c3514c4079eef35b1cc5c6b286

UltraBlame original commit: 2472b1347fe70eb7bbefe585032cb3d1be50aa67
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 1, 2019
…m larsbergstrom:add_msvc); r=aneeshusa

r? metajack edunham

The idea here is that I'm adding `-gnu` and `-msvc` variants in advance of the buildbot changes (in servo/saltfs#491). Once those land and are pushed out to the buildbot master, it'll pick up these changed files and then we can remove the unsuffixed `windows-dev` and `windows-nightly`.

Source-Repo: https://github.com/servo/servo
Source-Revision: 25f32c4513a9d7c3514c4079eef35b1cc5c6b286

UltraBlame original commit: 2472b1347fe70eb7bbefe585032cb3d1be50aa67
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 1, 2019
…m larsbergstrom:add_msvc); r=aneeshusa

r? metajack edunham

The idea here is that I'm adding `-gnu` and `-msvc` variants in advance of the buildbot changes (in servo/saltfs#491). Once those land and are pushed out to the buildbot master, it'll pick up these changed files and then we can remove the unsuffixed `windows-dev` and `windows-nightly`.

Source-Repo: https://github.com/servo/servo
Source-Revision: 25f32c4513a9d7c3514c4079eef35b1cc5c6b286

UltraBlame original commit: 2472b1347fe70eb7bbefe585032cb3d1be50aa67
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants