-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix mononoke linux local cargo build with lld
Summary: X-link: facebookincubator/velox#6923 fix mononoke linux local cargo build with lld During my recent reviewstack changes I noticed that mononoke links fine on macOS, but github PRs are failing on linux with duplicate zstd symbols during linking. To fix this, switch to lld for the final link on linux by setting the cargo options, which needs a getdeps cargo.py change to ensure they aren't overwritten It works locally but looks like its running our of disk space on github. Next change in stack addresses github CI diskspace X-link: facebook/sapling#697 Reviewed By: sggutier Differential Revision: D49875277 Pulled By: genevievehelsel fbshipit-source-id: 998f525fd71333b31747d0ad0e0dda3ebe2b0796
- Loading branch information
1 parent
bb266be
commit 8f69ed7
Showing
3 changed files
with
87 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[manifest] | ||
name = lld | ||
|
||
[debs] | ||
lld | ||
|
||
[rpms] | ||
lld | ||
|
||
# We use the system lld where needed on linux and default linker elsewhere | ||
[build] | ||
builder = nop | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters