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: |
Eric Engestrom | 23b485c | 2019-02-12 16:59:27 +0000 | [diff] [blame^] | 19 | UBUNTU_TAG: 2019-02-12-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 | |
| 32 | # CONTAINERS |
| 33 | |
| 34 | containers:ubuntu: |
| 35 | stage: containers-build |
| 36 | image: docker:stable |
| 37 | services: |
| 38 | - docker:dind |
| 39 | variables: |
| 40 | DOCKER_HOST: tcp://docker:2375 |
| 41 | DOCKER_DRIVER: overlay2 |
| 42 | script: |
| 43 | # Enable experimental features such as `docker manifest inspect` |
| 44 | - mkdir -p ~/.docker |
| 45 | - "echo '{\"experimental\": \"enabled\"}' > ~/.docker/config.json" |
| 46 | - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY |
| 47 | # Check if the image (with the specific tag) already exists |
| 48 | - docker manifest inspect $UBUNTU_IMAGE && exit || true |
Michel Dänzer | d6c55f6 | 2019-02-08 10:14:58 +0100 | [diff] [blame] | 49 | # Try to re-use the image from the main repository's registry |
| 50 | - docker image pull $UBUNTU_IMAGE_MAIN && |
| 51 | docker image tag $UBUNTU_IMAGE_MAIN $UBUNTU_IMAGE && |
| 52 | docker image push $UBUNTU_IMAGE && exit || true |
Eric Engestrom | 329f5cd | 2019-01-20 11:21:45 +0000 | [diff] [blame] | 53 | - docker build -t $UBUNTU_IMAGE -f .gitlab-ci/Dockerfile.ubuntu . |
| 54 | - docker push $UBUNTU_IMAGE |
| 55 | only: |
| 56 | changes: |
| 57 | - .gitlab-ci.yml |
| 58 | - .gitlab-ci/Dockerfile.ubuntu |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 59 | |
| 60 | |
| 61 | # BUILD |
| 62 | |
| 63 | .build: |
| 64 | image: $UBUNTU_IMAGE |
| 65 | stage: build+test |
| 66 | artifacts: |
| 67 | when: on_failure |
| 68 | untracked: true |
Eric Engestrom | 23b485c | 2019-02-12 16:59:27 +0000 | [diff] [blame^] | 69 | # Use ccache transparently, and print stats before/after |
| 70 | before_script: |
| 71 | - export PATH="/usr/lib/ccache:$PATH" |
| 72 | - export CCACHE_BASEDIR="$PWD" |
| 73 | - export CCACHE_DIR="$PWD/ccache" |
| 74 | - export CCACHE_COMPILERCHECK=content |
| 75 | - ccache --zero-stats || true |
| 76 | - ccache --show-stats || true |
| 77 | after_script: |
| 78 | - export CCACHE_DIR="$PWD/ccache" |
| 79 | - ccache --show-stats |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 80 | |
| 81 | .meson-build: |
| 82 | extends: .build |
Eric Engestrom | 23b485c | 2019-02-12 16:59:27 +0000 | [diff] [blame^] | 83 | script: |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 84 | # We need to control the version of llvm-config we're using, so we'll |
| 85 | # generate a native file to do so. This requires meson >=0.49 |
| 86 | - if test -n "$LLVM_VERSION"; then |
| 87 | LLVM_CONFIG="llvm-config-${LLVM_VERSION}"; |
| 88 | echo -e "[binaries]\nllvm-config = '`which $LLVM_CONFIG`'" > native.file; |
| 89 | $LLVM_CONFIG --version; |
| 90 | else |
| 91 | touch native.file; |
| 92 | fi |
| 93 | - meson --version |
| 94 | - meson _build |
| 95 | --native-file=native.file |
| 96 | -D build-tests=true |
| 97 | -D libunwind=${UNWIND} |
| 98 | ${DRI_LOADERS} |
| 99 | -D dri-drivers=${DRI_DRIVERS:-[]} |
| 100 | ${GALLIUM_ST} |
| 101 | -D gallium-drivers=${GALLIUM_DRIVERS:-[]} |
| 102 | -D vulkan-drivers=${VULKAN_DRIVERS:-[]} |
| 103 | - cd _build |
| 104 | - meson configure |
Eric Engestrom | 68a9383 | 2019-02-13 14:25:45 +0000 | [diff] [blame] | 105 | - ninja -j4 |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 106 | - ninja test |
| 107 | |
Eric Engestrom | 89a7467 | 2019-01-21 09:42:37 +0000 | [diff] [blame] | 108 | .make-build: |
| 109 | extends: .build |
| 110 | variables: |
| 111 | MAKEFLAGS: "-j4" |
Eric Engestrom | 23b485c | 2019-02-12 16:59:27 +0000 | [diff] [blame^] | 112 | script: |
Eric Engestrom | 89a7467 | 2019-01-21 09:42:37 +0000 | [diff] [blame] | 113 | - if test -n "$LLVM_VERSION"; then |
| 114 | export LLVM_CONFIG="llvm-config-${LLVM_VERSION}"; |
| 115 | fi |
| 116 | - mkdir build |
| 117 | - cd build |
| 118 | - ../autogen.sh |
| 119 | --enable-autotools |
| 120 | --enable-debug |
| 121 | $LIBUNWIND_FLAGS |
| 122 | $DRI_LOADERS |
| 123 | --with-dri-drivers=$DRI_DRIVERS |
| 124 | $GALLIUM_ST |
| 125 | --with-gallium-drivers=$GALLIUM_DRIVERS |
| 126 | --with-vulkan-drivers=$VULKAN_DRIVERS |
| 127 | --disable-llvm-shared-libs |
Eric Engestrom | 89a7467 | 2019-01-21 09:42:37 +0000 | [diff] [blame] | 128 | - make |
| 129 | - eval $MAKE_CHECK_COMMAND |
| 130 | |
Eric Engestrom | 06b245b | 2019-01-23 15:46:10 +0000 | [diff] [blame] | 131 | .scons-build: |
| 132 | extends: .build |
| 133 | variables: |
| 134 | SCONSFLAGS: "-j4" |
| 135 | script: |
Eric Engestrom | d4c6d4d | 2019-01-28 16:30:36 +0000 | [diff] [blame] | 136 | - if test -n "$LLVM_VERSION"; then |
| 137 | export LLVM_CONFIG="llvm-config-${LLVM_VERSION}"; |
| 138 | fi |
Eric Engestrom | 06b245b | 2019-01-23 15:46:10 +0000 | [diff] [blame] | 139 | - scons $SCONS_TARGET |
| 140 | - eval $SCONS_CHECK_COMMAND |
| 141 | |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 142 | build:meson-vulkan: |
| 143 | extends: .meson-build |
| 144 | variables: |
| 145 | UNWIND: "false" |
| 146 | DRI_LOADERS: > |
| 147 | -D glx=disabled |
| 148 | -D gbm=false |
| 149 | -D egl=false |
| 150 | -D platforms=x11,wayland,drm |
| 151 | -D osmesa=none |
| 152 | GALLIUM_ST: > |
| 153 | -D dri3=true |
| 154 | -D gallium-vdpau=false |
| 155 | -D gallium-xvmc=false |
| 156 | -D gallium-omx=disabled |
| 157 | -D gallium-va=false |
| 158 | -D gallium-xa=false |
| 159 | -D gallium-nine=false |
| 160 | -D gallium-opencl=disabled |
| 161 | VULKAN_DRIVERS: intel,amd |
| 162 | LLVM_VERSION: "7" |
Eric Engestrom | 89a7467 | 2019-01-21 09:42:37 +0000 | [diff] [blame] | 163 | |
Eric Engestrom | d73265e | 2019-01-28 17:38:17 +0000 | [diff] [blame] | 164 | build:meson-loader-classic-dri: |
| 165 | extends: .meson-build |
| 166 | variables: |
| 167 | UNWIND: "false" |
| 168 | DRI_LOADERS: > |
| 169 | -D glx=dri |
| 170 | -D gbm=true |
| 171 | -D egl=true |
| 172 | -D platforms=x11,wayland,drm,surfaceless |
| 173 | -D osmesa=classic |
| 174 | DRI_DRIVERS: "i915,i965,r100,r200,swrast,nouveau" |
| 175 | GALLIUM_ST: > |
| 176 | -D dri3=true |
| 177 | -D gallium-vdpau=false |
| 178 | -D gallium-xvmc=false |
| 179 | -D gallium-omx=disabled |
| 180 | -D gallium-va=false |
| 181 | -D gallium-xa=false |
| 182 | -D gallium-nine=false |
| 183 | -D gallium-opencl=disabled |
| 184 | |
Eric Engestrom | ba26bc4 | 2019-01-29 08:57:17 +0000 | [diff] [blame] | 185 | build:meson-glvnd: |
| 186 | extends: .meson-build |
| 187 | variables: |
| 188 | UNWIND: "true" |
| 189 | DRI_LOADERS: > |
| 190 | -D glvnd=true |
| 191 | -D egl=true |
| 192 | -D gbm=true |
| 193 | -D glx=dri |
| 194 | DRI_DRIVERS: "i965" |
| 195 | GALLIUM_ST: > |
| 196 | -D gallium-vdpau=false |
| 197 | -D gallium-xvmc=false |
| 198 | -D gallium-omx=disabled |
| 199 | -D gallium-va=false |
| 200 | -D gallium-xa=false |
| 201 | -D gallium-nine=false |
| 202 | -D gallium-opencl=disabled |
| 203 | |
Eric Engestrom | 360c814 | 2019-01-28 17:42:59 +0000 | [diff] [blame] | 204 | # NOTE: Building SWR is 2x (yes two) times slower than all the other |
| 205 | # gallium drivers combined. |
| 206 | # Start this early so that it doesn't hunder the run time. |
| 207 | build:meson-gallium-swr: |
| 208 | extends: .meson-build |
| 209 | variables: |
| 210 | UNWIND: "true" |
| 211 | DRI_LOADERS: > |
| 212 | -D glx=disabled |
| 213 | -D egl=false |
| 214 | -D gbm=false |
| 215 | GALLIUM_ST: > |
| 216 | -D dri3=false |
| 217 | -D gallium-vdpau=false |
| 218 | -D gallium-xvmc=false |
| 219 | -D gallium-omx=disabled |
| 220 | -D gallium-va=false |
| 221 | -D gallium-xa=false |
| 222 | -D gallium-nine=false |
| 223 | -D gallium-opencl=disabled |
| 224 | GALLIUM_DRIVERS: "swr" |
| 225 | LLVM_VERSION: "6.0" |
| 226 | |
Eric Engestrom | 06e8f19 | 2019-01-28 17:45:26 +0000 | [diff] [blame] | 227 | build:meson-gallium-radeonsi: |
| 228 | extends: .meson-build |
| 229 | variables: |
| 230 | UNWIND: "true" |
| 231 | DRI_LOADERS: > |
| 232 | -D glx=disabled |
| 233 | -D egl=false |
| 234 | -D gbm=false |
| 235 | GALLIUM_ST: > |
| 236 | -D dri3=false |
| 237 | -D gallium-vdpau=false |
| 238 | -D gallium-xvmc=false |
| 239 | -D gallium-omx=disabled |
| 240 | -D gallium-va=false |
| 241 | -D gallium-xa=false |
| 242 | -D gallium-nine=false |
| 243 | -D gallium-opencl=disabled |
| 244 | GALLIUM_DRIVERS: "radeonsi" |
| 245 | LLVM_VERSION: "7" |
| 246 | |
Eric Engestrom | d407ead | 2019-01-28 17:47:09 +0000 | [diff] [blame] | 247 | build:meson-gallium-drivers-other: |
| 248 | extends: .meson-build |
| 249 | variables: |
| 250 | UNWIND: "true" |
| 251 | DRI_LOADERS: > |
| 252 | -D glx=disabled |
| 253 | -D egl=false |
| 254 | -D gbm=false |
| 255 | GALLIUM_ST: > |
| 256 | -D dri3=false |
| 257 | -D gallium-vdpau=false |
| 258 | -D gallium-xvmc=false |
| 259 | -D gallium-omx=disabled |
| 260 | -D gallium-va=false |
| 261 | -D gallium-xa=false |
| 262 | -D gallium-nine=false |
| 263 | -D gallium-opencl=disabled |
| 264 | GALLIUM_DRIVERS: "i915,nouveau,kmsro,r300,r600,freedreno,svga,swrast,v3d,vc4,virgl,etnaviv" |
| 265 | LLVM_VERSION: "5.0" |
| 266 | |
Eric Engestrom | b5a70af | 2019-01-28 18:05:22 +0000 | [diff] [blame] | 267 | build:meson-gallium-clover-llvm5: |
| 268 | extends: .meson-build |
| 269 | variables: |
| 270 | UNWIND: "true" |
| 271 | DRI_LOADERS: > |
| 272 | -D glx=disabled |
| 273 | -D egl=false |
| 274 | -D gbm=false |
| 275 | GALLIUM_ST: > |
| 276 | -D dri3=false |
| 277 | -D gallium-vdpau=false |
| 278 | -D gallium-xvmc=false |
| 279 | -D gallium-omx=disabled |
| 280 | -D gallium-va=false |
| 281 | -D gallium-xa=false |
| 282 | -D gallium-nine=false |
| 283 | -D gallium-opencl=icd |
| 284 | GALLIUM_DRIVERS: "r600" |
| 285 | LLVM_VERSION: "5.0" |
| 286 | |
Eric Engestrom | 8744ac0 | 2019-01-28 18:07:31 +0000 | [diff] [blame] | 287 | build:meson-gallium-clover-llvm6: |
| 288 | extends: build:meson-gallium-clover-llvm5 |
| 289 | variables: |
| 290 | LLVM_VERSION: "6.0" |
| 291 | |
Eric Engestrom | 8dab707 | 2019-01-28 18:09:24 +0000 | [diff] [blame] | 292 | build:meson-gallium-clover-llvm7: |
| 293 | extends: build:meson-gallium-clover-llvm5 |
| 294 | variables: |
| 295 | GALLIUM_DRIVERS: "r600,radeonsi" |
| 296 | LLVM_VERSION: "7" |
| 297 | |
Eric Engestrom | f33517b | 2019-01-28 18:13:55 +0000 | [diff] [blame] | 298 | build:meson-gallium-st-other: |
| 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 | 89a7467 | 2019-01-21 09:42:37 +0000 | [diff] [blame] | 319 | build:make-vulkan: |
| 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 | bbdc563 | 2019-01-28 20:13:33 +0000 | [diff] [blame] | 344 | build:make-loader-classic-dri: |
| 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. |
| 370 | build:make-gallium-drivers-swr: |
| 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 | 055cfbc | 2019-01-28 20:21:44 +0000 | [diff] [blame] | 392 | build:make-gallium-drivers-radeonsi: |
| 393 | extends: build:make-gallium-drivers-swr |
| 394 | variables: |
| 395 | LLVM_VERSION: "7" |
| 396 | GALLIUM_DRIVERS: "radeonsi" |
| 397 | |
Eric Engestrom | d0dff24 | 2019-01-28 20:24:04 +0000 | [diff] [blame] | 398 | build:make-gallium-drivers-other: |
| 399 | extends: build:make-gallium-drivers-swr |
| 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 | 984e295 | 2019-01-28 20:29:59 +0000 | [diff] [blame] | 404 | build:make-gallium-st-clover-llvm-39: |
| 405 | extends: .make-build |
| 406 | variables: |
| 407 | MAKE_CHECK_COMMAND: "true" |
| 408 | LLVM_VERSION: "3.9" |
| 409 | DRI_LOADERS: > |
| 410 | --disable-glx |
| 411 | --disable-gbm |
| 412 | --disable-egl |
| 413 | GALLIUM_ST: > |
| 414 | --disable-dri |
| 415 | --enable-opencl |
| 416 | --enable-opencl-icd |
| 417 | --enable-llvm |
| 418 | --disable-xa |
| 419 | --disable-nine |
| 420 | --disable-xvmc |
| 421 | --disable-vdpau |
| 422 | --disable-va |
| 423 | --disable-omx-bellagio |
| 424 | --disable-gallium-osmesa |
| 425 | GALLIUM_DRIVERS: "r600" |
| 426 | LIBUNWIND_FLAGS: --enable-libunwind |
| 427 | |
Eric Engestrom | cc85f50 | 2019-01-28 20:36:25 +0000 | [diff] [blame] | 428 | build:make-gallium-st-clover-llvm-4: |
| 429 | extends: build:make-gallium-st-clover-llvm-39 |
| 430 | variables: |
| 431 | LLVM_VERSION: "4.0" |
| 432 | |
Eric Engestrom | e80f88c | 2019-01-28 20:37:03 +0000 | [diff] [blame] | 433 | build:make-gallium-st-clover-llvm-5: |
| 434 | extends: build:make-gallium-st-clover-llvm-39 |
| 435 | variables: |
| 436 | LLVM_VERSION: "5.0" |
| 437 | |
Eric Engestrom | 39315a7 | 2019-01-28 20:39:22 +0000 | [diff] [blame] | 438 | build:make-gallium-st-clover-llvm-6: |
| 439 | extends: build:make-gallium-st-clover-llvm-39 |
| 440 | variables: |
| 441 | LLVM_VERSION: "6.0" |
| 442 | |
Eric Engestrom | 360a7bf | 2019-01-28 20:40:25 +0000 | [diff] [blame] | 443 | build:make-gallium-st-clover-llvm-7: |
| 444 | extends: build:make-gallium-st-clover-llvm-39 |
| 445 | variables: |
| 446 | LLVM_VERSION: "7" |
| 447 | GALLIUM_DRIVERS: "r600,radeonsi" |
| 448 | |
Eric Engestrom | 7327514 | 2019-01-28 20:48:37 +0000 | [diff] [blame] | 449 | build:make-gallium-st-other: |
| 450 | extends: .make-build |
| 451 | variables: |
| 452 | MAKE_CHECK_COMMAND: "true" |
| 453 | # We should be testing 3.3, but 3.9 is the oldest that still exists in ubuntu |
| 454 | LLVM_VERSION: "3.9" |
| 455 | DRI_LOADERS: > |
| 456 | --disable-glx |
| 457 | --disable-gbm |
| 458 | --disable-egl |
| 459 | GALLIUM_ST: > |
| 460 | --enable-dri |
| 461 | --disable-opencl |
| 462 | --enable-xa |
| 463 | --enable-nine |
| 464 | --enable-xvmc |
| 465 | --enable-vdpau |
| 466 | --enable-va |
| 467 | --enable-omx-bellagio |
| 468 | --enable-gallium-osmesa |
| 469 | # We need swrast for osmesa and nine. |
| 470 | # i915 most likely doesn't work with most ST. |
| 471 | # Regardless - we're doing a quick build test here. |
| 472 | GALLIUM_DRIVERS: "i915,swrast" |
| 473 | LIBUNWIND_FLAGS: --enable-libunwind |
| 474 | |
Eric Engestrom | 06b245b | 2019-01-23 15:46:10 +0000 | [diff] [blame] | 475 | build:scons-nollvm: |
| 476 | extends: .scons-build |
| 477 | variables: |
| 478 | SCONS_TARGET: "llvm=0" |
| 479 | SCONS_CHECK_COMMAND: "scons llvm=0 check" |
Eric Engestrom | d4c6d4d | 2019-01-28 16:30:36 +0000 | [diff] [blame] | 480 | |
| 481 | build:scons-llvm: |
| 482 | extends: .scons-build |
| 483 | variables: |
| 484 | SCONS_TARGET: "llvm=1" |
| 485 | SCONS_CHECK_COMMAND: "scons llvm=1 check" |
| 486 | LLVM_VERSION: "3.9" |
Eric Engestrom | 6a19ec9 | 2019-01-28 16:33:22 +0000 | [diff] [blame] | 487 | |
| 488 | build:scons-swr: |
| 489 | extends: .scons-build |
| 490 | variables: |
| 491 | SCONS_TARGET: "swr=1" |
| 492 | SCONS_CHECK_COMMAND: "true" |
| 493 | LLVM_VERSION: "6.0" |