Version 3.0.21.02.21
[clinfo] / fetch-opencl-dev-win.cmd
1 REM call as fetch-opencl-dev-win x86|x86_64|x64
2
3 git clone https://github.com/KhronosGroup/OpenCL-Headers include
4
5 set sub=%1
6
7 if /i "%sub%" == "x64" set sub=x86_64
8
9 mkdir lib\%sub%
10 curl -L -o lib/%sub%/libOpenCL.a https://github.com/AMD-FirePro/SDK/raw/master/external/opencl-1.2/lib/%sub%/libOpenCL.a -o lib/%sub%/OpenCL.lib https://github.com/AMD-FirePro/SDK/raw/master/external/opencl-1.2/lib/%sub%/OpenCL.lib -o OpenCL.dll https://github.com/AMD-FirePro/SDK/raw/master/external/opencl-1.2/bin/%sub%/OpenCL.dll