Skip to content

Commit

Permalink
[fbsync] fix code format (#7575)
Browse files Browse the repository at this point in the history
Reviewed By: vmoens

Differential Revision: D45903819

fbshipit-source-id: 3afef00d5126bdbd0bb497e9e2fc76a06c276b94
  • Loading branch information
NicolasHug authored and facebook-github-bot committed May 16, 2023
1 parent 8d89c90 commit 9b744f7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,10 +325,7 @@ def get_extensions():
image_macros += [("NVJPEG_FOUND", str(int(use_nvjpeg)))]

image_path = os.path.join(extensions_dir, "io", "image")
image_src = (
glob.glob(os.path.join(image_path, "*.cpp"))
+ glob.glob(os.path.join(image_path, "cpu", "*.cpp"))
)
image_src = glob.glob(os.path.join(image_path, "*.cpp")) + glob.glob(os.path.join(image_path, "cpu", "*.cpp"))

if is_rocm_pytorch:
image_src += glob.glob(os.path.join(image_path, "hip", "*.cpp"))
Expand Down

0 comments on commit 9b744f7

Please sign in to comment.