Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
8a0434d2
Unverified
Commit
8a0434d2
authored
Oct 22, 2020
by
Vasilis Vryniotis
Committed by
GitHub
Oct 22, 2020
Browse files
Switching to Pytorch's clang-formatter. (#2872)
* Switching to Pytorch's clang-formatter. * Replacing binary.
parent
8088cc94
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
.circleci/config.yml
.circleci/config.yml
+4
-3
.circleci/config.yml.in
.circleci/config.yml.in
+4
-3
No files found.
.circleci/config.yml
View file @
8a0434d2
...
@@ -127,9 +127,10 @@ jobs:
...
@@ -127,9 +127,10 @@ jobs:
-
checkout
-
checkout
-
run
:
-
run
:
command
:
|
command
:
|
sudo apt-get update -y
curl https://oss-clang-format.s3.us-east-2.amazonaws.com/linux64/clang-format-linux64 -o clang-format
sudo apt-get install -y clang-format
chmod +x clang-format
./travis-scripts/run-clang-format/run-clang-format.py -r torchvision/csrc
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_linux_wheel
:
<<
:
*binary_common
<<
:
*binary_common
...
...
.circleci/config.yml.in
View file @
8a0434d2
...
@@ -127,9 +127,10 @@ jobs:
...
@@ -127,9 +127,10 @@ jobs:
- checkout
- checkout
- run:
- run:
command: |
command: |
sudo apt-get update -y
curl https://oss-clang-format.s3.us-east-2.amazonaws.com/linux64/clang-format-linux64 -o clang-format
sudo apt-get install -y clang-format
chmod +x clang-format
./travis-scripts/run-clang-format/run-clang-format.py -r torchvision/csrc
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_linux_wheel:
<<: *binary_common
<<: *binary_common
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment