summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-05-27 17:17:10 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2017-05-27 17:17:10 +0200
commitbb37bd08140fc78674f257b9140cd8dcfe6f0d22 (patch)
tree2823f1e53a12bf7c09f7ecc92d111cca36cbcfdf
parent53d739129eeb954997eb901dfa1756a04f131a8d (diff)
Update to AppVeyor because of changed Khronos repository (6)
-rw-r--r--.appveyor.yml15
1 files changed, 4 insertions, 11 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index ccf95778..490a0f9d 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -27,13 +27,11 @@ install:
- ps: mkdir inc/CL
- git clone --depth 1 https://github.com/KhronosGroup/OpenCL-Headers.git inc/CL
- ps: wget $opencl_registry/api/2.1/cl.hpp -OutFile inc/CL/cl.hpp
- # Custom fix for missing CL/cl.h
- - ps: mkdir CL
- - ps: pushd CL
- - ps: mv ../inc/CL/opencl11/CL/* .
- - ps: ls
+ # Switch to OpenCL 1.2 headers
+ - ps: pushd inc/CL
+ - git fetch origin opencl12:opencl12
+ - git checkout opencl12
- ps: popd
- - ps: ls
# - ps: dir; if( $lastexitcode -eq 0 ){ dir include/CL } else { Write-Output boom }
# Create the static import lib in a directory called lib, so findopencl() will find it
- ps: mkdir lib
@@ -41,11 +39,6 @@ install:
- cmake -G "NMake Makefiles" ..
- nmake
- ps: popd
- # Switch to OpenCL 1.2 headers
- - ps: pushd inc/CL
- - git fetch origin opencl12:opencl12
- - git checkout opencl12
- - ps: popd
# Rename the inc directory to include, so FindOpencl() will find it
- ps: ren inc include
- ps: popd