Skip to content
Snippets Groups Projects

cross: add crossdirect package (pmbootstrap#1731)

Merged Imported Administrator requested to merge crossdirect into master
All threads resolved!
Edited by Administrator

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Administrator
  • Administrator
  • Administrator
  • Administrator
  • Administrator
  • Author Owner

    Oh and the name "crossdirect" is cool ;)

    By Oliver Smith on 2019-02-27T10:49:53

  • Author Owner

    @ollieparanoid Thank you so much for the comments!

    Also you have already taken care of clang support - wow!

    No, this doesn't work automatically with Clang: unlike GCC, Clang isn't supported by ccache. I only add the crossdirect wrappers to the ccache path, so APKBUILDs can't automatically find our clang wrapper.

    Since we only have one package that uses clang (mir), I just manually modified that APKBUILD to point it to the wrapper during testing.

    this is such an incredible improvement for pmbootstrap that we could even write a short blog post about it

    I don't expect this to give an improvement significant enough for a separate blog post ("Building packages is now as fast as before we added SSH to distcc" doesn't sound that interesting...) I would need to benchmark how much time this saves for a package though.

    I will address your comments, and then compare building a large package (maybe one of the qt packages?) against the old distcc and the new distccd-ssh implementation. Unfortunately, I'll be busy this month, so might not get to it soon - but I'll work on it when I can.

    By Zhuowei Zhang on 2019-02-27T20:29:55

  • Author Owner

    I don't expect this to give an improvement significant enough for a separate blog post ("Building packages is now as fast as before we added SSH to distcc" doesn't sound that interesting...) I would need to benchmark how much time this saves for a package though.

    Well, you had explained earlier that the linking step is also done with the native binaries - so I would expect it to be at least a little faster than the old distcc (without ssh) setup. But you are right, let's wait for benchmarks instead of making assumptions.

    I will address your comments, and then compare building a large package (maybe one of the qt packages?) against the old distcc and the new distccd-ssh implementation. Unfortunately, I'll be busy this month, so might not get to it soon - but I'll work on it when I can.

    Thank you, highly appreciated!

    By Oliver Smith on 2019-02-28T12:25:10

  • Administrator mentioned in issue #192 (closed) · Imported

    mentioned in issue #192 (closed)

    By Oliver Smith on 2019-03-05T06:47:37

  • Author Owner

    I can confirm, that building with crossdirect makes ccache work as expected (at least with GCC) :thumbsup:

    By Oliver Smith on 2019-03-22T07:24:52

  • Author Owner

    I'll work on finishing this up.

    By Oliver Smith on 2019-03-22T08:06:12

  • Administrator added 110 commits · Imported

    added 110 commits

    Compare with previous version

    By Oliver Smith on 2019-03-23T00:10:47

  • Administrator resolved all discussions · Imported

    resolved all discussions

    By Oliver Smith on 2019-03-23T00:11:14

  • Administrator unmarked as a Work In Progress · Imported

    unmarked as a Work In Progress

    By Oliver Smith on 2019-03-23T00:12:19

  • Administrator merged · Imported

    merged

    By Oliver Smith on 2019-03-23T00:13:10

  • Administrator mentioned in commit b6ec8550 · Imported

    mentioned in commit b6ec8550

    By Oliver Smith on 2019-03-29T13:32:36

  • Please register or sign in to reply
    Loading