Skip to content

Commit

Permalink
try clang-devel
Browse files Browse the repository at this point in the history
Differential Revision: D48424092

fbshipit-source-id: 64bd15bb6bedc4776d05d37aa10c25aa5fe52721
  • Loading branch information
openrichardfb authored and facebook-github-bot committed Aug 17, 2023
1 parent caab012 commit a14ddb1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a14ddb1

Please sign in to comment.