-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Update mozangle, cc, and cmake #29947
Conversation
Going to try this update again and see what we can do to get it landed. |
9603566
to
c2d2d01
Compare
b22b61c
to
804338e
Compare
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.
Oof, good find on the difference between unit tests and normal builds.
@bors-servo r+ |
📌 Commit 804338e has been approved by |
Update mozangle, cc, and cmake This also moves some environment variable configuration to the shared `build_env()` method, because previously clang was only being chosen for running `./mach build` and not `./mach test-unit` which was leading to rebuilds and thus build failures when running `test-unit`. I guess the cmake crate does not expect the compiler to change between subsequent runs. Fixes #29674 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because they do not change behavior. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Test results for linux-wpt-layout-2020 from try job (#5418742780): |
Test results for linux-wpt-layout-2013 from try job (#5418742780): Flaky unexpected result (11)
Stable unexpected results that are known to be intermittent (10)
|
💔 Test failed - checks-github |
@bors-servo retry |
Update mozangle, cc, and cmake This also moves some environment variable configuration to the shared `build_env()` method, because previously clang was only being chosen for running `./mach build` and not `./mach test-unit` which was leading to rebuilds and thus build failures when running `test-unit`. I guess the cmake crate does not expect the compiler to change between subsequent runs. Fixes #29674 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because they do not change behavior. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Test results for linux-wpt-layout-2020 from try job (#5419201941): Flaky unexpected result (2) |
Test results for linux-wpt-layout-2013 from try job (#5419201941): Flaky unexpected result (20)
Stable unexpected results that are known to be intermittent (13)
|
💔 Test failed - checks-github |
python/servo/command_base.py
Outdated
if "msvc" in servo.platform.host_triple(): | ||
# on MSVC, we need some DLLs in the path. They were copied | ||
# in to the servo.exe build dir, so just point PATH to that. | ||
util.prepend_paths_to_env(env, "PATH", path.dirname(self.get_binary_path(False, False))) | ||
|
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.
This one is actually dirty hack for unit-tests, which I would like to remove so unit-tests could run independently of ./mach build
. See #29815 (comment)
This also moves some environment variable configuration to the shared `build_env()` method, because previously clang was only being chosen for running `./mach build` and not `./mach test-unit` which was leading to rebuilds and thus build failures when running `test-unit`. I guess the cmake crate does not expect the compiler to change between subsequent runs.
804338e
to
ddc7994
Compare
@bors-servo r=jdm |
📌 Commit ddc7994 has been approved by |
Test results for linux-wpt-layout-2020 from try job (#5420556019): Flaky unexpected result (2)
|
Test results for linux-wpt-layout-2013 from try job (#5420556019): Flaky unexpected result (19)
Stable unexpected results that are known to be intermittent (12)
|
☀️ Test successful - checks-github |
This also moves some environment variable configuration to the shared
build_env()
method, because previously clang was only being chosen forrunning
./mach build
and not./mach test-unit
which was leading torebuilds and thus build failures when running
test-unit
. I guess thecmake crate does not expect the compiler to change between subsequent
runs.
Fixes #29674
./mach build -d
does not report any errors./mach test-tidy
does not report any errors