Skip to content

[Backport staging-22.05] Revert "llvmPackages: do not include static archives when shared…" - #180233

Merged
sternenseemann merged 1 commit into
staging-22.05from
backport-178007-to-staging-22.05
Jul 5, 2022
Merged

sternenseemann merged 1 commit into
staging-22.05from
backport-178007-to-staging-22.05

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 5, 2022

Copy link
Copy Markdown
Contributor

Bot-based backport to staging-22.05, triggered by a label in #178007.

  • Before merging, ensure that this backport complies with the Criteria for Backporting.
    • Even as a non-commiter, if you find that it does not comply, leave a comment.

Reverts #162607 / 1748887.

Reason for revert: This change caused llvm-config{,-native} to be unable
to find static archives bundled with LLVM, as has been [reported]. Ever
since #152944 using moveToOutput in LLVM is _evil_ because llvm-config
obtains it knowledge about the installation locations from the CMake
configure step.

Consequently a change like #162607 will need to be implemented by making
LLVM itself install the static archives to the correct location or by
adding yet another patch which updates llvm-config's knowledge of the
location. The latter is not desireable in my opinion, though, since it
is just asking for this sort of trouble: Before #152944 we had an
outputs.patch that did this sort of things which broke spectacularly in
edge cases.

Fixes #148117.

[reported]: #148117 (comment)

(cherry picked from commit a2ed5b2)
@github-actions
github-actions Bot requested a review from matthewbauer as a code owner July 5, 2022 13:08
@ofborg ofborg Bot added 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. labels Jul 5, 2022
@sternenseemann
sternenseemann merged commit 262870c into staging-22.05 Jul 5, 2022
@sternenseemann
sternenseemann deleted the backport-178007-to-staging-22.05 branch July 5, 2022 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant