24 Commits

Author SHA1 Message Date
Martin Storsjö 64363c14db build-busybox: Disable make, copy mingw32-make.exe as make.exe
The built-in make is a POSIX make tool, which doesn't support
GNU make features.

As we do have GNU make, insert that as "make.exe" in the busybox
directory. Don't do that in the main llvm-mingw bin directory,
which can be used with other environments (e.g. msys2), where the
native make is to be preferred.
2026-01-08 11:34:00 +02:00
Martin Storsjö e4bee5bfa4 build-cross-tools: Add an option for building busybox 2026-01-08 11:32:12 +02:00
Martin Storsjö 9abe6a8f31 build-llvm, build-cross-tools: Include --no-llvm-tool-reuse in the help listings 2025-08-13 13:36:56 +03:00
Martin Storsjö ccbccc774f build-cross-tools: Fix a help string typo 2025-08-13 13:27:45 +03:00
Martin Storsjö c6001d3056 build-cross-tools: Allow passing LTO and PGO options to build-llvm.sh 2025-06-25 11:51:06 +03:00
Martin Storsjö b6b58d96d9 build-llvm: Add an option --no-llvm-tool-reuse
This allows using the build-llvm.sh script for doing a cross build
of LLVM, while the same directory may contain a native build
which can be out of sync with the actual source.
2024-09-06 12:24:40 +03:00
Creepercdn 9ce1f4da5d build-cross-tools: Add the --full-llvm option
This matches the same option in build-all.sh.
2023-05-29 22:33:53 +03:00
Martin Storsjö c915fc9212 build-cross-tools: Check for required tools
This matches what's checked in build-all.sh.
2022-10-21 18:00:20 +03:00
Martin Storsjö a291ea689e build-cross-tools: Add options for disabling various parts of the build 2022-10-05 00:09:05 +03:00
Martin Storsjö 6c2d158270 build-cross-tools: Allow skipping building lldb-mi 2022-08-12 00:48:46 +03:00
Martin Storsjö d2941f58ab build-cross-tools: Generalize the variable with options to build-llvm.sh
This eases future adjustments if we want to pass more options
onwards to build-llvm.sh.
2022-08-12 00:48:46 +03:00
Martin Storsjö f6bad1b607 build-cross-tools: Factorize the option handling, to ease handling more options 2022-08-12 00:48:46 +03:00
Long Nguyen 8da020bc38 build-cross-tools: Add --with-python flag 2021-08-16 11:26:37 +03:00
Martin Storsjö eaf5ac08e5 Build lldb-mi
Building this tool requires having a full LLVM build available;
either by installing without LLVM_INSTALL_TOOLCHAIN_ONLY (and not
stripping the llvm installation yet) or by pointing it at the
LLVM build directory instead. The latter works better for our
normal build flows.
2021-08-16 11:26:37 +03:00
Long Nguyen 8a7dcd4ef1 build-cross-tools: Quote the path 2020-11-22 10:44:54 +02:00
Martin Storsjö 5dd6b4a705 build-cross-tools: Update to using build-mingw-w64-tools
This was missed in 3fd3e58979.
2020-10-15 23:35:58 +03:00
Martin Storsjö c1882530c3 Add copyright and license headers to all shell script files, for clarity 2020-03-05 11:31:31 +02:00
Martin Storsjö c8d181fa90 Build a mingw32-make.exe when cross building toolchains
This can be used e.g. for building Qt without any MSYS installation,
and should also work for cmake, if using the mingw makefiles
generator.
2019-12-23 19:47:11 +02:00
Martin Storsjö f1168d3016 Don't rely on EXEEXT as an env variable, infer it from --host instead 2019-11-13 12:59:53 +02:00
Martin Storsjö 577400a5f7 Pass $HOST to individual script with a --host parameter
This avoids ambiguity on distributions (such as openSUSE) where the
HOST environment variable already is set, to the hostname.
2019-11-13 12:55:39 +02:00
Martin Storsjö f5008d5380 Merge build-mingw-w64-widl.sh back into build-mingw-w64.sh
This allows checking out the mingw-w64 repo if it is missing, when
building widl.
2018-10-17 22:45:54 +03:00
Martin Storsjö 3d1b15b01e Make widl default to prefix/include instead of prefix/target/include, for windows toolchains
In these setups, we already install headers into prefix/include, in
order to save diskspace.
2018-10-10 23:33:19 +03:00
Martin Storsjö 9069c627a9 Install unprefixed tools when cross compiling the toolchain 2018-10-10 23:33:19 +03:00
Martin Storsjö 773c0299c5 Add scripts for crosscompiling the toolchain using an already built native toolchain 2018-10-02 21:34:54 +03:00