-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathrunicl64.bat
More file actions
37 lines (26 loc) · 1.44 KB
/
runicl64.bat
File metadata and controls
37 lines (26 loc) · 1.44 KB
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
28
29
30
31
32
33
34
35
36
37
rem Batch file for running Vector class library testbench with Intel compiler for Windows (64 bits).
rem Run this from a Windows command prompt.
rem (c) 2019 Agner Fog, GPL 3.0 or later
rem Note: Make sure environment variables and command lines are not too long.
rem The list of test cases is in file t.lst. Set $compiler=11 in t.lst
set oldpath=%path%
rem Set path to bash and other Linux-emulating commands. Avoid unnecessary paths
rem Use Cygwin bash, not Mingw or WSL.
set path=C:\Windows\system32;C:\Windows;C:\cygwin64\bin
rem Set paths and include directories for MS compiler and linker
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"
rem Set paths and include directories for Intel compiler
rem You may need to modify this path to fit your installation
set iclpath=C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019\windows
path %iclpath%\bin\intel64;%path%
rem Set paths and include directories for standard libraries
set INCLUDE=%iclpath%\compiler\include;%iclpath%\compiler\include\icc;%INCLUDE%
rem set LIB=%iclpath%\lib\intel64_win\
set LIB=%LIB%;C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019.4.245\windows\compiler\lib\intel64_win
echo running bash
rem Run bash script with listfile t.lst
bash runtest.sh t.lst
echo returned from bash
pause
set path=%oldpath%