Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
691ee619
Unverified
Commit
691ee619
authored
Mar 27, 2020
by
peastman
Committed by
GitHub
Mar 27, 2020
Browse files
Merge pull request #2612 from andysim/azureupdate
Update Azure VM to newer version
parents
a752d258
5c35af26
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
.azure-pipelines/azure-pipelines-windows.yml
.azure-pipelines/azure-pipelines-windows.yml
+10
-6
No files found.
.azure-pipelines/azure-pipelines-windows.yml
View file @
691ee619
...
@@ -2,9 +2,9 @@ jobs:
...
@@ -2,9 +2,9 @@ jobs:
# Configure, build, install, and test job
# Configure, build, install, and test job
-
job
:
'
windows_build'
-
job
:
'
windows_build'
displayName
:
'
Windows
VS201
5
'
displayName
:
'
Windows
VS201
7
'
pool
:
pool
:
vmImage
:
'
vs201
5
-win201
2r2
'
vmImage
:
'
vs201
7
-win201
6
'
timeoutInMinutes
:
360
timeoutInMinutes
:
360
variables
:
variables
:
llvm.version
:
'
7.0.1'
llvm.version
:
'
7.0.1'
...
@@ -54,7 +54,7 @@ jobs:
...
@@ -54,7 +54,7 @@ jobs:
# Download OpenCL Headers and build the ICD loader
# Download OpenCL Headers and build the ICD loader
-
script
:
|
-
script
:
|
setlocal EnableDelayedExpansion
setlocal EnableDelayedExpansion
call "C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC
\vcvarsall.bat" x
86_amd
64
call "C:\Program Files (x86)\Microsoft Visual Studio
\2017\Enterprise\VC\Auxiliary\Build
\vcvarsall.bat" x64
mkdir opencl
mkdir opencl
cd opencl
cd opencl
wget https://www.khronos.org/registry/cl/specs/opencl-icd-1.2.11.0.tgz -O opencl-icd-1.2.11.0.tgz
wget https://www.khronos.org/registry/cl/specs/opencl-icd-1.2.11.0.tgz -O opencl-icd-1.2.11.0.tgz
...
@@ -67,7 +67,9 @@ jobs:
...
@@ -67,7 +67,9 @@ jobs:
move .\OpenCL-Headers-master\CL\*.h .\inc\CL\
move .\OpenCL-Headers-master\CL\*.h .\inc\CL\
mkdir lib > $null
mkdir lib > $null
cd lib
cd lib
cmake -G Ninja ..
cmake -G Ninja .. ^
-DCMAKE_CXX_COMPILER=cl.exe ^
-DCMAKE_C_COMPILER=cl.exe
cmake --build . ^
cmake --build . ^
-- -j %NUMBER_OF_PROCESSORS%
-- -j %NUMBER_OF_PROCESSORS%
displayName
:
"
Download
and
install
OpenCL"
displayName
:
"
Download
and
install
OpenCL"
...
@@ -75,12 +77,14 @@ jobs:
...
@@ -75,12 +77,14 @@ jobs:
# Configure
# Configure
-
script
:
|
-
script
:
|
setlocal EnableDelayedExpansion
setlocal EnableDelayedExpansion
call "C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC
\vcvarsall.bat" x
86_amd
64
call "C:\Program Files (x86)\Microsoft Visual Studio
\2017\Enterprise\VC\Auxiliary\Build
\vcvarsall.bat" x64
mkdir build & cd build
mkdir build & cd build
cmake -G Ninja ^
cmake -G Ninja ^
-DOPENCL_INCLUDE_DIR=$(Pipeline.Workspace)/opencl/inc ^
-DOPENCL_INCLUDE_DIR=$(Pipeline.Workspace)/opencl/inc ^
-DOPENCL_LIBRARY=$(Pipeline.Workspace)/opencl/lib/OpenCL.lib ^
-DOPENCL_LIBRARY=$(Pipeline.Workspace)/opencl/lib/OpenCL.lib ^
-DCMAKE_BUILD_TYPE=$(cmake.build.type) ^
-DCMAKE_BUILD_TYPE=$(cmake.build.type) ^
-DCMAKE_CXX_COMPILER=cl.exe ^
-DCMAKE_C_COMPILER=cl.exe ^
-DCMAKE_INSTALL_PREFIX=../install ^
-DCMAKE_INSTALL_PREFIX=../install ^
-DOPENMM_BUILD_EXAMPLES=OFF ^
-DOPENMM_BUILD_EXAMPLES=OFF ^
-DOPENMM_BUILD_OPENCL_TESTS=OFF ^
-DOPENMM_BUILD_OPENCL_TESTS=OFF ^
...
@@ -89,7 +93,7 @@ jobs:
...
@@ -89,7 +93,7 @@ jobs:
workingDirectory
:
$(Build.BinariesDirectory)
workingDirectory
:
$(Build.BinariesDirectory)
# Build
# Build
-
script
:
|
-
script
:
|
call "C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC
\vcvarsall.bat" x
86_amd
64
call "C:\Program Files (x86)\Microsoft Visual Studio
\2017\Enterprise\VC\Auxiliary\Build
\vcvarsall.bat" x64
cmake --build . ^
cmake --build . ^
--config $(cmake.build.type) ^
--config $(cmake.build.type) ^
-- -j %NUMBER_OF_PROCESSORS%
-- -j %NUMBER_OF_PROCESSORS%
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment