Repository navigation
Build BlueWake for iPhone and iPad on Windows (and Linux) through PadMint - #100
Draft
chrissotraidis wants to merge 13 commits into
Draft
chrissotraidis wants to merge 13 commits into
chrissotraidis wants to merge 13 commits into
Conversation
Two LLVM passes are superlinear on the composite chunks (one function each): the SLP vectorizer and the register coalescer. scripts/windows/build.py already passes -fno-slp-vectorize and -mllvm -large-interval-freq-threshold=10 for this reason. With PadMint clang 22.1.8 on an M3 Max, d_a_mgameboard chunk 0 took 155 s with them, against more than 3 h 49 min (still running) without.
…fied source, then the shared module steps
This was referenced Oct 4, 2026
Merged
Open
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.
Lets players build BlueWake's iPhone/iPad copy on a Windows PC (and Linux) through PadMint, with no Mac. First game in PadMint's plan for iPhone and iPad copies from Windows (chrissotraidis/padmint#135). Includes #42 (the Linux route). Not for 0.6.0: see "Before this can leave draft".
What changes
padmint.json(iostarget): Windows x64/ARM64 and Linux hosts. On Windows and Linux thetranslatestage makes the game's source (scripts/windows/build.py --source-only,scripts/builder/build.sh --source-only), then the module is compiled with PadMint's open-source iPhone toolchain and BlueWake's bundled optimization profile, and PadMint adds it to the published app without game code. On a Mac the step runs the usual trained Xcode build with--app.scripts/windows/build.py: runs on Windows on ARM (x64 tools under emulation);--source-onlyskips the app's optimization profile, which Visual Studio's clang 19 can't read.scripts/builder/build.shand the profile:--source-onlyoff a Mac needs no Xcode, only a C compiler for the disc tool;disc_import.cgets a plain SHA-1 off Apple platforms.docs/BUILD_YOUR_OWN.md("On a Windows PC"),docs/WINDOWS_TASKS.mdand the 0.6.0 release record describe the route. They say "from 0.6.0" and need the version that actually ships it.What I checked (Windows 11 on ARM in Parallels on an M3 Max, my own GZLE01 disc; iPad Pro 12.9" M2, iPadOS 27.0.1, as a separate test app beside my normal install)
54f54434…).43a8bd8built on Windows in 285 minutes (0.6.0 build 5, against the 0.6.0 app without game code made with--app-only, which passespadmint audit). PadMint's import check, insertion, IPA check and publication gate passed. On the iPad it loads and runs the title and its automatic demo at 30 FPS with sound. Not played.--appbuilt through PadMint in about 3 hours, but the copy didn't open: PadMint's insert step leaves Xcode-built modules with a misaligned string table (mis-aligned LINKEDIT string poolon iOS 27). With PadMint Clouds and waves flickering (v0.5.0) #136's fix the same module loads and runs at 30 FPS.Before this can leave draft
[mods] available=0; the Mac copy has 3).