mirror of
https://github.com/python/cpython.git
synced 2025-11-12 15:09:14 +00:00
Do not hardcode the buildbot's directory name.
This commit is contained in:
parent
2a71a47c95
commit
92094d0f1c
1 changed files with 4 additions and 3 deletions
|
|
@ -7,19 +7,20 @@ call "%VS71COMNTOOLS%vsvars32.bat"
|
||||||
call "%MSSdk%\SetEnv" /XP64 /RETAIL
|
call "%MSSdk%\SetEnv" /XP64 /RETAIL
|
||||||
|
|
||||||
@rem Assume we start inside the Python source directory
|
@rem Assume we start inside the Python source directory
|
||||||
|
for %%i in (.) do set CWD=%%~fi
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
@rem sqlite
|
@rem sqlite
|
||||||
if not exist sqlite-source-3.3.4 (
|
if not exist sqlite-source-3.3.4 (
|
||||||
svn export http://svn.python.org/projects/external/sqlite-source-3.3.4
|
svn export http://svn.python.org/projects/external/sqlite-source-3.3.4
|
||||||
if exist build\PCbuild\sqlite3.dll del build\PCbuild\sqlite3.dll
|
if exist %CWD%\PCbuild\sqlite3.dll del %CWD%\PCbuild\sqlite3.dll
|
||||||
)
|
)
|
||||||
if not exist build\PCbuild\sqlite3.dll (
|
if not exist %CWD%\PCbuild\sqlite3.dll (
|
||||||
cd sqlite-source-3.3.4\amd64
|
cd sqlite-source-3.3.4\amd64
|
||||||
cl ..\*.c
|
cl ..\*.c
|
||||||
link /def:..\sqlite3.def /dll *.obj /out:sqlite3.dll bufferoverflowU.lib
|
link /def:..\sqlite3.def /dll *.obj /out:sqlite3.dll bufferoverflowU.lib
|
||||||
cd ..\..
|
cd ..\..
|
||||||
copy sqlite-source-3.3.4\amd64\sqlite3.dll build\PCbuild
|
copy sqlite-source-3.3.4\amd64\sqlite3.dll %CWD%\PCbuild
|
||||||
)
|
)
|
||||||
|
|
||||||
@rem bzip
|
@rem bzip
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue