summaryrefslogtreecommitdiff
path: root/src/pal/tools/gen-buildsys-win.bat
diff options
context:
space:
mode:
authorRahul Kumar <rahku@microsoft.com>2015-11-23 17:11:42 -0800
committerjashook <jashoo@microsoft.com>2015-12-15 10:15:40 -0800
commitab8261b9853b50b3714ba80717e9164dfb765c74 (patch)
tree099768489a0b812101d7cc2ac4253c11b9909ec4 /src/pal/tools/gen-buildsys-win.bat
parentb171cfd0c7179c39e8959d42aa3505ccfea1e834 (diff)
downloadcoreclr-ab8261b9853b50b3714ba80717e9164dfb765c74.tar.gz
coreclr-ab8261b9853b50b3714ba80717e9164dfb765c74.tar.bz2
coreclr-ab8261b9853b50b3714ba80717e9164dfb765c74.zip
Build arm64 using private toolset
Successfully builds all binaries except sos.dll & x64 binaries
Diffstat (limited to 'src/pal/tools/gen-buildsys-win.bat')
-rw-r--r--src/pal/tools/gen-buildsys-win.bat9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/pal/tools/gen-buildsys-win.bat b/src/pal/tools/gen-buildsys-win.bat
index 2d0057e78d..0836268860 100644
--- a/src/pal/tools/gen-buildsys-win.bat
+++ b/src/pal/tools/gen-buildsys-win.bat
@@ -18,6 +18,9 @@ if %basePath:~-1%==\ set "basePath=%basePath:~0,-1%"
set __VSString=12 2013
if /i "%2" == "vs2015" (set __VSString=14 2015)
if /i "%3" == "x64" (set __VSString=%__VSString% Win64)
+if /i "%3" == "arm64" (
+ set USE_VS=0
+)
if defined CMakePath goto DoGen
@@ -25,7 +28,11 @@ if defined CMakePath goto DoGen
for /f "delims=" %%a in ('powershell -NoProfile -ExecutionPolicy RemoteSigned "& .\probe-win.ps1"') do %%a
:DoGen
-"%CMakePath%" "-DCMAKE_USER_MAKE_RULES_OVERRIDE=%basePath%\windows-compiler-override.txt" "-DCLR_CMAKE_TARGET_ARCH=%3" -G "Visual Studio %__VSString%" %1
+if "%USE_VS%" == "0" (
+ "%CMakePath%" "-DCMAKE_USER_MAKE_RULES_OVERRIDE=%basePath%\windows-compiler-override.txt" "-DCLR_CMAKE_TARGET_ARCH=%3" -G "Visual Studio %__VSString% Win64" %1
+) else (
+ "%CMakePath%" "-DCMAKE_USER_MAKE_RULES_OVERRIDE=%basePath%\windows-compiler-override.txt" "-DCLR_CMAKE_TARGET_ARCH=%3" -G "Visual Studio %__VSString%" %1
+)
endlocal
GOTO :DONE