Add GitLab CI configuration
- Oct 02, 2018
-
-
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.
-
We were still relying on the glamor.h header being picked up implicitly.
-
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); ^
-