From 3bca9f85d241d6de591001df71f1205dbf384e84 Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Sat, 27 May 2017 17:01:11 +0200 Subject: Update to AppVeyor because of changed Khronos repository (3) --- .appveyor.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index cb7dab46..52241a55 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -26,9 +26,12 @@ install: # The cmake build files expect a directory called inc - 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 # TODO: Remove? + - 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: wget $opencl_registry/api/2.1/cl.hpp -OutFile CL/cl.hpp + - ps: pushd CL + - ps: mv ./inc/CL/opencl11/CL/* . + - ps: popd # - 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 -- cgit v1.2.3