Commit 48e55c59 authored by peastman's avatar peastman
Browse files

Fix OpenCL on AppVeyor

parent d4d25d46
...@@ -28,7 +28,7 @@ install: ...@@ -28,7 +28,7 @@ install:
- choco install -y doxygen.portable swig > null - choco install -y doxygen.portable swig > null
# Download OpenCL Headers and build the ICD loader # Download OpenCL Headers and build the ICD loader
- ps: $opencl_registry = "https://www.khronos.org/registry/cl" - ps: $opencl_registry = "https://github.com/KhronosGroup/OpenCL-Headers/"
- ps: mkdir C:/opencl > $null - ps: mkdir C:/opencl > $null
- ps: cd C:/opencl - ps: cd C:/opencl
- ps: wget $opencl_registry/specs/opencl-icd-1.2.11.0.tgz -OutFile opencl-icd-1.2.11.0.tgz - ps: wget $opencl_registry/specs/opencl-icd-1.2.11.0.tgz -OutFile opencl-icd-1.2.11.0.tgz
...@@ -36,7 +36,7 @@ install: ...@@ -36,7 +36,7 @@ install:
- ps: 7z x opencl-icd-1.2.11.0.tar > $null - ps: 7z x opencl-icd-1.2.11.0.tar > $null
- ps: mv .\icd\* . - ps: mv .\icd\* .
- ps: mkdir inc/CL > $null - ps: mkdir inc/CL > $null
- ps: wget $opencl_registry/api/1.2/ | select -ExpandProperty links | where {$_.href -like "*.h*"} | select -ExpandProperty outerText | foreach{ wget $opencl_registry/api/1.2/$_ -OutFile inc/CL/$_ } - ps: wget $opencl_registry | select -ExpandProperty links | where {$_.href -like "*.h*"} | select -ExpandProperty outerText | foreach{ wget https://raw.githubusercontent.com/KhronosGroup/OpenCL-Headers/master/$_ -OutFile inc/CL/$_ }
- ps: mkdir lib > $null - ps: mkdir lib > $null
- ps: cd lib - ps: cd lib
- cmake -G "NMake Makefiles" .. - cmake -G "NMake Makefiles" ..
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment