Repository navigation
msys2: clang toolchain for CLANG64 / CLANGARM64 - #8588
Merged
Merged
Conversation
MINGW64 is no longer supported (openframeworks#8589); the MSYS2 build task, include paths and compiler now use UCRT64.
danoli3
force-pushed
the
msys2-clang-toolchain
branch
from
October 16, 2026 02:02
2ec7b6f to
b3f34f7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MSYS2's CLANG64 and CLANGARM64 (Windows on ARM) environments ship clang and LLVM tools, but not gcc or GNU binutils.
config.msys2.default.mkhardcoded$(MINGW_PREFIX)/bin/gccandg++, so make failed straight away in those shells.scripts/msys2/install_dependencies.shalready installsclangfor both environments.config.msys2.default.mk: whenMSYSTEMisCLANG64orCLANGARM64, useclang/clang++, andllvm-ar/llvm-windreswhen present (falling back toar/windres). UCRT64 and MINGW64 are unchanged.c_cpp_properties.json(Win32): replace the non-existentC:/msys64/mingw64/i686-w64-mingw64/includewithC:/msys64/mingw64/include, which is where the MSYS2 package headers (glfw, cairo, curl…) live.This pairs with openframeworks/projectGenerator#648, which lets PG generate msys2 / VS Code projects for UCRT64, MINGW64, CLANG64 or CLANGARM64.
The toolchain selection was checked by evaluating the makefile with each
MSYSTEM. I haven't compiled on a Windows / Windows-on-ARM machine yet.