From a14ddb17b045c2192cacc5d5c1e6fda19c0fd275 Mon Sep 17 00:00:00 2001 From: Richard Li Date: Thu, 17 Aug 2023 00:06:14 -0700 Subject: [PATCH] try clang-devel Differential Revision: D48424092 fbshipit-source-id: 64bd15bb6bedc4776d05d37aa10c25aa5fe52721 --- .github/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/build.sh b/.github/build.sh index 23f918e04e..b02ed8e1c0 100755 --- a/.github/build.sh +++ b/.github/build.sh @@ -94,6 +94,7 @@ GLOW_DEPS=" \ gflags-devel \ jemalloc-devel \ libevent-devel \ + clang-devel \ openssl-devel" if [ "${CIRCLE_JOB}" == "CHECK_CLANG_AND_PEP8_FORMAT" ]; then @@ -153,7 +154,7 @@ elif [[ "$CIRCLE_JOB" == "CHECK_CLANG_AND_PEP8_FORMAT" ]]; then #sudo rpm --import https://apt.llvm.org/llvm-snapshot.gpg.key #sudo yum-config-manager --add-repo http://apt.llvm.org/xenial/llvm-toolchain-xenial-11.repo #sudo yum update - sudo yum install -y clang-tools-extra + sudo yum install -y clang-devel cd /tmp python3.9 -m virtualenv venv source venv/bin/activate @@ -175,6 +176,7 @@ else fi if [ "${CIRCLE_JOB}" != "COVERAGE" ] && [ "${CIRCLE_JOB}" != "CHECK_CLANG_AND_PEP8_FORMAT" ] && [ "${CIRCLE_JOB}" != "PYTORCH" ]; then + sleep 2h cmake -GNinja ${CMAKE_ARGS[*]} ../ ninja fi