summaryrefslogtreecommitdiffstats
path: root/build/msvc/build_python3.bat
diff options
context:
space:
mode:
Diffstat (limited to 'build/msvc/build_python3.bat')
-rw-r--r--build/msvc/build_python3.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/msvc/build_python3.bat b/build/msvc/build_python3.bat
index cc21f0f..4a570e3 100644
--- a/build/msvc/build_python3.bat
+++ b/build/msvc/build_python3.bat
@@ -7,7 +7,7 @@ set R=%CD%
call "%~dp0build_env.bat"
call "%B_WINPYTHON3%\scripts\env.bat"
-call "%B_VC%\vcvars64.bat"
+call "%B_VC%\vcvarsall.bat" amd64 8.1 -vcvars_ver=14.0
cd /D %R%
@@ -19,7 +19,7 @@ rd /s /q build
rd /s /q "%WINPYDIR%\lib\site-packages\astra"
set CL=/DASTRA_CUDA /DASTRA_PYTHON
-set INCLUDE=%R%\include;%R%\lib\include;%CUDA_PATH%\include
+set INCLUDE=%R%\include;%R%\lib\include;%CUDA_PATH%\include;%INCLUDE%
copy ..\bin\x64\Release_CUDA\AstraCuda64.lib astra.lib
python builder.py build_ext --compiler=msvc install
copy ..\bin\x64\Release_CUDA\AstraCuda64.dll "%WINPYDIR%\lib\site-packages\astra"