forked from Ports/goldeneye-pc-port
untrack local build-pc-cmd.bat (machine-specific paths); gitignore it
This commit is contained in:
1 parent
f8f94cdd87
commit
4147b55865
2 files changed
+1
-17
No files matched your search
@@ -191,3 +191,4 @@ build-pyinst/
|
||||
# Local working junk (frame captures, timerun state, PPM dumps) - moved here
|
||||
# from repo root / scratch on 2026-09-18; never commit.
|
||||
/local/
|
||||
build-pc-cmd.bat
|
||||
@@ -1,17 +0,0 @@
|
||||
@echo off
|
||||
REM D356-session fix: build the PC port from a plain cmd environment.
|
||||
REM
|
||||
REM Background: the pi agent shell (git-bash/MSYS) silently drops nearly all
|
||||
REM inherited env vars at the boundary into msys-2.0.dll programs (sh/gcc) --
|
||||
REM they see only ~7 MSYS-standard vars, so gcc has no TEMP/TMP and fails
|
||||
REM with "Cannot create temporary file in C:\Windows\: Permission denied"
|
||||
REM (silent exit 1 under ninja). cmd.exe carries the full Windows env, so we
|
||||
REM build through it with the MSYS2 toolchain prepended to PATH (needed for
|
||||
REM cc1's sibling DLLs) and a guaranteed-writable temp dir.
|
||||
setlocal
|
||||
set "PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%"
|
||||
set "TEMP=C:\Users\james\AppData\Local\Temp"
|
||||
set "TMP=%TEMP%"
|
||||
cd /d C:\Users\james\Source\Repos\gh-fullhist
|
||||
C:\msys64\mingw64\bin\cmake.exe --build build-pc -j %*
|
||||
endlocal & exit /b %errorlevel%
|
||||
Reference in new issue
Block a user