1
0
mirror of https://github.com/skeeto/w64devkit.git synced 2026-10-23 06:08:56 +03:00

451 Commits

Author SHA1 Message Date
Christopher Wellons
5012b9288b Bump to 2.7.0 v2.7.0 2026-04-13 20:37:33 -04:00
Christopher Wellons
ba628521f6 Release workflow: Azure code signing, draft/publish logic
Split release into sign (windows-latest, environment: release) and
release jobs. Signs both .7z.exe via Azure Trusted Signing before
attaching to the release. Tags starting with v publish; other tags
produce draft releases for testing the pipeline.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 20:31:44 -04:00
Christopher Wellons
acd28872dd Release workflow: .7z.exe extension, source.tar artifact
Rename release archives from .exe to .7z.exe. Build the new source
Docker target and produce a reproducible source.tar of all upstream
tarballs, attached as both a CI artifact and a release asset.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 18:47:45 -04:00
Christopher Wellons
22f81db827 Add source stage for collecting source tarballs
Adds an optional "source" Docker target that collects all upstream
source tarballs for producing a source.tar release artifact. BuildKit
skips it unless explicitly requested via --target source.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 17:26:55 -04:00
Christopher Wellons
07f6894161 Update to dcmake 1.6.4 2026-04-12 19:08:13 -04:00
Christopher Wellons
71f0fee060 Update to dcmake 1.6.0 2026-04-12 09:53:12 -04:00
Christopher Wellons
f248170154 Update to dcmake 1.5.0
Now requires Windows 7 even more than before.
2026-04-11 17:35:08 -04:00
Christopher Wellons
b010e46fba ninja: Fix deps log recovery
In DepsLog::Load(), the file offset used for truncation-based recovery
was advanced past each record immediately after reading its bytes from
disk, but before validating the record's semantic correctness (e.g. the
path checksum or node-id range checks). When a record was structurally
complete but semantically invalid, recovery truncated the file to an
offset that included the bad record, so it was never removed.

This created an infinite cycle: every build would load the deps log, hit
the corrupt record, "recover" by truncating everything after it (but not
the record itself), then append new dependency records that would be
destroyed by the next build's recovery. The result was spurious rebuilds
on every invocation.

Move the offset update to the end of the loop body, after all validation
has passed. Now when a record fails validation, the offset still points
before it, and truncation correctly removes it.

(This patch has been submitted upstream.)
2026-04-11 16:25:16 -04:00
Christopher Wellons
dc1b730fc1 cmake: normalize breakpoint paths
The breakpoint manager normalizes incoming setBreakpoints paths with
GetActualCaseForPath, but SourceFileLoaded and GetBreakpoints use
paths from CollapseFullPath, which preserves whatever case the caller
provided.  On case-insensitive filesystems these can differ for the
same file, so the unordered_map keys do not match and breakpoints are
silently missed.

On macOS (HFS+) GetActualCaseForPath is a no-op, so the setBreakpoints
path passes through unmodified.  If the DAP client sends "Test.cmake"
but cmake was invoked with "cmake -P test.cmake", the breakpoint is
stored under "Test.cmake" while GetBreakpoints looks up "test.cmake".

On Windows GetActualCaseForPath *does* normalize, but only in
HandleSetBreakpointsRequest.  The breakpoint is stored under the
canonical "Test.cmake", while SourceFileLoaded and GetBreakpoints
still receive "test.cmake" from CollapseFullPath.  The keys disagree
from the opposite direction.

Add a NormalizePath helper and apply it in all three public entry
points so that every map key goes through the same transformation.
On non-Windows it uses GetRealPath (wrapping realpath(3), which
returns the actual filesystem case on macOS and resolves symlinks on
Linux).  On Windows the existing GetActualCaseForPath is retained.
2026-04-11 14:18:12 -04:00
Christopher Wellons
8a109cdd71 Update to dcmake 1.4.0 2026-04-10 22:53:25 -04:00
Christopher Wellons
11a70781fe Update to dcmake 1.3.0
I keep finding more things to fix upstream.
2026-04-08 23:15:46 -04:00
Christopher Wellons
f14772c39f Update to dcmake 1.2.0 2026-04-08 09:32:55 -04:00
Christopher Wellons
d855e974df Update to dcmake 1.1.2 2026-04-07 22:37:24 -04:00
Christopher Wellons
dacd0812bd Introduce dcmake CMake debugger UI
I wrote this new tool yesterday after reading about "cmake --debugger"
the night before, and it's already been powerful and useful. In the past
this would be a month-long project, but in 2026 it only takes a day.
2026-04-05 22:40:02 -04:00
Christopher Wellons
7b0c1bc38b Update language about optimizing for size
This changed in 1d10baf and I forgot to update README.md.
2026-04-05 22:11:20 -04:00
Christopher Wellons
c4ee256cc2 Introduce quilt command (Quilt.cpp)
This is a primitive source control system for w64devkit, a C++ clone of
a classic, old-school tool still in some use today.
2026-04-05 22:03:30 -04:00
Christopher Wellons
4a6417c21e Introduce etc/ in the sysroot
This is where src/profile *really* belongs, and I have plans for more
etc/ entries.
2026-04-05 21:57:16 -04:00
Peter0x44
e07d6333f0 llama.mak: Update for latest llama.cpp
The HTML, CSS, and JS for the webui got split up into separate files.
There's also a new LLAMA_BUILD_WEBUI define required
2026-04-01 18:11:57 +01:00
Christopher Wellons
85073275ff Upgrade to CMake 4.3.1 2026-03-29 19:07:05 -04:00
Christopher Wellons
78f0e962e2 recycle: Use "full" paths and ignore special codes
SHFileOperationWhas has a subtle, easy-to-misuse interface that does not
follow its own documentation. It says FO_DELETE skips relative paths,
but that's definitely not the case at least on some versions of Windows.
2026-03-28 12:49:14 -04:00
weijh
72e81b5bc8 llama.mak: Update last tested version in llama.mak 2026-03-28 11:59:20 -04:00
Christopher Wellons
c05f24b368 Upgrade to Mingw-w64 14.0.0
https://www.mingw-w64.org/changelog/#v1400-2026-03-27
2026-03-27 12:19:25 -04:00
Christopher Wellons
9fb9b6cef5 Small updates to README.md
Thanks to T.J. Kotha for suggesting the llvm-mingw recommendation.
2026-03-27 09:27:27 -04:00
Christopher Wellons
75ee252f2b New command: recycle
Send files and folders to the recycle bin without confirmation.
2026-03-26 18:59:09 -04:00
Christopher Wellons
6d6cd37cbe ctags: Silence the annoying TOML warnings 2026-03-24 16:06:20 -04:00
Christopher Wellons
218fcb1c9a vim: Backport QML support 2026-03-23 21:38:27 -04:00
Christopher Wellons
f5e6fc4ae3 ctags: Fix trailing slash handling 2026-03-23 21:34:08 -04:00
Christopher Wellons
bc3805f83e ctags: Add QML tag support
I have my own personal use for this feature, so I'm including it.
2026-03-23 21:34:08 -04:00
Christopher Wellons
4b1706e4e3 Introduce zstd/unzstd commands
Threads are disabled in the x86 build because zstd uses Windows 7
threading features. Closes #358.
2026-03-23 21:00:55 -04:00
Christopher Wellons
a736663d15 Upgrade to CMake 4.3.0 2026-03-23 19:48:25 -04:00
Christopher Wellons
b49699bdd6 Upgrade to Ccache 4.13.2 2026-03-23 19:48:25 -04:00
Christopher Wellons
70cff0fefa Upgrade to Expat 2.7.5 2026-03-23 19:48:25 -04:00
Christopher Wellons
de2ac5a7d5 Upgrade to MPC 1.4.0 2026-03-23 19:48:25 -04:00
Christopher Wellons
8a7e39afb5 Remove more inessential CMake files 2026-03-22 22:19:38 -04:00
Peter0x44
9601c65c5b Only run x86 build in github actions if x64 build succeeds
I rarely care about the status of the x86 builds, so this commit only
runs them if the x64 builds succeed. If the x64 build is successful but
the x86 build is not, the cache for the x64 build should kick in and the
x86 build should follow shortly after, if it's necessary to iterate on
it.

Updated the GitHub Actions workflow so x86 only runs after x64 succeeds.

Changed:

- Split the old matrix job into two explicit jobs: build-x64 and build-x86.
- Added needs: build-x64 on the x86 job, which enforces the dependency.
2026-03-18 13:44:30 +00:00
Christopher Wellons
1d10baf609 Switch to speed-oriented builds
Aliases remain small because size is important and they are already
maximum speed. The distribution is ~10MB (~22%) larger, but C++ builds
with this toolchain are ~25% faster.
2026-03-17 18:55:14 -04:00
Christopher Wellons
a9c7b40969 Bump to 2.6.0 v2.6.0 2026-03-15 21:44:25 -04:00
Peter0x44
ef0ad50bd7 Add GitHub Actions build
Add workflow that builds x64/x86 exes, with Docker caching

Closes #292.
2026-03-15 16:59:21 -04:00
Peter0x44
c9cfbde595 Build curses UI of CMake (ccmake) 2026-03-15 14:26:46 -04:00
Christopher Wellons
ae313c2685 Tidy up and improve multibuild.sh
There was still some old cruft left, and it didn't clean up after itself
well.
2026-03-14 17:33:46 -04:00
Christopher Wellons
7f50b0ab0c Upgrade GDB to 17.1
https://lwn.net/Articles/1051653/
2026-03-10 23:13:14 -04:00
Christopher Wellons
6c51423969 Upgrade to Binutils 2.46
https://lists.gnu.org/archive/html/info-gnu/2026-02/msg00006.html
2026-03-10 22:45:49 -04:00
Christopher Wellons
85e582fce5 Upgrade to Universal Ctags 6.2.1 2026-03-10 22:29:52 -04:00
Christopher Wellons
0c02728cef Upgrade to libiconv 1.19 2026-03-10 22:21:10 -04:00
Christopher Wellons
25157fb776 Upgrade to Expat 2.7.4 2026-03-10 22:11:42 -04:00
Christopher Wellons
6a46a663f0 Upgrade Ccache to 4.13.1 2026-03-10 21:59:09 -04:00
Christopher Wellons
5acd7b0cf2 Upgrade to Ninja 1.13.2 2026-03-10 21:18:38 -04:00
Christopher Wellons
dd590779da Revert back to the main GNU FTP host
The GNU mirrors are currently unreliable and most downloads are failing.
2026-03-10 21:04:26 -04:00
Christopher Wellons
fa8d54d4e5 Break the build into independent stages
By breaking independent parts of the build into stages breaks implied
dependencies between those parts. A tool built later will not require
rebuilding when earlier unrelated tools are changed. That includes
upgrades to require new downloads. Most tools can be upgraded without
requiring unnecessary rebuilds.
2026-03-10 20:54:07 -04:00
Christopher Wellons
d8ee5fc502 Introduce CMake and Ninja
Unlike "standard" CMake, this build defaults to the Ninja generator and
w64dk toolchain without looking for Visual Studio.
2026-03-06 18:11:02 -05:00