Commit Graph
107 Commits
Author SHA1 Message Date
Martin Storsjö d1d7309583 build-mingw-w64: Bump to the latest version as of Feb 7th
This fixes the availability of __cpuidex for Clang 18.
2024-02-07 09:34:07 +02:00
Martin Storsjö f4f78cd984 build-mingw-w64: Bump to the latest version as of Jan 30th 2024-01-30 10:39:33 +02:00
Martin Storsjö 5c50839423 build-mingw-w64: Bump to the latest version as of Nov 28th 2023-11-28 13:19:26 +02:00
Martin Storsjö eeffd71064 build-mingw-w64: Bump to the latest version as of Nov 14th 2023-11-14 12:42:08 +02:00
Martin Storsjö 4d9b8a9bda build-mingw-w64: Bump to the latest version as of Oct 31st
This version prefers the UCRT version over the builtin one from
libmingwex.a for a number of math functions.
2023-10-31 11:04:35 +02:00
Martin Storsjö 52ebafb50b build-mingw-w64: Bump to the latest version as of Oct 17th 2023-10-17 09:51:28 +03:00
Martin Storsjö 61845977e7 build-mingw-w64: Bump to the latest version as of Oct 3rd
In addition to the usual sets of assorted updates, this brings
some more additions to the main d3d12 header, and adds the
d3d12video.h header.
2023-10-03 10:08:31 +03:00
Martin Storsjö 047b5e0574 build-mingw-w64: Bump to the latest version as of Sep 19th
This brings in a rather large update of the D3D12 header
(d3d12.idl/d3d12.h), which should now be mostly complete and up
to date with the current versions from Microsoft.
2023-09-19 14:04:39 +03:00
Martin Storsjö 1749eb26c1 build-mingw-w64: Bump to the latest version as of Sep 5th 2023-09-05 21:59:10 +03:00
Martin Storsjö b56335ba08 build-mingw-w64: Bump to the current version as of Aug 22nd 2023-08-22 11:32:22 +03:00
Martin Storsjö 8797dfdbf3 build-mignw-w64: Bump to the latest version as of Aug 9th 2023-08-10 08:02:07 +03:00
Martin Storsjö 39f3bbfae6 build-mingw-w64: Bump to the latest version as of July 29th 2023-07-29 13:46:22 +03:00
Martin Storsjö b2ea9ee944 build-mingw-w64: Bump to the latest version as of June 14th 2023-06-14 09:20:01 +03:00
Martin Storsjö ed1d727ed7 build-mingw-w64: Bump to the current version as of June 2nd 2023-06-02 17:42:00 +03:00
Martin Storsjö 99701ab202 build-mingw-w64: Bump to the latest version as of May 17th 2023-05-17 09:01:43 +03:00
Martin Storsjö 4ad11c7bec build-mingw-w64: Bump to the current version as of May 3rd 2023-05-03 22:49:40 +03:00
Martin Storsjö cc197e4ae6 build-mingw-w64: Bump to the current version from April 24th 2023-04-27 10:50:36 +03:00
Martin Storsjö d5c9fb3e04 build-mingw-w64: Pass --disable-dependency-tracking when configuring mingw-w64-crt on MSYS2
Configuring the mingw-w64-crt build takes a really long time on MSYS2;
the generating Makefile phase takes easily 4-5 minutes, when the rest
of configure runs in a matter of seconds. By passing
--disable-dependency-tracking, the whole configure for mingw-w64-crt
takes 11-14 seconds where it previously took many mnutes.

This comes with the drawback that these build directories aren't
suitable for incremental development (unless manual care is taken
to rebuild all necessary files), but these builds are mostly done
for non-interactive building.

Thanks to Jeremy Drake for realizing this optimization opportunity,
and LIU Hao for making me aware of it.
2023-03-21 12:07:02 +02:00
Martin Storsjö 2994becbbe build-mingw-w64: Bump to the current version fron March 20th
Notable changes:
- Support for _FORTIFY_SOURCE=3
- Fortification of [v]s[n]printf for UCRT
- Add the __gets_chk function, for fortification of the (highly
  deprecated) gets function
- Fixed the inconsistent signature of the wcstok function on UCRT
  in string.h
- Allow opting out from SEH based setjmp/longjmp by defining
  __USE_MINGW_SETJMP_NON_SEH before including setjmp.h

And as usual, lots of other minor updates.
2023-03-20 12:23:47 +02:00
Martin Storsjö fb67e16120 build-all: Stop requiring curl to be available
Curl (or wget) isn't required for fetching libssp any longer,
so don't require it while running build-all.sh.

(It's still required by build-cross-tools.sh, for build-make.sh
though.)
2023-01-29 01:09:17 +02:00
Martin Storsjö 36f8c1359e Switch the default to enabling CFGuard in all individual build-* scripts 2023-01-29 01:09:17 +02:00
Martin Storsjö 26ae975a6a build-mingw-w64: Bump to the current version from January 28th
Notable changes:
- Support for CFGuard
- SSP routines are bundled as part of libmingwex, rendering the separate
  libssp from GCC unnecessary

Plus lots and lots of various other minor fixes and improvements.
2023-01-29 01:09:17 +02:00
Alvin Wong e9401c8bfe Add CFGuard options to build scripts (disabled by default) 2022-10-01 13:25:52 +03:00
Martin Storsjö 506664a49f build-mingw-w64: Bump to the current version from September 6th
Notable changes:
- Fixed using the strtof() function from UCRT instead of accidentally
  using a wrapper that internally calls strtod()
- Range/accuracy improvements for complex trigonometry functions
- Fixed the callback declaration for the EnumPageFiles API
- Fixed the declaration of the addrinfoex structs
- The usual assorted API updates
2022-09-06 11:38:48 +03:00
Martin Storsjö 3d4e36806a Avoid using the nonstandard "which" command
This command isn't a standard tool; different distributions have
different implementations, and e.g. Fedora doesn't ship it by
default.

Settle on using "command -v $tool >/dev/null" for tests about whether
a tool is available. (We could also use "hash $tool 2>/dev/null" as we
already had in build-all.sh, but settling on using "command -v"
everywhere, for consistency and simplicity.)
2022-08-02 15:17:24 +03:00
Martin Storsjö fffe23a549 build-mingw-w64: Update to a newer version
Notable changes are:
- Fix building for armv7 with SEH enabled
- Implement _set_com_error_handler and _com_raise_error in comdef.h
- Add import libraries for older msvcrXX.dll versions
- Redirect access() to __mingw_access() on UCRT
- Assorted updates to Windows APIs
2022-07-31 01:08:27 +03:00
Martin Storsjö 83d84ab79b build-mingw-w64: Fix installing COPYING files on macOS
The install(1) tool on macOS doesn't support the -D option for
creating directories at the same time while installing files.
Therefore, run a separate step for creating directories. Doing that
with "mkdir -p", even if install(1) also could do that with the -d
option (likewise with a separate command).

Also stop specifying the destination file name, when it's equal to
the source files, now that we know that the destination directory
already exists.
2022-04-08 13:13:56 +03:00
Matthew "strager" Glazar 306f5d7209 build-mingw-w64: Install COPYING files
Install copyright notices into the final package. This makes LLVM MinGW
comply with many of the licenses (which require attribution), and also
makes it easier for users of LLVM MinGW to audit licenses of software
they use.
2022-04-08 09:44:38 +03:00
Martin Storsjö 222e4bff34 build-mingw-w64: Bump to the current version from March 23rd
This fixes the v*scanf functions when using msvcrt.dll, if using more
than 30 format conversions, fixes error handling in the btowc
function in libmingwex, and adds a missing (void) in a function
prototype in winpthreads, adds the fwpuclnt import library for aarch64,
plus other assorted header/interface updates.
2022-03-23 13:07:39 +02:00
Martin Storsjö ee1b52812a build-mingw-w64: Update to the current version from February 9th
Among lots of other changes, this now includes import libraries for
OpenGL for arm targets, and also hooks up timespec_get for UCRT.
2022-02-09 14:02:20 +02:00
Martin Storsjö 378525eb9b build-mingw-w64: Update to the current version from October 1st 2021-10-01 22:27:39 +03:00
Martin Storsjö eda9036b6a build-mingw-w64.sh: Bump to the current version from August 8th 2021-08-09 12:08:16 +03:00
Martin Storsjö f066446b06 build-mingw-w64: Switch to another github mirror
This one seems to (currently) be a bit more up to date.
2021-04-23 10:58:42 +03:00
Martin Storsjö 3a9264f1fd build-mingw-w64: Build to the latest version from today 2021-04-23 10:58:42 +03:00
Martin Storsjö 33fe419247 build-mingw-w64: Bump to the latest git master version 2021-04-15 11:37:05 +03:00
Long Nguyen c0596d3170 Unset CC before building to prevent env pollution 2021-02-10 14:42:34 +02:00
Long Nguyen ee0585ae9e build-mingw-w64.sh: Switch to github mirror 2021-02-03 11:49:25 +02:00
Martin Storsjö 2af44c5a56 Use -n "$()" instead of "$()" != "" 2020-11-03 14:00:45 +02:00
Martin Storsjö 0e3600182d build-mingw-w64: Update to the latest master version
This version includes a few minor fixes on top of the v8.0.0 release.
2020-10-20 23:01:13 +03:00
Orgad Shaneh a83473f6e2 build-mingw-w64: Clone on https instead of git protocol
git port is typically blocked by outbound corporate firewalls.
2020-10-16 15:16:33 +03:00
Martin Storsjö 4176511d24 build-mingw-w64: Update to the v8.0.0 release of mingw-w64 2020-09-22 11:45:25 +03:00
Martin Storsjö 3fd3e58979 build-mingw-w64: Split out building tools to a separate script
This simplifies build-mingw-w64.sh. When building on native
windows (where we also provide unprefixed tools, we can't have
the yet incomplete compiler toolchain in $PATH when building
the mingw-w64 tools. (Logically, build-mingw-w64-tools belong
with build-llvm and install-wrappers; using the original system
compiler to build tools that are supposed to run on the current
machine, as opposed to the cross target, like when building the
runtimes.)
2020-09-16 00:03:57 +03:00
Martin Storsjö 57b7ffd84d build-mingw-w64: Add a CHECKOUT_ONLY codepath 2020-09-16 00:03:57 +03:00
Martin Storsjö da9b3b472b build-mingw-w64: Update to the latest version from git
This version includes libucrtapp.a, which doesn't require linking to
vcruntime140_app for avoiding api-ms-win-crt-private-*.dll.
2020-06-12 13:41:18 +03:00
Steve Lhomme e34de8eb21 use a more recent mingw version
With much cleaner UWP support.
2020-06-03 12:36:33 +03:00
Martin Storsjö 8e461131cf Clean the build dirs before building, if the env var CLEAN is set 2020-03-25 23:24:31 +02:00
Martin Storsjö efec56e495 build-mingw-w64: Update to the latest master version
- Fixed the dinput/dinput8 libraries for armv7/aarch64
- Provide libcfgmgr32.a for aarch64
- Fix cases of duplicate definitions of snprintf/vsnprintf when using
  msvcrt as crt, when building C++ code
- Fix cases where mftransform.h would undefine EXTERN_C, turning other
  variables declared as EXTERN_C into actual definitions
2020-03-24 23:15:10 +02:00
Martin Storsjö c994e9cb92 build-mingw-w64: Update to the latest version
This fixes a regression in the previously pinned version, where
the asprintf function produced undefined references when using UCRT.
2020-03-09 22:52:58 +02: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ö 4f16aa8277 build-mingw-w64: Update to the latest version
This contains a minor assortment of fixes, but also fixes building
widl on BSD.
2020-03-05 11:31:20 +02:00