diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-25 14:37:20 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-25 14:37:20 -0500 |
| commit | 721a3b85aedebb52b00b6a34cc269ee72d62b8b6 (patch) | |
| tree | 39f9295e2b46c4d2abd32181eef242c069b938c2 /scripts/linux-boot/configure-worktree.sh | |
| parent | 5668f16b490a182452521fca3ccfc29e682eca2b (diff) | |
| parent | e18b59a5b77a8400f66b71b5f12d713bb12c63e0 (diff) | |
Merge main into wave64-partial-wave-zero
Conflict in scripts/run_gpu_tests.py: the dump-test name list gained
cs_w64x_cmp_sdst on main and cs_w64x_partial_swizzle here; both are kept.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'scripts/linux-boot/configure-worktree.sh')
| -rwxr-xr-x | scripts/linux-boot/configure-worktree.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/linux-boot/configure-worktree.sh b/scripts/linux-boot/configure-worktree.sh new file mode 100755 index 000000000..c983b3357 --- /dev/null +++ b/scripts/linux-boot/configure-worktree.sh | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | # usage: configure-worktree.sh <worktree> | ||
| 3 | # Configures a Windows build of the runtime on Linux with clang-cl and an xwin SDK (XWIN_DIR, default | ||
| 4 | # ~/.local/share/xwin-sdk). SDL3_SRC=<an SDL3 source tree> makes the configure work offline. | ||
| 5 | set -eu; W=$(realpath "$1") | ||
| 6 | cmake -S "$W/runtime" -B "$W/runtime/build/boot" -G Ninja -DCMAKE_BUILD_TYPE=Release \ | ||
| 7 | -DCMAKE_TOOLCHAIN_FILE="$W/runtime/cmake/clang-cl-xwin.cmake" -DXWIN_DIR="${XWIN_DIR:-$HOME/.local/share/xwin-sdk}" \ | ||
| 8 | -DLEONIDA_BUILD_WINDOWS_RUNTIME=ON -DLEONIDA_SDL3=ON \ | ||
| 9 | ${SDL3_SRC:+-DFETCHCONTENT_SOURCE_DIR_SDL3="$SDL3_SRC"} | ||