-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathrunclangcl64.bat
More file actions
27 lines (19 loc) · 966 Bytes
/
runclangcl64.bat
File metadata and controls
27 lines (19 loc) · 966 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
rem Batch file for running Vector class testbench with the version of Clang
rem that comes as a plugin to MS Visual Studio (64 bits).
rem Run this from a Windows command prompt.
rem (c) 2019 Agner Fog, GPL 3.0 or later
rem The list of test cases is in file t.lst. Set $compiler=2 in t.lst
set oldpath=%path%
rem Set path to bash and other Linux-emulating commands and to the Clang compiler.
rem Avoid unnecessary paths.
rem Use Cygwin bash, not Mingw or WSL.
set path=C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\Llvm\8.0.0\bin
rem Set paths and include directories for MS compiler
rem You may need to modify this path to fit your installation
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
echo running bash
rem Run bash script with listfile t.lst
bash runtest.sh t.lst
echo returned from bash
pause
set path=%oldpath%