mirror of
https://github.com/CNugteren/CLBlast.git
synced 2024-07-07 12:23:46 +02:00
Update to AppVeyor because of changed Khronos repository (6)
This commit is contained in:
parent
53d739129e
commit
bb37bd0814
|
@ -27,13 +27,11 @@ install:
|
||||||
- ps: mkdir inc/CL
|
- ps: mkdir inc/CL
|
||||||
- git clone --depth 1 https://github.com/KhronosGroup/OpenCL-Headers.git 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
|
- ps: wget $opencl_registry/api/2.1/cl.hpp -OutFile inc/CL/cl.hpp
|
||||||
# Custom fix for missing CL/cl.h
|
# Switch to OpenCL 1.2 headers
|
||||||
- ps: mkdir CL
|
- ps: pushd inc/CL
|
||||||
- ps: pushd CL
|
- git fetch origin opencl12:opencl12
|
||||||
- ps: mv ../inc/CL/opencl11/CL/* .
|
- git checkout opencl12
|
||||||
- ps: ls
|
|
||||||
- ps: popd
|
- ps: popd
|
||||||
- ps: ls
|
|
||||||
# - ps: dir; if( $lastexitcode -eq 0 ){ dir include/CL } else { Write-Output boom }
|
# - 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
|
# Create the static import lib in a directory called lib, so findopencl() will find it
|
||||||
- ps: mkdir lib
|
- ps: mkdir lib
|
||||||
|
@ -41,11 +39,6 @@ install:
|
||||||
- cmake -G "NMake Makefiles" ..
|
- cmake -G "NMake Makefiles" ..
|
||||||
- nmake
|
- nmake
|
||||||
- ps: popd
|
- 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
|
# Rename the inc directory to include, so FindOpencl() will find it
|
||||||
- ps: ren inc include
|
- ps: ren inc include
|
||||||
- ps: popd
|
- ps: popd
|
||||||
|
|
Loading…
Reference in a new issue