diff --git a/.circleci/config.yml b/.circleci/config.yml index ee401877bc4..7e87bb00afa 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -127,9 +127,10 @@ jobs: - checkout - run: command: | - sudo apt-get update -y - sudo apt-get install -y clang-format - ./travis-scripts/run-clang-format/run-clang-format.py -r torchvision/csrc + curl https://oss-clang-format.s3.us-east-2.amazonaws.com/linux64/clang-format-linux64 -o clang-format + chmod +x clang-format + sudo mv clang-format /opt/clang-format + ./travis-scripts/run-clang-format/run-clang-format.py -r torchvision/csrc --clang-format-executable /opt/clang-format binary_linux_wheel: <<: *binary_common diff --git a/.circleci/config.yml.in b/.circleci/config.yml.in index 0f7a8c8d100..06ad2326dc7 100644 --- a/.circleci/config.yml.in +++ b/.circleci/config.yml.in @@ -127,9 +127,10 @@ jobs: - checkout - run: command: | - sudo apt-get update -y - sudo apt-get install -y clang-format - ./travis-scripts/run-clang-format/run-clang-format.py -r torchvision/csrc + curl https://oss-clang-format.s3.us-east-2.amazonaws.com/linux64/clang-format-linux64 -o clang-format + chmod +x clang-format + sudo mv clang-format /opt/clang-format + ./travis-scripts/run-clang-format/run-clang-format.py -r torchvision/csrc --clang-format-executable /opt/clang-format binary_linux_wheel: <<: *binary_common