From 9810f400759629782a4982bade5ce9178aa56106 Mon Sep 17 00:00:00 2001 From: sdong Date: Fri, 12 Jun 2020 15:48:32 -0700 Subject: [PATCH] Circle CI's clang build to really use clang (#6965) Summary: The CircleCI's Clang flavor has a bug that doesn't really use CLANG. Fix it. Pull Request resolved: https://github.com/facebook/rocksdb/pull/6965 Test Plan: See CI results. Reviewed By: pdillinger Differential Revision: D22025355 fbshipit-source-id: e86922b9152e9f5732e5099d0ce41da9226ff806 --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 04851cab3..eb6951c3c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,7 +53,9 @@ jobs: resource_class: 2xlarge steps: - checkout # check out the code in the project directory - - run: USE_CLANG=1 make all -j32 + - run: sudo apt-get update -y + - run: sudo apt-get install -y clang + - run: CC=clang CXX=clang++ V=1 USE_CLANG=1 PORTABLE=1 make all -j32 build-linux-cmake: machine: