-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
133 lines (118 loc) · 3.61 KB
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
kind: pipeline
name: amd64_arch
platform:
os: linux
arch: amd64
steps:
- name: build_and_test
image: archlinux/base
environment:
POCL_BUILDING: 1
POCL_CACHE_DIR: /tmp/cache
POCL_MAX_PTHREAD_COUNT: 2
commands:
- pacman --noconfirm -Sy
- pacman --noconfirm -S gcc patch hwloc cmake git pkg-config make ninja ocl-icd clang llvm llvm-libs clinfo opencl-headers
- mkdir build
- cd build
- cmake -DDEVELOPER_MODE=ON -DCMAKE_INSTALL_PREFIX=/usr -G Ninja ..
- ninja
- ninja install
- clinfo
- ctest -j12 --output-on-failure -L internal
---
kind: pipeline
name: arm64_ub1804_llvm6
platform:
os: linux
arch: arm64
steps:
- name: build_and_test
image: arm64v8/ubuntu:18.04
environment:
POCL_BUILDING: 1
POCL_CACHE_DIR: /tmp/cache
POCL_MAX_PTHREAD_COUNT: 2
commands:
- apt update
- apt upgrade -y
- apt install -y build-essential ocl-icd-libopencl1 cmake git pkg-config libclang-6.0-dev clang-6.0 llvm-6.0 make ninja-build ocl-icd-libopencl1 ocl-icd-dev ocl-icd-opencl-dev libhwloc-dev zlib1g zlib1g-dev clinfo dialog apt-utils
- mkdir build
- cd build
- cmake -DDEVELOPER_MODE=ON -DLLC_HOST_CPU=thunderx -DCMAKE_INSTALL_PREFIX=/usr -G Ninja ..
- ninja
- ninja install
- clinfo
- ctest -j32 --output-on-failure -L internal
---
kind: pipeline
name: arm64_ub1804_llvm9
platform:
os: linux
arch: arm64
steps:
- name: build_and_test
image: arm64v8/ubuntu:18.04
environment:
POCL_BUILDING: 1
POCL_CACHE_DIR: /tmp/cache
POCL_MAX_PTHREAD_COUNT: 2
commands:
- apt update
- apt upgrade -y
- apt install -y build-essential ocl-icd-libopencl1 cmake git pkg-config libclang-9-dev clang-9 llvm-9 make ninja-build ocl-icd-libopencl1 ocl-icd-dev ocl-icd-opencl-dev libhwloc-dev zlib1g zlib1g-dev clinfo dialog apt-utils
- mkdir build
- cd build
- cmake -DDEVELOPER_MODE=ON -DLLC_HOST_CPU=thunderx -DCMAKE_INSTALL_PREFIX=/usr -G Ninja ..
- ninja
- ninja install
- clinfo
- ctest -j32 --output-on-failure -L internal
---
kind: pipeline
name: arm32_ub1804_llvm6
platform:
os: linux
arch: arm
steps:
- name: build_and_test
image: arm32v7/ubuntu:18.04
environment:
POCL_BUILDING: 1
POCL_CACHE_DIR: /tmp/cache
POCL_MAX_PTHREAD_COUNT: 2
commands:
- apt update
- apt upgrade -y
- apt install -y build-essential ocl-icd-libopencl1 cmake git pkg-config libclang-6.0-dev clang-6.0 llvm-6.0 make ninja-build ocl-icd-libopencl1 ocl-icd-dev ocl-icd-opencl-dev libhwloc-dev zlib1g zlib1g-dev clinfo dialog apt-utils
- mkdir build
- cd build
- cmake -DENABLE_FP64=OFF -DDEVELOPER_MODE=ON -DLLC_HOST_CPU=cortex-a15 -DLLC_TRIPLE=armv7l-unknown-linux-gnueabihf -DEXTRA_KERNEL_FLAGS="-mfloat-abi=hard -mfpu=neon" -DCMAKE_INSTALL_PREFIX=/usr -G Ninja ..
- ninja
- ninja install
- clinfo
- ctest -j32 --output-on-failure -L internal
---
kind: pipeline
name: arm32_ub1804_llvm9
platform:
os: linux
arch: arm
steps:
- name: build_and_test
image: arm32v7/ubuntu:18.04
environment:
POCL_BUILDING: 1
POCL_CACHE_DIR: /tmp/cache
POCL_MAX_PTHREAD_COUNT: 2
commands:
- apt update
- apt upgrade -y
- apt install -y build-essential ocl-icd-libopencl1 cmake git pkg-config libclang-9-dev clang-9 llvm-9 make ninja-build ocl-icd-libopencl1 ocl-icd-dev ocl-icd-opencl-dev libhwloc-dev zlib1g zlib1g-dev clinfo dialog apt-utils
- mkdir build
- cd build
- cmake -DENABLE_FP64=OFF -DDEVELOPER_MODE=ON -DLLC_HOST_CPU=cortex-a15 -DLLC_TRIPLE=armv7l-unknown-linux-gnueabihf -DEXTRA_KERNEL_FLAGS="-mfloat-abi=hard -mfpu=neon" -DCMAKE_INSTALL_PREFIX=/usr -G Ninja ..
- ninja
- ninja install
- clinfo
- ctest -j32 --output-on-failure -L internal