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: 842db33fbcd1bfa24b6410919047d3259ff23459
  • Loading branch information
openrichardfb authored and facebook-github-bot committed Aug 18, 2023
1 parent a238a19 commit 043edc5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ GLOW_DEPS=" \
gflags-devel \
jemalloc-devel \
libevent-devel \
clang-devel \
protobuf-compiler \
protobuf-devel \
llvm \
llvm-devel \
openssl-devel"

if [ "${CIRCLE_JOB}" == "CHECK_CLANG_AND_PEP8_FORMAT" ]; then
Expand Down Expand Up @@ -153,7 +158,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 +180,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 043edc5

Please sign in to comment.