Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable openCL for appveyor: #104

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 1 addition & 19 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,7 @@ environment:
CXXSTD: 11

install:
- cd "C:\Tools\vcpkg"
- git pull
- .\bootstrap-vcpkg.bat
- cd %appveyor_build_folder%
# Install OpenCL runtime (driver) for Intel / Xeon package
- appveyor DownloadFile "http://registrationcenter-download.intel.com/akdlm/irc_nas/9022/opencl_runtime_16.1.1_x64_setup.msi"
- start /wait msiexec /i opencl_runtime_16.1.1_x64_setup.msi /qn /l*v msiexec2.log
# FIXME: To be removed https://help.appveyor.com/discussions/problems/13000-cmake_toolchain_filevcpkgcmake-conflicts-with-cmake-native-findboostcmake"
- ps: 'Write-Host "Installing latest vcpkg.cmake module" -ForegroundColor Magenta'
- appveyor DownloadFile https://raw.githubusercontent.com/Microsoft/vcpkg/master/scripts/buildsystems/vcpkg.cmake -FileName "c:\tools\vcpkg\scripts\buildsystems\vcpkg.cmake"
- set "TRIPLET=x64-windows"
- vcpkg --triplet %TRIPLET% install opencl clblas
- set PATH=C:\Tools\vcpkg\installed\%TRIPLET%\bin;%PATH%
- set VCPKG_I=C:\Tools\vcpkg\installed\%TRIPLET%\include
- set VCPKG_L=C:\Tools\vcpkg\installed\%TRIPLET%\lib
- set BOOST_BRANCH=develop
- if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master
- cd ..
Expand All @@ -57,11 +43,7 @@ install:
@'
import os regex toolset ;
local toolset = [ regex.split [ os.environ TOOLSET ] "-" ] ;
local vcpkg_i = [ os.environ VCPKG_I ] ;
local vcpkg_l = [ os.environ VCPKG_L ] ;
using $(toolset[1]) : $(toolset[2-]:J="-") : ;
using opencl : : <include>$(vcpkg_i) <search>$(vcpkg_l) ;
using clblas : : <include>$(vcpkg_i) <search>$(vcpkg_l) ;
'@ | sc "$env:USERPROFILE/user-config.jam"
- cmd /c bootstrap
- b2 -j3 headers
Expand All @@ -71,4 +53,4 @@ build: off
test_script:
- if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
- set ADDRMD=address-model=64
- b2 -j3 libs/numeric/ublas/test toolset=%TOOLSET% %CXXSTD% %ADDRMD%
- b2 -j3 libs/numeric/ublas/test toolset=%TOOLSET% %CXXSTD% %ADDRMD%