Eric Engestrom | 329f5cd | 2019-01-20 11:21:45 +0000 | [diff] [blame] | 1 | # This is the tag of the docker image used for the build jobs. If the |
| 2 | # image doesn't exist yet, the containers-build stage generates it. |
| 3 | # |
| 4 | # In order to generate a new image, one should generally change the tag. |
| 5 | # While removing the image from the registry would also work, that's not |
| 6 | # recommended except for ephemeral images during development: Replacing |
| 7 | # an image after a significant amount of time might pull in newer |
| 8 | # versions of gcc/clang or other packages, which might break the build |
| 9 | # with older commits using the same tag. |
| 10 | # |
| 11 | # After merging a change resulting in generating a new image to the |
| 12 | # main repository, it's recommended to remove the image from the source |
| 13 | # repository's container registry, so that the image from the main |
| 14 | # repository's registry will be used there as well. |
| 15 | # |
| 16 | # The format of the tag is "%Y-%m-%d-${counter}" where ${counter} stays |
| 17 | # at "01" unless you have multiple updates on the same day :) |
| 18 | variables: |
Andres Gomez | cf79d62 | 2019-03-05 13:55:17 +0200 | [diff] [blame] | 19 | UBUNTU_TAG: 2019-03-05-01 |
Eric Engestrom | 3dc5faf | 2019-02-08 17:43:55 +0000 | [diff] [blame] | 20 | UBUNTU_IMAGE: "$CI_REGISTRY_IMAGE/ubuntu:$UBUNTU_TAG" |
Michel Dänzer | d6c55f6 | 2019-02-08 10:14:58 +0100 | [diff] [blame] | 21 | UBUNTU_IMAGE_MAIN: "registry.freedesktop.org/mesa/mesa/ubuntu:$UBUNTU_TAG" |
Eric Engestrom | 329f5cd | 2019-01-20 11:21:45 +0000 | [diff] [blame] | 22 | |
Eric Engestrom | 23b485c | 2019-02-12 16:59:27 +0000 | [diff] [blame] | 23 | cache: |
| 24 | paths: |
| 25 | - ccache |
Eric Engestrom | 329f5cd | 2019-01-20 11:21:45 +0000 | [diff] [blame] | 26 | |
| 27 | stages: |
| 28 | - containers-build |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 29 | - build+test |
Eric Engestrom | 329f5cd | 2019-01-20 11:21:45 +0000 | [diff] [blame] | 30 | |
| 31 | |
Eric Engestrom | 7f5d9c2 | 2019-02-22 15:52:08 +0000 | [diff] [blame] | 32 | # When to automatically run the CI |
| 33 | .ci-run-policy: |
| 34 | only: |
| 35 | - master |
| 36 | - merge_requests |
| 37 | - /^ci([-/].*)?$/ |
| 38 | |
| 39 | |
Eric Engestrom | 329f5cd | 2019-01-20 11:21:45 +0000 | [diff] [blame] | 40 | # CONTAINERS |
| 41 | |
Eric Engestrom | faf9e40 | 2019-02-26 14:40:29 +0000 | [diff] [blame] | 42 | ubuntu: |
Eric Engestrom | 7f5d9c2 | 2019-02-22 15:52:08 +0000 | [diff] [blame] | 43 | extends: .ci-run-policy |
Eric Engestrom | 329f5cd | 2019-01-20 11:21:45 +0000 | [diff] [blame] | 44 | stage: containers-build |
| 45 | image: docker:stable |
| 46 | services: |
| 47 | - docker:dind |
| 48 | variables: |
| 49 | DOCKER_HOST: tcp://docker:2375 |
| 50 | DOCKER_DRIVER: overlay2 |
| 51 | script: |
| 52 | # Enable experimental features such as `docker manifest inspect` |
| 53 | - mkdir -p ~/.docker |
| 54 | - "echo '{\"experimental\": \"enabled\"}' > ~/.docker/config.json" |
| 55 | - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY |
| 56 | # Check if the image (with the specific tag) already exists |
| 57 | - docker manifest inspect $UBUNTU_IMAGE && exit || true |
Michel Dänzer | d6c55f6 | 2019-02-08 10:14:58 +0100 | [diff] [blame] | 58 | # Try to re-use the image from the main repository's registry |
| 59 | - docker image pull $UBUNTU_IMAGE_MAIN && |
| 60 | docker image tag $UBUNTU_IMAGE_MAIN $UBUNTU_IMAGE && |
| 61 | docker image push $UBUNTU_IMAGE && exit || true |
Eric Engestrom | 329f5cd | 2019-01-20 11:21:45 +0000 | [diff] [blame] | 62 | - docker build -t $UBUNTU_IMAGE -f .gitlab-ci/Dockerfile.ubuntu . |
| 63 | - docker push $UBUNTU_IMAGE |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 64 | |
| 65 | |
| 66 | # BUILD |
| 67 | |
| 68 | .build: |
Eric Engestrom | 7f5d9c2 | 2019-02-22 15:52:08 +0000 | [diff] [blame] | 69 | extends: .ci-run-policy |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 70 | image: $UBUNTU_IMAGE |
| 71 | stage: build+test |
| 72 | artifacts: |
| 73 | when: on_failure |
| 74 | untracked: true |
Eric Engestrom | 23b485c | 2019-02-12 16:59:27 +0000 | [diff] [blame] | 75 | # Use ccache transparently, and print stats before/after |
| 76 | before_script: |
| 77 | - export PATH="/usr/lib/ccache:$PATH" |
| 78 | - export CCACHE_BASEDIR="$PWD" |
| 79 | - export CCACHE_DIR="$PWD/ccache" |
| 80 | - export CCACHE_COMPILERCHECK=content |
| 81 | - ccache --zero-stats || true |
| 82 | - ccache --show-stats || true |
| 83 | after_script: |
| 84 | - export CCACHE_DIR="$PWD/ccache" |
| 85 | - ccache --show-stats |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 86 | |
| 87 | .meson-build: |
| 88 | extends: .build |
Eric Engestrom | 23b485c | 2019-02-12 16:59:27 +0000 | [diff] [blame] | 89 | script: |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 90 | # We need to control the version of llvm-config we're using, so we'll |
| 91 | # generate a native file to do so. This requires meson >=0.49 |
| 92 | - if test -n "$LLVM_VERSION"; then |
| 93 | LLVM_CONFIG="llvm-config-${LLVM_VERSION}"; |
| 94 | echo -e "[binaries]\nllvm-config = '`which $LLVM_CONFIG`'" > native.file; |
| 95 | $LLVM_CONFIG --version; |
| 96 | else |
| 97 | touch native.file; |
| 98 | fi |
| 99 | - meson --version |
| 100 | - meson _build |
| 101 | --native-file=native.file |
| 102 | -D build-tests=true |
| 103 | -D libunwind=${UNWIND} |
| 104 | ${DRI_LOADERS} |
| 105 | -D dri-drivers=${DRI_DRIVERS:-[]} |
| 106 | ${GALLIUM_ST} |
| 107 | -D gallium-drivers=${GALLIUM_DRIVERS:-[]} |
| 108 | -D vulkan-drivers=${VULKAN_DRIVERS:-[]} |
| 109 | - cd _build |
| 110 | - meson configure |
Eric Engestrom | 68a9383 | 2019-02-13 14:25:45 +0000 | [diff] [blame] | 111 | - ninja -j4 |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 112 | - ninja test |
| 113 | |
Eric Engestrom | 89a7467 | 2019-01-21 09:42:37 +0000 | [diff] [blame] | 114 | .make-build: |
| 115 | extends: .build |
| 116 | variables: |
| 117 | MAKEFLAGS: "-j4" |
Eric Engestrom | 23b485c | 2019-02-12 16:59:27 +0000 | [diff] [blame] | 118 | script: |
Eric Engestrom | 89a7467 | 2019-01-21 09:42:37 +0000 | [diff] [blame] | 119 | - if test -n "$LLVM_VERSION"; then |
| 120 | export LLVM_CONFIG="llvm-config-${LLVM_VERSION}"; |
| 121 | fi |
| 122 | - mkdir build |
| 123 | - cd build |
| 124 | - ../autogen.sh |
| 125 | --enable-autotools |
| 126 | --enable-debug |
| 127 | $LIBUNWIND_FLAGS |
| 128 | $DRI_LOADERS |
| 129 | --with-dri-drivers=$DRI_DRIVERS |
| 130 | $GALLIUM_ST |
| 131 | --with-gallium-drivers=$GALLIUM_DRIVERS |
| 132 | --with-vulkan-drivers=$VULKAN_DRIVERS |
| 133 | --disable-llvm-shared-libs |
Eric Engestrom | 89a7467 | 2019-01-21 09:42:37 +0000 | [diff] [blame] | 134 | - make |
| 135 | - eval $MAKE_CHECK_COMMAND |
| 136 | |
Eric Engestrom | 06b245b | 2019-01-23 15:46:10 +0000 | [diff] [blame] | 137 | .scons-build: |
| 138 | extends: .build |
| 139 | variables: |
| 140 | SCONSFLAGS: "-j4" |
| 141 | script: |
Eric Engestrom | d4c6d4d | 2019-01-28 16:30:36 +0000 | [diff] [blame] | 142 | - if test -n "$LLVM_VERSION"; then |
| 143 | export LLVM_CONFIG="llvm-config-${LLVM_VERSION}"; |
| 144 | fi |
Eric Engestrom | 06b245b | 2019-01-23 15:46:10 +0000 | [diff] [blame] | 145 | - scons $SCONS_TARGET |
| 146 | - eval $SCONS_CHECK_COMMAND |
| 147 | |
Eric Engestrom | faf9e40 | 2019-02-26 14:40:29 +0000 | [diff] [blame] | 148 | meson-vulkan: |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 149 | extends: .meson-build |
| 150 | variables: |
| 151 | UNWIND: "false" |
| 152 | DRI_LOADERS: > |
| 153 | -D glx=disabled |
| 154 | -D gbm=false |
| 155 | -D egl=false |
| 156 | -D platforms=x11,wayland,drm |
| 157 | -D osmesa=none |
| 158 | GALLIUM_ST: > |
| 159 | -D dri3=true |
| 160 | -D gallium-vdpau=false |
| 161 | -D gallium-xvmc=false |
| 162 | -D gallium-omx=disabled |
| 163 | -D gallium-va=false |
| 164 | -D gallium-xa=false |
| 165 | -D gallium-nine=false |
| 166 | -D gallium-opencl=disabled |
| 167 | VULKAN_DRIVERS: intel,amd |
| 168 | LLVM_VERSION: "7" |
Eric Engestrom | 89a7467 | 2019-01-21 09:42:37 +0000 | [diff] [blame] | 169 | |
Eric Engestrom | faf9e40 | 2019-02-26 14:40:29 +0000 | [diff] [blame] | 170 | meson-loader-classic-dri: |
Eric Engestrom | d73265e | 2019-01-28 17:38:17 +0000 | [diff] [blame] | 171 | extends: .meson-build |
| 172 | variables: |
| 173 | UNWIND: "false" |
| 174 | DRI_LOADERS: > |
| 175 | -D glx=dri |
| 176 | -D gbm=true |
| 177 | -D egl=true |
| 178 | -D platforms=x11,wayland,drm,surfaceless |
| 179 | -D osmesa=classic |
| 180 | DRI_DRIVERS: "i915,i965,r100,r200,swrast,nouveau" |
| 181 | GALLIUM_ST: > |
| 182 | -D dri3=true |
| 183 | -D gallium-vdpau=false |
| 184 | -D gallium-xvmc=false |
| 185 | -D gallium-omx=disabled |
| 186 | -D gallium-va=false |
| 187 | -D gallium-xa=false |
| 188 | -D gallium-nine=false |
| 189 | -D gallium-opencl=disabled |
| 190 | |
Eric Engestrom | faf9e40 | 2019-02-26 14:40:29 +0000 | [diff] [blame] | 191 | meson-glvnd: |
Eric Engestrom | ba26bc4 | 2019-01-29 08:57:17 +0000 | [diff] [blame] | 192 | extends: .meson-build |
| 193 | variables: |
| 194 | UNWIND: "true" |
| 195 | DRI_LOADERS: > |
| 196 | -D glvnd=true |
| 197 | -D egl=true |
| 198 | -D gbm=true |
| 199 | -D glx=dri |
| 200 | DRI_DRIVERS: "i965" |
| 201 | GALLIUM_ST: > |
| 202 | -D gallium-vdpau=false |
| 203 | -D gallium-xvmc=false |
| 204 | -D gallium-omx=disabled |
| 205 | -D gallium-va=false |
| 206 | -D gallium-xa=false |
| 207 | -D gallium-nine=false |
| 208 | -D gallium-opencl=disabled |
| 209 | |
Eric Engestrom | 360c814 | 2019-01-28 17:42:59 +0000 | [diff] [blame] | 210 | # NOTE: Building SWR is 2x (yes two) times slower than all the other |
| 211 | # gallium drivers combined. |
| 212 | # Start this early so that it doesn't hunder the run time. |
Eric Engestrom | faf9e40 | 2019-02-26 14:40:29 +0000 | [diff] [blame] | 213 | meson-gallium-swr: |
Eric Engestrom | 360c814 | 2019-01-28 17:42:59 +0000 | [diff] [blame] | 214 | extends: .meson-build |
| 215 | variables: |
| 216 | UNWIND: "true" |
| 217 | DRI_LOADERS: > |
| 218 | -D glx=disabled |
| 219 | -D egl=false |
| 220 | -D gbm=false |
| 221 | GALLIUM_ST: > |
| 222 | -D dri3=false |
| 223 | -D gallium-vdpau=false |
| 224 | -D gallium-xvmc=false |
| 225 | -D gallium-omx=disabled |
| 226 | -D gallium-va=false |
| 227 | -D gallium-xa=false |
| 228 | -D gallium-nine=false |
| 229 | -D gallium-opencl=disabled |
| 230 | GALLIUM_DRIVERS: "swr" |
| 231 | LLVM_VERSION: "6.0" |
| 232 | |
Eric Engestrom | faf9e40 | 2019-02-26 14:40:29 +0000 | [diff] [blame] | 233 | meson-gallium-radeonsi: |
Eric Engestrom | 06e8f19 | 2019-01-28 17:45:26 +0000 | [diff] [blame] | 234 | extends: .meson-build |
| 235 | variables: |
| 236 | UNWIND: "true" |
| 237 | DRI_LOADERS: > |
| 238 | -D glx=disabled |
| 239 | -D egl=false |
| 240 | -D gbm=false |
| 241 | GALLIUM_ST: > |
| 242 | -D dri3=false |
| 243 | -D gallium-vdpau=false |
| 244 | -D gallium-xvmc=false |
| 245 | -D gallium-omx=disabled |
| 246 | -D gallium-va=false |
| 247 | -D gallium-xa=false |
| 248 | -D gallium-nine=false |
| 249 | -D gallium-opencl=disabled |
| 250 | GALLIUM_DRIVERS: "radeonsi" |
| 251 | LLVM_VERSION: "7" |
| 252 | |
Eric Engestrom | faf9e40 | 2019-02-26 14:40:29 +0000 | [diff] [blame] | 253 | meson-gallium-drivers-other: |
Eric Engestrom | d407ead | 2019-01-28 17:47:09 +0000 | [diff] [blame] | 254 | extends: .meson-build |
| 255 | variables: |
| 256 | UNWIND: "true" |
| 257 | DRI_LOADERS: > |
| 258 | -D glx=disabled |
| 259 | -D egl=false |
| 260 | -D gbm=false |
| 261 | GALLIUM_ST: > |
| 262 | -D dri3=false |
| 263 | -D gallium-vdpau=false |
| 264 | -D gallium-xvmc=false |
| 265 | -D gallium-omx=disabled |
| 266 | -D gallium-va=false |
| 267 | -D gallium-xa=false |
| 268 | -D gallium-nine=false |
| 269 | -D gallium-opencl=disabled |
Eric Engestrom | db94499 | 2019-03-09 22:53:27 +0000 | [diff] [blame] | 270 | GALLIUM_DRIVERS: "i915,iris,nouveau,kmsro,r300,r600,freedreno,svga,swrast,v3d,vc4,virgl,etnaviv,panfrost" |
Eric Engestrom | d407ead | 2019-01-28 17:47:09 +0000 | [diff] [blame] | 271 | LLVM_VERSION: "5.0" |
| 272 | |
Eric Engestrom | 3006f9d | 2019-03-06 17:59:03 +0000 | [diff] [blame] | 273 | meson-gallium-clover-llvm: |
Eric Engestrom | b5a70af | 2019-01-28 18:05:22 +0000 | [diff] [blame] | 274 | extends: .meson-build |
| 275 | variables: |
| 276 | UNWIND: "true" |
| 277 | DRI_LOADERS: > |
| 278 | -D glx=disabled |
| 279 | -D egl=false |
| 280 | -D gbm=false |
| 281 | GALLIUM_ST: > |
| 282 | -D dri3=false |
| 283 | -D gallium-vdpau=false |
| 284 | -D gallium-xvmc=false |
| 285 | -D gallium-omx=disabled |
| 286 | -D gallium-va=false |
| 287 | -D gallium-xa=false |
| 288 | -D gallium-nine=false |
| 289 | -D gallium-opencl=icd |
Eric Engestrom | 8dab707 | 2019-01-28 18:09:24 +0000 | [diff] [blame] | 290 | GALLIUM_DRIVERS: "r600,radeonsi" |
Eric Engestrom | 3006f9d | 2019-03-06 17:59:03 +0000 | [diff] [blame] | 291 | |
| 292 | meson-gallium-clover-llvm39: |
| 293 | extends: meson-gallium-clover-llvm |
| 294 | variables: |
| 295 | GALLIUM_DRIVERS: "r600" |
| 296 | LLVM_VERSION: "3.9" |
Eric Engestrom | 8dab707 | 2019-01-28 18:09:24 +0000 | [diff] [blame] | 297 | |
Eric Engestrom | faf9e40 | 2019-02-26 14:40:29 +0000 | [diff] [blame] | 298 | meson-gallium-st-other: |
Eric Engestrom | f33517b | 2019-01-28 18:13:55 +0000 | [diff] [blame] | 299 | extends: .meson-build |
| 300 | variables: |
| 301 | UNWIND: "true" |
| 302 | DRI_LOADERS: > |
| 303 | -D glx=disabled |
| 304 | -D egl=false |
| 305 | -D gbm=false |
| 306 | GALLIUM_ST: > |
| 307 | -D dri3=true |
| 308 | -D gallium-vdpau=true |
| 309 | -D gallium-xvmc=true |
| 310 | -D gallium-omx=bellagio |
| 311 | -D gallium-va=true |
| 312 | -D gallium-xa=true |
| 313 | -D gallium-nine=true |
| 314 | -D gallium-opencl=disabled |
| 315 | -D osmesa=gallium |
| 316 | GALLIUM_DRIVERS: "nouveau,swrast" |
| 317 | LLVM_VERSION: "5.0" |
| 318 | |
Eric Engestrom | faf9e40 | 2019-02-26 14:40:29 +0000 | [diff] [blame] | 319 | make-vulkan: |
Eric Engestrom | 89a7467 | 2019-01-21 09:42:37 +0000 | [diff] [blame] | 320 | extends: .make-build |
| 321 | variables: |
| 322 | MAKE_CHECK_COMMAND: "make -C src/gtest check && make -C src/intel check" |
| 323 | LLVM_VERSION: "7" |
| 324 | DRI_LOADERS: > |
| 325 | --disable-glx |
| 326 | --disable-gbm |
| 327 | --disable-egl |
| 328 | --with-platforms=x11,wayland,drm |
| 329 | DRI_DRIVERS: "" |
| 330 | GALLIUM_ST: > |
| 331 | --enable-dri |
| 332 | --enable-dri3 |
| 333 | --disable-opencl |
| 334 | --disable-xa |
| 335 | --disable-nine |
| 336 | --disable-xvmc |
| 337 | --disable-vdpau |
| 338 | --disable-va |
| 339 | --disable-omx-bellagio |
| 340 | --disable-gallium-osmesa |
| 341 | VULKAN_DRIVERS: intel,radeon |
| 342 | LIBUNWIND_FLAGS: --disable-libunwind |
Eric Engestrom | 06b245b | 2019-01-23 15:46:10 +0000 | [diff] [blame] | 343 | |
Eric Engestrom | faf9e40 | 2019-02-26 14:40:29 +0000 | [diff] [blame] | 344 | make-loader-classic-dri: |
Eric Engestrom | bbdc563 | 2019-01-28 20:13:33 +0000 | [diff] [blame] | 345 | extends: .make-build |
| 346 | variables: |
| 347 | MAKE_CHECK_COMMAND: "make check" |
| 348 | DRI_LOADERS: > |
| 349 | --enable-glx |
| 350 | --enable-gbm |
| 351 | --enable-egl |
| 352 | --with-platforms=x11,wayland,drm,surfaceless |
| 353 | --enable-osmesa |
| 354 | DRI_DRIVERS: "i915,i965,radeon,r200,swrast,nouveau" |
| 355 | GALLIUM_ST: > |
| 356 | --enable-dri |
| 357 | --disable-opencl |
| 358 | --disable-xa |
| 359 | --disable-nine |
| 360 | --disable-xvmc |
| 361 | --disable-vdpau |
| 362 | --disable-va |
| 363 | --disable-omx-bellagio |
| 364 | --disable-gallium-osmesa |
| 365 | LIBUNWIND_FLAGS: --disable-libunwind |
| 366 | |
Eric Engestrom | 7b26a19 | 2019-01-28 20:17:12 +0000 | [diff] [blame] | 367 | # NOTE: Building SWR is 2x (yes two) times slower than all the other |
| 368 | # gallium drivers combined. |
| 369 | # Start this early so that it doesn't hunder the run time. |
Eric Engestrom | faf9e40 | 2019-02-26 14:40:29 +0000 | [diff] [blame] | 370 | make-gallium-drivers-swr: |
Eric Engestrom | 7b26a19 | 2019-01-28 20:17:12 +0000 | [diff] [blame] | 371 | extends: .make-build |
| 372 | variables: |
| 373 | MAKE_CHECK_COMMAND: "true" |
| 374 | LLVM_VERSION: "6.0" |
| 375 | DRI_LOADERS: > |
| 376 | --disable-glx |
| 377 | --disable-gbm |
| 378 | --disable-egl |
| 379 | GALLIUM_ST: > |
| 380 | --enable-dri |
| 381 | --disable-opencl |
| 382 | --disable-xa |
| 383 | --disable-nine |
| 384 | --disable-xvmc |
| 385 | --disable-vdpau |
| 386 | --disable-va |
| 387 | --disable-omx-bellagio |
| 388 | --disable-gallium-osmesa |
| 389 | GALLIUM_DRIVERS: "swr" |
| 390 | LIBUNWIND_FLAGS: --enable-libunwind |
| 391 | |
Eric Engestrom | faf9e40 | 2019-02-26 14:40:29 +0000 | [diff] [blame] | 392 | make-gallium-drivers-radeonsi: |
| 393 | extends: make-gallium-drivers-swr |
Eric Engestrom | 055cfbc | 2019-01-28 20:21:44 +0000 | [diff] [blame] | 394 | variables: |
| 395 | LLVM_VERSION: "7" |
| 396 | GALLIUM_DRIVERS: "radeonsi" |
| 397 | |
Eric Engestrom | faf9e40 | 2019-02-26 14:40:29 +0000 | [diff] [blame] | 398 | make-gallium-drivers-other: |
| 399 | extends: make-gallium-drivers-swr |
Eric Engestrom | d0dff24 | 2019-01-28 20:24:04 +0000 | [diff] [blame] | 400 | variables: |
| 401 | LLVM_VERSION: "3.9" |
| 402 | GALLIUM_DRIVERS: "i915,nouveau,kmsro,r300,r600,freedreno,svga,swrast,v3d,vc4,virgl,etnaviv" |
| 403 | |
Eric Engestrom | 3006f9d | 2019-03-06 17:59:03 +0000 | [diff] [blame] | 404 | make-gallium-st-clover-llvm: |
Eric Engestrom | 984e295 | 2019-01-28 20:29:59 +0000 | [diff] [blame] | 405 | extends: .make-build |
| 406 | variables: |
| 407 | MAKE_CHECK_COMMAND: "true" |
Eric Engestrom | 984e295 | 2019-01-28 20:29:59 +0000 | [diff] [blame] | 408 | DRI_LOADERS: > |
| 409 | --disable-glx |
| 410 | --disable-gbm |
| 411 | --disable-egl |
| 412 | GALLIUM_ST: > |
| 413 | --disable-dri |
| 414 | --enable-opencl |
| 415 | --enable-opencl-icd |
| 416 | --enable-llvm |
| 417 | --disable-xa |
| 418 | --disable-nine |
| 419 | --disable-xvmc |
| 420 | --disable-vdpau |
| 421 | --disable-va |
| 422 | --disable-omx-bellagio |
| 423 | --disable-gallium-osmesa |
Eric Engestrom | 984e295 | 2019-01-28 20:29:59 +0000 | [diff] [blame] | 424 | LIBUNWIND_FLAGS: --enable-libunwind |
Eric Engestrom | 360a7bf | 2019-01-28 20:40:25 +0000 | [diff] [blame] | 425 | GALLIUM_DRIVERS: "r600,radeonsi" |
Eric Engestrom | d2cff16 | 2019-03-08 17:02:59 +0000 | [diff] [blame] | 426 | LLVM_VERSION: "7" |
Eric Engestrom | 360a7bf | 2019-01-28 20:40:25 +0000 | [diff] [blame] | 427 | |
Eric Engestrom | 3006f9d | 2019-03-06 17:59:03 +0000 | [diff] [blame] | 428 | make-gallium-st-clover-llvm-39: |
| 429 | extends: make-gallium-st-clover-llvm |
| 430 | variables: |
| 431 | LLVM_VERSION: "3.9" |
| 432 | GALLIUM_DRIVERS: "r600" |
| 433 | |
Eric Engestrom | faf9e40 | 2019-02-26 14:40:29 +0000 | [diff] [blame] | 434 | make-gallium-st-other: |
Eric Engestrom | 7327514 | 2019-01-28 20:48:37 +0000 | [diff] [blame] | 435 | extends: .make-build |
| 436 | variables: |
| 437 | MAKE_CHECK_COMMAND: "true" |
| 438 | # We should be testing 3.3, but 3.9 is the oldest that still exists in ubuntu |
| 439 | LLVM_VERSION: "3.9" |
| 440 | DRI_LOADERS: > |
| 441 | --disable-glx |
| 442 | --disable-gbm |
| 443 | --disable-egl |
| 444 | GALLIUM_ST: > |
| 445 | --enable-dri |
| 446 | --disable-opencl |
| 447 | --enable-xa |
| 448 | --enable-nine |
| 449 | --enable-xvmc |
| 450 | --enable-vdpau |
| 451 | --enable-va |
| 452 | --enable-omx-bellagio |
| 453 | --enable-gallium-osmesa |
| 454 | # We need swrast for osmesa and nine. |
| 455 | # i915 most likely doesn't work with most ST. |
| 456 | # Regardless - we're doing a quick build test here. |
| 457 | GALLIUM_DRIVERS: "i915,swrast" |
| 458 | LIBUNWIND_FLAGS: --enable-libunwind |
| 459 | |
Eric Engestrom | faf9e40 | 2019-02-26 14:40:29 +0000 | [diff] [blame] | 460 | scons-nollvm: |
Eric Engestrom | 06b245b | 2019-01-23 15:46:10 +0000 | [diff] [blame] | 461 | extends: .scons-build |
| 462 | variables: |
| 463 | SCONS_TARGET: "llvm=0" |
| 464 | SCONS_CHECK_COMMAND: "scons llvm=0 check" |
Eric Engestrom | d4c6d4d | 2019-01-28 16:30:36 +0000 | [diff] [blame] | 465 | |
Eric Engestrom | faf9e40 | 2019-02-26 14:40:29 +0000 | [diff] [blame] | 466 | scons-llvm: |
Eric Engestrom | d4c6d4d | 2019-01-28 16:30:36 +0000 | [diff] [blame] | 467 | extends: .scons-build |
| 468 | variables: |
| 469 | SCONS_TARGET: "llvm=1" |
| 470 | SCONS_CHECK_COMMAND: "scons llvm=1 check" |
| 471 | LLVM_VERSION: "3.9" |
Eric Engestrom | 6a19ec9 | 2019-01-28 16:33:22 +0000 | [diff] [blame] | 472 | |
Eric Engestrom | faf9e40 | 2019-02-26 14:40:29 +0000 | [diff] [blame] | 473 | scons-swr: |
Eric Engestrom | 6a19ec9 | 2019-01-28 16:33:22 +0000 | [diff] [blame] | 474 | extends: .scons-build |
| 475 | variables: |
| 476 | SCONS_TARGET: "swr=1" |
| 477 | SCONS_CHECK_COMMAND: "true" |
| 478 | LLVM_VERSION: "6.0" |