[haiku-development] Re: [haiku-commits] haiku: hrev54611 - /

  • From: "Alexander von Gluck IV" <kallisti5@xxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx, haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 02 Oct 2020 20:01:15 +0000

October 2, 2020 2:53 PM, "Alex von Gluck IV" <kallisti5@xxxxxxxxxxx> wrote:

hrev54611 adds 1 changeset to branch 'master'
old head: 64331e96ca9d657f8823e5f870721c8f7770da1f
new head: 14d8c772a16464f90ccae5158e733b1c64a712b7
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=14d8c772a164+^64331e96ca9d

----------------------------------------------------------------------------

14d8c772a164: configure: Break out cross-tools source path

* Stops the ackward "buildtools sources on first --build-cross-tools"

Change-Id: I683acf5ccc2a83b526a58aa54c7716d28d47b52d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3206
Reviewed-by: Adrien Destugues <pulkomandy@xxxxxxxxx>
Reviewed-by: John Scipione <jscipione@xxxxxxxxx>

[ Alexander von Gluck IV <kallisti5@xxxxxxxxxxx> ]

This one is a big change. So taking a moment to explain it here.
Lots of support in the review request, nobody has really complained about it.

I've also merged the website updates to documentation. (blog posts were also
"retroactively updated" to the new syntax)

standard build, old syntax:
  ../configure --build-cross-tools x86_64 ../../buildtools

standard build, new syntax:
  ../configure --cross-tools-source ../../buildtools --build-cross-tools x86_64

hybrid build, old syntax:
  ../configure --build-cross-tools x86_gcc2 ../../buildtools 
--build-cross-tools x86

hybrid build, new syntax:
  ../configure --cross-tools-source ../../buildtools --build-cross-tools 
x86_gcc2 --build-cross-tools x86


It's definitely slightly longer, but it's a lot easier to understand than:
 "The first iteration of build-cross-tools gets the source path.. additional 
iterations don't"


Our CI/CD doesn't really change since we build the toolchains directly and use
--cross-tools-prefix multiple times to specify the toolchain locations.

Let me know if anyone has any questions

Thanks!
 -- Alex

Other related posts:

  • » [haiku-development] Re: [haiku-commits] haiku: hrev54611 - / - Alexander von Gluck IV