Skip to content

Commit

Permalink
Simplify msbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
datumbox committed Dec 18, 2020
1 parent 34263bf commit cf4a080
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packaging/windows/internal/build_cmake.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@echo on
msbuild "-p:Configuration=Release" "-p:BuildInParallel=true" "-p:MultiProcessorCompilation=true" "-p:CL_MPCount=%1" torchvision.vcxproj -maxcpucount:%1
msbuild "-p:Configuration=Release" "-p:BuildInParallel=true" "-p:MultiProcessorCompilation=true" "-p:CL_MPCount=%1" INSTALL.vcxproj -maxcpucount:%1
msbuild -p:Configuration=Release -maxcpucount -p:CL_MPCount=%1 torchvision.vcxproj
msbuild -p:Configuration=Release -maxcpucount -p:CL_MPCount=%1 INSTALL.vcxproj
2 changes: 1 addition & 1 deletion packaging/windows/internal/build_cpp_example.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@echo on
set CL=/I"C:\Program Files (x86)\torchvision\include"
msbuild "-p:Configuration=Release" "-p:BuildInParallel=true" "-p:MultiProcessorCompilation=true" "-p:CL_MPCount=%1" hello-world.vcxproj -maxcpucount:%1
msbuild -p:Configuration=Release -maxcpucount -p:CL_MPCount=%1 hello-world.vcxproj
2 changes: 1 addition & 1 deletion packaging/windows/internal/build_frcnn.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@echo on
set CL=/I"C:\Program Files (x86)\torchvision\include"
msbuild "-p:Configuration=Release" "-p:BuildInParallel=true" "-p:MultiProcessorCompilation=true" "-p:CL_MPCount=%1" test_frcnn_tracing.vcxproj -maxcpucount:%1
msbuild -p:Configuration=Release -maxcpucount -p:CL_MPCount=%1 test_frcnn_tracing.vcxproj

0 comments on commit cf4a080

Please sign in to comment.