From bb37bd08140fc78674f257b9140cd8dcfe6f0d22 Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Sat, 27 May 2017 17:17:10 +0200 Subject: [PATCH] Update to AppVeyor because of changed Khronos repository (6) --- .appveyor.yml | 15 ++++----------- 1 file 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