Skip to content

Commit c183897

Browse files
authored
feat(shannon): to support ML (mysql#148)
* feat(shannon): to support ML
1 parent ce7aa0f commit c183897

File tree

4,080 files changed

+1224935
-252
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,080 files changed

+1224935
-252
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# clone directory
2+
clone_folder: C:\boost.compute
3+
4+
# do not build on tags
5+
skip_tags: true
6+
7+
# clone only the top level commit
8+
shallow_clone: true
9+
10+
# branches to build
11+
branches:
12+
# blacklist
13+
except:
14+
- gh-pages
15+
16+
# environment variables
17+
environment:
18+
global:
19+
BOOST_COMPUTE_DEFAULT_PLATFORM: Intel(R) OpenCL
20+
# OpenCL version used in tests (2.0)
21+
OPENCL_VERSION: 200
22+
CXXFLAGS: -DBOOST_COMPUTE_MAX_CL_VERSION=%OPENCL_VERSION%
23+
matrix:
24+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
25+
CMAKE_GENERATOR: Visual Studio 15 2017 Win64
26+
BOOST_ROOT: C:\Libraries\boost_1_67_0
27+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
28+
CMAKE_GENERATOR: Visual Studio 14 2015 Win64
29+
BOOST_ROOT: C:\Libraries\boost_1_63_0
30+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
31+
CMAKE_GENERATOR: Visual Studio 12 2013 Win64
32+
BOOST_ROOT: C:\Libraries\boost_1_58_0
33+
34+
before_build:
35+
# Install OpenCL headers and libraries
36+
- set NUGETDIR=C:\NUGET
37+
- nuget install opencl-nug -Version 0.777.77 -OutputDirectory %NUGETDIR%
38+
- dir %NUGETDIR%\opencl-nug.0.777.77\build\native\
39+
- set OCL_ROOT=%NUGETDIR%\opencl-nug.0.777.77\build\native
40+
# Install OpenCL Runtime
41+
- choco install opencl-intel-cpu-runtime
42+
# Check if it's working
43+
- ps: appveyor DownloadFile "https://ci.appveyor.com/api/projects/oblomov/clinfo/artifacts/clinfo.exe?job=platform:+x64" -FileName clinfo.exe
44+
- .\clinfo.exe
45+
46+
build_script:
47+
- mkdir build && cd build
48+
- cmake -G"%CMAKE_GENERATOR%" -DBOOST_COMPUTE_BUILD_TESTS=ON -DBOOST_COMPUTE_BUILD_EXAMPLES=ON ..
49+
- cmake --build . --config Debug
50+
51+
test_script:
52+
- .\example\Debug\list_devices.exe
53+
- .\example\Debug\hello_world.exe
54+
- ctest --output-on-failure --repeat-until-fail 2
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
service_name: travis-ci
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# build directory
2+
build/
3+
4+
# python compiled files
5+
*.pyc
6+
7+
# vim temp files
8+
.*.sw*
9+
10+
# generated documentation
11+
bin/
12+
doc/bin/
13+
doc/html/
14+
doc/autodoc.xml

0 commit comments

Comments
 (0)