[PATCH] D151385: test-release.sh: Add support for cross-compiling

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 25 06:12:06 PDT 2023


tstellar added a comment.

In D151385#4371866 <https://reviews.llvm.org/D151385#4371866>, @thieta wrote:

> Looks fine to me. But I am unsure if we need to have the toolchain file checked into LLVM. Wouldn't that be up to the person cross-compiling? Going to be hard to assume stuff there?

I wanted to add cross-compile support so that we could build 'official' binaries using GitHub actions for other arches besides x86_64.  For this scenario, I think it makes sense to have the toolchain file somewhere in tree, so that it is easy to reproduce the builds.  This specific file works with a container image that I created with all the necessary cross-libs, which I would also like to put in tree somewhere.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151385/new/

https://reviews.llvm.org/D151385



More information about the llvm-commits mailing list