From a95bcb46794cbc05627a73320116781bfe7afc78 Mon Sep 17 00:00:00 2001 From: Akira Moroo Date: Sat, 26 Oct 2019 17:36:32 +0900 Subject: [PATCH] lkl: add CircleCI jobs for clang/lld This commit adds CircleCI jobs for building with clang/lld toolchain. The targets are x86_64 and i386 so far. The jobs uses new docker images, lkldocker/circleci-clang-x86_64 and lkldocker/circleci-clang-i386[1]. [1] https://github.com/lkl/lkl-docker/pull/5 Signed-off-by: Akira Moroo --- .circleci/config.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5858d0ccbcec18..05465fc9445521 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -106,6 +106,22 @@ jobs: CROSS_COMPILE: "" <<: *do_steps + clang-lld-x86_64: + docker: + - image: lkldocker/circleci-clang-x86_64:0.1 + environment: + CROSS_COMPILE: "" + MKARG: "CC=clang LD=ld.lld dpdk=no" + <<: *do_steps + + clang-lld-i386: + docker: + - image: lkldocker/circleci-clang-i386:0.1 + environment: + CROSS_COMPILE: "" + MKARG: "CC=clang LD=ld.lld" + <<: *do_steps + mingw32: docker: - image: lkldocker/circleci-mingw:0.6 @@ -173,6 +189,8 @@ workflows: - freebsd11_x86_64 - checkpatch - i386 + - clang-lld-x86_64 + - clang-lld-i386 nightly: triggers: - schedule: