Skip to content

Commit

Permalink
Ignore MSVC's pdb file (#47963)
Browse files Browse the repository at this point in the history
Summary:
These files are generated by MSVC when building with debug symbols `REL_WITH_DEB_INFO=1`:
```
PS C:\Users\Xiang Gao\source\repos\pytorch> git status
On branch master
Your branch is up to date with 'origin/master'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        torch/lib/asmjit.pdb
        torch/lib/c10.pdb
        torch/lib/c10_cuda.pdb
        torch/lib/caffe2_detectron_ops_gpu.pdb
        torch/lib/caffe2_module_test_dynamic.pdb
        torch/lib/caffe2_observers.pdb
        torch/lib/fbgemm.pdb
        torch/lib/shm.pdb
        torch/lib/torch_cpu.pdb
        torch/lib/torch_cuda.pdb

nothing added to commit but untracked files present (use "git add" to track)
```

Pull Request resolved: #47963

Reviewed By: heitorschueroff

Differential Revision: D25311564

Pulled By: malfet

fbshipit-source-id: 1a7125f3c6ff296b4bb0975ee97b59c23586b1cb
  • Loading branch information
zasdfgbnm authored and facebook-github-bot committed Dec 4, 2020
1 parent cc1c306 commit cf1e5d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -76,6 +76,7 @@ torch/lib/*.exe*
torch/lib/*.dylib*
torch/lib/*.h
torch/lib/*.lib
torch/lib/*.pdb
torch/lib/*.so*
torch/lib/protobuf*.pc
torch/lib/build
Expand Down

0 comments on commit cf1e5d7

Please sign in to comment.