Unverified Commit e72a4e8c authored by peastman's avatar peastman Committed by GitHub
Browse files

Merge pull request #2132 from peastman/appveyor

Attempt at fixing AppVeyor (again...)
parents 71e02fa9 5875d0f6
...@@ -30,6 +30,7 @@ install: ...@@ -30,6 +30,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: "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12;"
- ps: $opencl_registry = "https://www.khronos.org/registry/cl" - ps: $opencl_registry = "https://www.khronos.org/registry/cl"
- ps: $opencl_github = "KhronosGroup/OpenCL-Headers" - ps: $opencl_github = "KhronosGroup/OpenCL-Headers"
- ps: mkdir C:/opencl > $null - ps: mkdir C:/opencl > $null
...@@ -39,7 +40,7 @@ install: ...@@ -39,7 +40,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 https://github.com/$opencl_github/tree/master/CL | select -ExpandProperty links | where {$_.href -like "*.h*"} | select -ExpandProperty outerText | foreach{ wget https://raw.githubusercontent.com/$opencl_github/master/CL/$_ -OutFile inc/CL/$_ } - ps: wget https://github.com/$opencl_github/tree/master/CL -UseBasicParsing | select -ExpandProperty links | where {$_.href -like "*.h*"} | select -ExpandProperty title | foreach{ wget https://raw.githubusercontent.com/$opencl_github/master/CL/$_ -OutFile inc/CL/$_ -UseBasicParsing}
- 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