mirror of
https://github.com/CNugteren/CLBlast.git
synced 2024-08-22 13:02:27 +02:00
Fix an issue with the packaging in the AppVeyor script
This commit is contained in:
parent
a594067758
commit
08abb7dfa4
|
@ -1,7 +1,6 @@
|
||||||
environment:
|
environment:
|
||||||
global:
|
global:
|
||||||
CLBLAST_BUILD: "%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: "C:\\dependencies\\opencl"
|
OPENCL_ROOT: "C:\\dependencies\\opencl"
|
||||||
|
|
||||||
|
@ -47,8 +46,8 @@ install:
|
||||||
before_build:
|
before_build:
|
||||||
- ps: mkdir $env:CLBLAST_BUILD
|
- ps: mkdir $env:CLBLAST_BUILD
|
||||||
- ps: pushd $env:CLBLAST_BUILD
|
- ps: pushd $env:CLBLAST_BUILD
|
||||||
- ps: mkdir $env:INSTALL_DIR
|
- ps: mkdir install_dir
|
||||||
- cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=$env:INSTALL_DIR -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DTESTS=ON -DCLIENTS=ON -DSAMPLES=ON %APPVEYOR_BUILD_FOLDER%
|
- cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=install_dir -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DTESTS=ON -DCLIENTS=ON -DSAMPLES=ON %APPVEYOR_BUILD_FOLDER%
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- nmake
|
- nmake
|
||||||
|
@ -56,7 +55,7 @@ build_script:
|
||||||
|
|
||||||
after_build:
|
after_build:
|
||||||
- ps: pushd $env:CLBLAST_BUILD
|
- ps: pushd $env:CLBLAST_BUILD
|
||||||
- 7z a CLBlast-Windows-x64.zip $env:INSTALL_DIR\*
|
- 7z a CLBlast-Windows-x64.zip .\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