mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 10:12:44 +00:00
build-deps/mpfr: clean up repo dir on the rebuild
For consistency with `mpir`
This commit is contained in:
@@ -347,6 +347,7 @@ call :GitCloneAndCheckoutRevision https://github.com/aothms/mpfr.git "%DEPENDENC
|
|||||||
IF NOT %ERRORLEVEL%==0 GOTO :Error
|
IF NOT %ERRORLEVEL%==0 GOTO :Error
|
||||||
pushd "%DEPENDENCY_DIR%"
|
pushd "%DEPENDENCY_DIR%"
|
||||||
git reset --hard
|
git reset --hard
|
||||||
|
git clean -fdx
|
||||||
powershell -c "get-content %~dp0patches\mpfr.patch | %%{$_ -replace \"sdk\",\"%UCRTVersion%\"} | %%{$_ -replace \"fn\",\"lib_mpfr\"}" | git apply --unidiff-zero --ignore-whitespace
|
powershell -c "get-content %~dp0patches\mpfr.patch | %%{$_ -replace \"sdk\",\"%UCRTVersion%\"} | %%{$_ -replace \"fn\",\"lib_mpfr\"}" | git apply --unidiff-zero --ignore-whitespace
|
||||||
IF NOT %ERRORLEVEL%==0 GOTO :Error
|
IF NOT %ERRORLEVEL%==0 GOTO :Error
|
||||||
git apply "%~dp0patches\mpfr_runtime.patch" --unidiff-zero --ignore-whitespace
|
git apply "%~dp0patches\mpfr_runtime.patch" --unidiff-zero --ignore-whitespace
|
||||||
|
|||||||
Reference in New Issue
Block a user