Skip to content
Snippets Groups Projects

Add GitLab CI configuration

Merged Michel Dänzer requested to merge daenzer/xf86-video-amdgpu:gitlab-ci into master
  1. Oct 02, 2018
    • Michel Dänzer's avatar
      Add GitLab CI configuration · 05a1ba9a
      Michel Dänzer authored and Michel Dänzer's avatar Michel Dänzer committed
      Builds the driver against all supported versions of xserver, with both
      gcc and clang for xserver >= 1.18 (older versions cause warnings with
      clang). Compiler warnings are treated as errors.
      
      The xserver 1.15 build uses standalone glamor, the xserver 1.13 & 1.14
      builds use --disable-glamor.
      
      With the latest xserver version, make install and make distcheck are
      tested as well.
      05a1ba9a
    • Michel Dänzer's avatar
      Fix --disable-glamor build · babbd380
      Michel Dänzer authored and Michel Dänzer's avatar Michel Dänzer committed
      We were still relying on the glamor.h header being picked up implicitly.
      babbd380
    • Michel Dänzer's avatar
      Cast return value of amdgpu_get_marketing_name to char* · b6ee7f92
      Michel Dänzer authored and Michel Dänzer's avatar Michel Dänzer committed
      Avoids compiler warning with xserver < 1.16:
      
      ../../src/amdgpu_kms.c: In function ‘AMDGPUPreInitChipType_KMS’:
      ../../src/amdgpu_kms.c:1203:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
        pScrn->chipset = amdgpu_get_marketing_name(pAMDGPUEnt->pDev);
                       ^
      b6ee7f92
Loading