Skip to content
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

Make Cargo share more things between servo and ports #9886

Merged
merged 4 commits into from Mar 8, 2016

Conversation

@nox
Copy link
Member

nox commented Mar 5, 2016

This should enable Cargo to reuse more build artifacts between servo and geckolib.

Review on Reviewable

@highfive
Copy link

highfive commented Mar 5, 2016

Heads up! This PR modifies the following files:

@nox
Copy link
Member Author

nox commented Mar 5, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Mar 5, 2016

Trying commit b3a4348 with merge 54fdfe6...

bors-servo added a commit that referenced this pull request Mar 5, 2016
Consistently select the unstable feature in string_cache and selectors

This should enable Cargo to reuse more build artifacts between servo and geckolib.
@nox nox changed the title Consistently select the unstable feature in string_cache and selectors Make Cargo share more things between servo and geckolib Mar 5, 2016
@nox
Copy link
Member Author

nox commented Mar 5, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Mar 5, 2016

Trying commit a89cf68 with merge b9879e2...

bors-servo added a commit that referenced this pull request Mar 5, 2016
Make Cargo share more things between servo and geckolib

This should enable Cargo to reuse more build artifacts between servo and geckolib.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9886)
<!-- Reviewable:end -->
@nox
Copy link
Member Author

nox commented Mar 5, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Mar 5, 2016

Trying commit 71dfeca with merge b6ed5f9...

bors-servo added a commit that referenced this pull request Mar 5, 2016
Make Cargo share more things between servo and geckolib

This should enable Cargo to reuse more build artifacts between servo and geckolib.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9886)
<!-- Reviewable:end -->
@nox nox force-pushed the nox:unstable-feature branch from 71dfeca to 548bd0b Mar 5, 2016
@nox
Copy link
Member Author

nox commented Mar 5, 2016

Last commit probably requires @bholley's seal of approval.

@nox
Copy link
Member Author

nox commented Mar 5, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Mar 5, 2016

Trying commit 949c1a6 with merge 1084c26...

bors-servo added a commit that referenced this pull request Mar 5, 2016
Make Cargo share more things between servo and geckolib

This should enable Cargo to reuse more build artifacts between servo and geckolib.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9886)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Mar 5, 2016

💔 Test failed - linux-dev

@nox nox force-pushed the nox:unstable-feature branch from 949c1a6 to e6ed490 Mar 5, 2016
@highfive highfive removed the S-tests-failed label Mar 5, 2016
@nox
Copy link
Member Author

nox commented Mar 5, 2016

Never mind, encoding was already depended upon by cssparser so it's already in geckolib.

@nox nox changed the title Make Cargo share more things between servo and geckolib (DO NOT MERGE) Make Cargo share more things between servo and geckolib Mar 5, 2016
@nox
Copy link
Member Author

nox commented Mar 5, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Mar 5, 2016

Trying commit 03d525e with merge 6c1369c...

bors-servo added a commit that referenced this pull request Mar 5, 2016
(DO NOT MERGE) Make Cargo share more things between servo and geckolib

This should enable Cargo to reuse more build artifacts between servo and geckolib.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9886)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Mar 5, 2016

💔 Test failed - linux-rel

@nox
Copy link
Member Author

nox commented Mar 5, 2016

Result of running ./mach build-cef --release after ./mach build --release:

INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for embedding v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/ports/cef): failed to read `/home/servo/buildbot/slave/linux-rel/build/target/release/.fingerprint/embedding-73b03625198d6678/lib-embedding`
INFO:cargo::ops::cargo_rustc::fingerprint:   cause: No such file or directory (os error 2)
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for net_traits v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/net_traits): new (msg v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/msg)) != old (msg v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/msg))
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for msg v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/msg): new (layers v0.2.2 (https://github.com/servo/rust-layers#dd28dbee)) != old (layers v0.2.2 (https://github.com/servo/rust-layers#dd28dbee))
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for layers v0.2.2 (https://github.com/servo/rust-layers#dd28dbee): new (azure v0.4.1 (https://github.com/servo/rust-azure#d318e2d8)) != old (azure v0.4.1 (https://github.com/servo/rust-azure#d318e2d8))
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for servo-skia v0.20130412.6: new (servo-glutin v0.4.9) != old (servo-glutin v0.4.9)
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for servo-glutin v0.4.9: features have changed: Some(["default"]) != Some(["default", "headless"])
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for servo-glutin v0.4.9: features have changed: Some(["default"]) != Some(["default", "headless"])
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for azure v0.4.1 (https://github.com/servo/rust-azure#d318e2d8): new (servo-skia v0.20130412.6) != old (servo-skia v0.20130412.6)
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for script v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/script): new (canvas v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/canvas)) != old (canvas v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/canvas))
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for script_traits v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/script_traits): new (canvas_traits v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/canvas_traits)) != old (canvas_traits v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/canvas_traits))
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for devtools_traits v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/devtools_traits): new (msg v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/msg)) != old (msg v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/msg))
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for canvas_traits v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/canvas_traits): new (azure v0.4.1 (https://github.com/servo/rust-azure#d318e2d8)) != old (azure v0.4.1 (https://github.com/servo/rust-azure#d318e2d8))
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for gfx_traits v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/gfx_traits): new (azure v0.4.1 (https://github.com/servo/rust-azure#d318e2d8)) != old (azure v0.4.1 (https://github.com/servo/rust-azure#d318e2d8))
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for canvas v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/canvas): new (azure v0.4.1 (https://github.com/servo/rust-azure#d318e2d8)) != old (azure v0.4.1 (https://github.com/servo/rust-azure#d318e2d8))
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for compositing v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/compositing): new (azure v0.4.1 (https://github.com/servo/rust-azure#d318e2d8)) != old (azure v0.4.1 (https://github.com/servo/rust-azure#d318e2d8))
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for gfx v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/gfx): new (azure v0.4.1 (https://github.com/servo/rust-azure#d318e2d8)) != old (azure v0.4.1 (https://github.com/servo/rust-azure#d318e2d8))
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for layout_traits v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/layout_traits): new (gfx v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/gfx)) != old (gfx v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/gfx))
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for glutin_app v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/ports/glutin): features have changed: Some(["window"]) != Some(["headless", "servo-glutin"])
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for devtools v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/devtools): new (devtools_traits v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/devtools_traits)) != old (devtools_traits v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/devtools_traits))
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for servo v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/servo): features have changed: Some(["default", "glutin_app", "webdriver", "webdriver_server", "window"]) != Some(["glutin_app", "headless"])
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for net v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/net): new (devtools_traits v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/devtools_traits)) != old (devtools_traits v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/devtools_traits))
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for layout v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/layout): new (azure v0.4.1 (https://github.com/servo/rust-azure#d318e2d8)) != old (azure v0.4.1 (https://github.com/servo/rust-azure#d318e2d8))
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for webdriver_server v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/webdriver_server): failed to read `/home/servo/buildbot/slave/linux-rel/build/target/release/.fingerprint/webdriver_server-25f279ca64df6ed4/lib-webdriver_server`
INFO:cargo::ops::cargo_rustc::fingerprint:   cause: No such file or directory (os error 2)
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for webdriver v0.4.0 (https://github.com/jgraham/webdriver-rust.git#9dffcbe4): failed to read `/home/servo/buildbot/slave/linux-rel/build/target/release/.fingerprint/webdriver-b7a550d30588e536/lib-webdriver`
INFO:cargo::ops::cargo_rustc::fingerprint:   cause: No such file or directory (os error 2)
INFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for servo v0.0.1 (file:///home/servo/buildbot/slave/linux-rel/build/components/servo): features have changed: Some(["default", "glutin_app", "webdriver", "webdriver_server", "window"]) != Some(["glutin_app", "headless"])
@nox nox force-pushed the nox:unstable-feature branch from 9a358ab to e6d4f5c Mar 7, 2016
@SimonSapin
Copy link
Member

SimonSapin commented Mar 7, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Mar 7, 2016

📌 Commit e6d4f5c has been approved by SimonSapin

@bors-servo
Copy link
Contributor

bors-servo commented Mar 7, 2016

Testing commit e6d4f5c with merge fc9dcc4...

bors-servo added a commit that referenced this pull request Mar 7, 2016
Make Cargo share more things between servo and geckolib

This should enable Cargo to reuse more build artifacts between servo and geckolib.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9886)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Mar 7, 2016

💔 Test failed - status-appveyor

nox added 4 commits Mar 5, 2016
This should enable Cargo to reuse more build artifacts between servo and geckolib.
Some external dependencies (at least webrender_traits) present only in servo
and not in geckolib use it already and this prevents Cargo to reuse build
artifacts depending on serde between the two targets.
This allows the reuse of teh build artifacts of url and all the things that
depends on it between servo and geckolib.
@nox nox changed the title Make Cargo share more things between servo and geckolib Make Cargo share more things between servo and ports Mar 8, 2016
@nox nox force-pushed the nox:unstable-feature branch from e6d4f5c to d59cad2 Mar 8, 2016
@nox
Copy link
Member Author

nox commented Mar 8, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Mar 8, 2016

Trying commit d59cad2 with merge d344f33...

bors-servo added a commit that referenced this pull request Mar 8, 2016
Make Cargo share more things between servo and ports

This should enable Cargo to reuse more build artifacts between servo and geckolib.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9886)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Mar 8, 2016

@wafflespeanut
Copy link
Member

wafflespeanut commented Mar 8, 2016

@bors-servo r=SimonSapin

@bors-servo
Copy link
Contributor

bors-servo commented Mar 8, 2016

📌 Commit d59cad2 has been approved by SimonSapin

@bors-servo
Copy link
Contributor

bors-servo commented Mar 8, 2016

Testing commit d59cad2 with merge 5fbed88...

bors-servo added a commit that referenced this pull request Mar 8, 2016
Make Cargo share more things between servo and ports

This should enable Cargo to reuse more build artifacts between servo and geckolib.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9886)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Mar 8, 2016

@bors-servo bors-servo merged commit d59cad2 into servo:master Mar 8, 2016
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.