Skip to content

Commit

Permalink
Teach getdeps to find VS 2022 Professional's dumpbin.exe (#4581)
Browse files Browse the repository at this point in the history
Summary:
X-link: facebookincubator/velox#4581

Allows one to do getdeps builds on machines using Visual Studio 2022
Professional.

Reviewed By: chadaustin

Differential Revision: D44804055

fbshipit-source-id: 7a1042a3c1f4b6b44707afdb7e33294ad1851462
  • Loading branch information
mshroyer authored and facebook-github-bot committed Apr 12, 2023
1 parent 463d6de commit ce2d951
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/fbcode_builder/getdeps/dyndeps.py
Expand Up @@ -190,6 +190,9 @@ def find_dumpbin(self) -> str:
"VC/bin/dumpbin.exe"
),
("c:/Program Files (x86)/Microsoft Visual Studio */VC/bin/dumpbin.exe"),
(
"C:/Program Files/Microsoft Visual Studio/*/Professional/VC/Tools/MSVC/*/bin/HostX64/x64/dumpbin.exe"
),
]
for pattern in globs:
for exe in glob.glob(pattern):
Expand Down

0 comments on commit ce2d951

Please sign in to comment.