mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
Enable UFMT on a bunch of low traffic Python files outside of main files (#106052)
Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/106052 Approved by: https://github.com/albanD, https://github.com/Skylion007
This commit is contained in:
committed by
PyTorch MergeBot
parent
5a114f72bf
commit
f70844bec7
@ -13,14 +13,12 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
import sysconfig
|
||||
import sys
|
||||
import sysconfig
|
||||
|
||||
flags = [
|
||||
f'-DPYTHON_EXECUTABLE:FILEPATH={sys.executable}',
|
||||
f"-DPYTHON_EXECUTABLE:FILEPATH={sys.executable}",
|
||||
f"-DPYTHON_INCLUDE_DIR={sysconfig.get_path('include')}",
|
||||
]
|
||||
|
||||
print(' '.join(flags), end='')
|
||||
print(" ".join(flags), end="")
|
||||
|
Reference in New Issue
Block a user