forked from pocl/pocl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
165 lines (148 loc) · 4.68 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
kind: pipeline
name: amd64_ub2004_distro
platform:
os: linux
arch: amd64
steps:
- name: build_and_test
image: amd64/ubuntu:20.04
environment:
POCL_CACHE_DIR: /tmp/cache
POCL_MAX_PTHREAD_COUNT: 2
DEBIAN_FRONTEND: noninteractive
commands:
- apt update
- apt upgrade -y
- apt install -y build-essential ocl-icd-libopencl1 cmake git pkg-config libclang-12-dev libclang-cpp12-dev clang-12 llvm-12-dev 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 -DKERNELLIB_HOST_CPU_VARIANTS=distro -DPOCL_ICD_ABSOLUTE_PATH=OFF -DENABLE_POCL_BUILDING=OFF -DCMAKE_INSTALL_PREFIX=/usr -G Ninja ..
- ninja
- ninja install
- clinfo
- rm CTestCustom.cmake
- ctest -j32 --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_CACHE_DIR: /tmp/cache
POCL_MAX_PTHREAD_COUNT: 2
DEBIAN_FRONTEND: noninteractive
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
DEBIAN_FRONTEND: noninteractive
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: arm64_ub2004_llvm10
platform:
os: linux
arch: arm64
steps:
- name: build_and_test
image: arm64v8/ubuntu:20.04
environment:
POCL_BUILDING: 1
POCL_CACHE_DIR: /tmp/cache
POCL_MAX_PTHREAD_COUNT: 2
DEBIAN_FRONTEND: noninteractive
commands:
- apt update
- apt upgrade -y
- apt install -y build-essential ocl-icd-libopencl1 cmake git pkg-config libclang-10-dev libclang-cpp10-dev clang-10 llvm-10-dev 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_ub2004_llvm12
platform:
os: linux
arch: arm64
steps:
- name: build_and_test
image: arm64v8/ubuntu:20.04
environment:
POCL_BUILDING: 1
POCL_CACHE_DIR: /tmp/cache
POCL_MAX_PTHREAD_COUNT: 2
DEBIAN_FRONTEND: noninteractive
commands:
- apt update
- apt upgrade -y
- apt install -y build-essential ocl-icd-libopencl1 cmake git pkg-config libclang-12-dev libclang-cpp12-dev clang-12 llvm-12-dev 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_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
DEBIAN_FRONTEND: noninteractive
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 -E test_issue_757