mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Fix/relax CMake linter rules (#35574)
Summary: Ignore mixed upper-case/lower-case style for now Fix space between function and its arguments violation Pull Request resolved: https://github.com/pytorch/pytorch/pull/35574 Test Plan: CI Differential Revision: D20712969 Pulled By: malfet fbshipit-source-id: 0012d430aed916b4518599a0b535e82d15721f78
This commit is contained in:
committed by
Facebook GitHub Bot
parent
96eec95ece
commit
b9adbb5002
@ -495,15 +495,15 @@ if(NOT INTERN_BUILD_MOBILE OR NOT BUILD_CAFFE2_MOBILE)
|
||||
)
|
||||
|
||||
if(NOT INTERN_DISABLE_MOBILE_INTERP)
|
||||
set (MOBILE_SRCS
|
||||
${TORCH_SRC_DIR}/csrc/jit/mobile/function.cpp
|
||||
${TORCH_SRC_DIR}/csrc/jit/mobile/import.cpp
|
||||
${TORCH_SRC_DIR}/csrc/jit/mobile/module.cpp
|
||||
${TORCH_SRC_DIR}/csrc/jit/mobile/register_mobile_ops.cpp
|
||||
${TORCH_SRC_DIR}/csrc/jit/mobile/register_mobile_autograd.cpp
|
||||
${TORCH_SRC_DIR}/csrc/jit/mobile/interpreter.cpp
|
||||
)
|
||||
list (APPEND TORCH_SRCS ${MOBILE_SRCS})
|
||||
set(MOBILE_SRCS
|
||||
${TORCH_SRC_DIR}/csrc/jit/mobile/function.cpp
|
||||
${TORCH_SRC_DIR}/csrc/jit/mobile/import.cpp
|
||||
${TORCH_SRC_DIR}/csrc/jit/mobile/module.cpp
|
||||
${TORCH_SRC_DIR}/csrc/jit/mobile/register_mobile_ops.cpp
|
||||
${TORCH_SRC_DIR}/csrc/jit/mobile/register_mobile_autograd.cpp
|
||||
${TORCH_SRC_DIR}/csrc/jit/mobile/interpreter.cpp
|
||||
)
|
||||
list(APPEND TORCH_SRCS ${MOBILE_SRCS})
|
||||
endif()
|
||||
|
||||
if(NOT INTERN_DISABLE_AUTOGRAD)
|
||||
|
Reference in New Issue
Block a user