mirror of
https://github.com/CNugteren/CLBlast.git
synced 2024-08-22 21:12:26 +02:00
Updated AppVeyor script to fix an issue with changes in the latest AppVeyor servers
This commit is contained in:
parent
c712fd4cb1
commit
a594067758
|
@ -1,8 +1,9 @@
|
||||||
environment:
|
environment:
|
||||||
global:
|
global:
|
||||||
CLBLAST_ROOT: "%APPVEYOR_BUILD_FOLDER%\\..\\bin\\clblast"
|
CLBLAST_BUILD: "%APPVEYOR_BUILD_FOLDER%\\..\\bin\\clblast"
|
||||||
|
INSTALL_DIR: "%APPVEYOR_BUILD_FOLDER%\\..\\bin\\install"
|
||||||
OPENCL_REGISTRY: "https://www.khronos.org/registry/cl"
|
OPENCL_REGISTRY: "https://www.khronos.org/registry/cl"
|
||||||
OPENCL_ROOT: "%APPVEYOR_BUILD_FOLDER%\\..\\bin\\opencl"
|
OPENCL_ROOT: "C:\\dependencies\\opencl"
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
- x64
|
- x64
|
||||||
|
@ -44,18 +45,18 @@ install:
|
||||||
- ps: popd
|
- ps: popd
|
||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
- ps: mkdir $env:CLBLAST_ROOT
|
- ps: mkdir $env:CLBLAST_BUILD
|
||||||
- ps: pushd $env:CLBLAST_ROOT
|
- ps: pushd $env:CLBLAST_BUILD
|
||||||
- ps: mkdir install_dir
|
- ps: mkdir $env:INSTALL_DIR
|
||||||
- cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=install_dir -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DTESTS=ON -DCLIENTS=ON -DSAMPLES=ON %APPVEYOR_BUILD_FOLDER%
|
- cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=$env:INSTALL_DIR -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DTESTS=ON -DCLIENTS=ON -DSAMPLES=ON %APPVEYOR_BUILD_FOLDER%
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- nmake
|
- nmake
|
||||||
- nmake install
|
- nmake install
|
||||||
|
|
||||||
after_build:
|
after_build:
|
||||||
- ps: pushd $env:CLBLAST_ROOT
|
- ps: pushd $env:CLBLAST_BUILD
|
||||||
- 7z a CLBlast-Windows-x64.zip .\install_dir\*
|
- 7z a CLBlast-Windows-x64.zip $env:INSTALL_DIR\*
|
||||||
- ps: mv CLBlast-Windows-x64.zip $env:APPVEYOR_BUILD_FOLDER
|
- ps: mv CLBlast-Windows-x64.zip $env:APPVEYOR_BUILD_FOLDER
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
Loading…
Reference in a new issue