Skip to content

[tools] Update clang-format linux hash#50520

Closed
SplitInfinity wants to merge 4 commits into
gh/splitinfinity/91/basefrom
gh/splitinfinity/91/head
Closed

[tools] Update clang-format linux hash#50520
SplitInfinity wants to merge 4 commits into
gh/splitinfinity/91/basefrom
gh/splitinfinity/91/head

Conversation

@SplitInfinity

@SplitInfinity SplitInfinity commented Jan 14, 2021

Copy link
Copy Markdown

Stack from ghstack:

Summary
The new version of clang-format for linux64 that was uploaded to S3
earlier this week was dynamically linked to fbcode's custom platform.
A new binary has been uploaded that statically links against libgcc
and libstdc++, which seems to have fixed this issue. Ideally, all
libraries would be statically linked.

Test Plan
clang-format workflow passes on this PR and output shows that it
successfully downloaded, verified and ran.

Created directory /home/runner/work/pytorch/pytorch/.clang-format-bin for clang-format binary
Downloading clang-format to /home/runner/work/pytorch/pytorch/.clang-format-bin

Reference Hash: 9073602de1c4e1748f2feea5a0782417b20e3043
Actual Hash: 9073602de1c4e1748f2feea5a0782417b20e3043
Using clang-format located at /home/runner/work/pytorch/pytorch/.clang-format-bin/clang-format
no modified files to format

Differential Revision: D25908868

@facebook-github-bot

facebook-github-bot commented Jan 14, 2021

Copy link
Copy Markdown
Contributor

💊 CI failures summary and remediations

As of commit 43dd3c0 (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

SplitInfinity pushed a commit that referenced this pull request Jan 14, 2021
ghstack-source-id: 86152b2
Pull Request resolved: #50520
@SplitInfinity SplitInfinity changed the title [WIP] Update clang-format linux hash Update clang-format linux hash Jan 14, 2021
**Summary**
The new version of `clang-format` for linux64 that was uploaded to S3
earlier this week was dynamically linked to fbcode's custom platform.
A new binary has been uploaded that statically links against `libgcc`
and `libstdc++`, which seems to have fixed this issue. Ideally, all
libraries would be statically linked.

**Test Plan**
`clang-format` workflow passes on this PR and output shows that it
successfully downloaded, verified and ran.

[ghstack-poisoned]
@SplitInfinity SplitInfinity changed the title Update clang-format linux hash [tools] Update clang-format linux hash Jan 14, 2021
SplitInfinity pushed a commit that referenced this pull request Jan 14, 2021
**Summary**
The new version of `clang-format` for linux64 that was uploaded to S3
earlier this week was dynamically linked to fbcode's custom platform.
A new binary has been uploaded that statically links against `libgcc`
and `libstdc++`, which seems to have fixed this issue. Ideally, all
libraries would be statically linked.

**Test Plan**
`clang-format` workflow passes on this PR and output shows that it
successfully downloaded, verified and ran.

ghstack-source-id: 77136b7
Pull Request resolved: #50520
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@SplitInfinity merged this pull request in 52ea372.

@facebook-github-bot facebook-github-bot deleted the gh/splitinfinity/91/head branch January 17, 2021 15:16
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
Summary:
Pull Request resolved: pytorch#50520

**Summary**
The new version of `clang-format` for linux64 that was uploaded to S3
earlier this week was dynamically linked to fbcode's custom platform.
A new binary has been uploaded that statically links against `libgcc`
and `libstdc++`, which seems to have fixed this issue. Ideally, all
libraries would be statically linked.

**Test Plan**
`clang-format` workflow passes on this PR and output shows that it
successfully downloaded, verified and ran.

```
Created directory /home/runner/work/pytorch/pytorch/.clang-format-bin for clang-format binary
Downloading clang-format to /home/runner/work/pytorch/pytorch/.clang-format-bin

Reference Hash: 9073602de1c4e1748f2feea5a0782417b20e3043
Actual Hash: 9073602de1c4e1748f2feea5a0782417b20e3043
Using clang-format located at /home/runner/work/pytorch/pytorch/.clang-format-bin/clang-format
no modified files to format
```

Test Plan: Imported from OSS

Reviewed By: pbelevich

Differential Revision: D25908868

Pulled By: SplitInfinity

fbshipit-source-id: 5667fc5546e5ed0bbf9f36570935d245eb26629b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants