mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[BC BREAKING] Remove outdated python submodules (#108236)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/108236 Approved by: https://github.com/malfet
This commit is contained in:
@ -43,7 +43,7 @@ function assert_git_not_dirty() {
|
||||
# TODO: we should add an option to `build_amd.py` that reverts the repo to
|
||||
# an unmodified state.
|
||||
if [[ "$BUILD_ENVIRONMENT" != *rocm* ]] && [[ "$BUILD_ENVIRONMENT" != *xla* ]] ; then
|
||||
git_status=$(git status --porcelain)
|
||||
git_status=$(git status --porcelain | grep -v '?? third_party' || true)
|
||||
if [[ $git_status ]]; then
|
||||
echo "Build left local git repository checkout dirty"
|
||||
echo "git status --porcelain:"
|
||||
|
8
.gitmodules
vendored
8
.gitmodules
vendored
@ -58,18 +58,10 @@
|
||||
ignore = dirty
|
||||
path = third_party/cpuinfo
|
||||
url = https://github.com/pytorch/cpuinfo.git
|
||||
[submodule "third_party/python-enum"]
|
||||
ignore = dirty
|
||||
path = third_party/python-enum
|
||||
url = https://github.com/PeachPy/enum34.git
|
||||
[submodule "third_party/python-peachpy"]
|
||||
ignore = dirty
|
||||
path = third_party/python-peachpy
|
||||
url = https://github.com/malfet/PeachPy.git
|
||||
[submodule "third_party/python-six"]
|
||||
ignore = dirty
|
||||
path = third_party/python-six
|
||||
url = https://github.com/benjaminp/six.git
|
||||
[submodule "third_party/onnx"]
|
||||
ignore = dirty
|
||||
path = third_party/onnx
|
||||
|
2
cmake/External/nnpack.cmake
vendored
2
cmake/External/nnpack.cmake
vendored
@ -45,8 +45,6 @@ if(ANDROID OR IOS OR ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR ${CMAKE_SYSTEM_NAM
|
||||
set(CAFFE2_THIRD_PARTY_ROOT ${PROJECT_SOURCE_DIR}/third_party)
|
||||
|
||||
# Directories for NNPACK dependencies submoduled in Caffe2
|
||||
set(PYTHON_SIX_SOURCE_DIR "${CAFFE2_THIRD_PARTY_ROOT}/python-six" CACHE STRING "six (Python package) source directory")
|
||||
set(PYTHON_ENUM_SOURCE_DIR "${CAFFE2_THIRD_PARTY_ROOT}/python-enum" CACHE STRING "enum34 (Python package) source directory")
|
||||
set(PYTHON_PEACHPY_SOURCE_DIR "${CAFFE2_THIRD_PARTY_ROOT}/python-peachpy" CACHE STRING "PeachPy (Python package) source directory")
|
||||
if(NOT DEFINED CPUINFO_SOURCE_DIR)
|
||||
set(CPUINFO_SOURCE_DIR "${CAFFE2_THIRD_PARTY_ROOT}/cpuinfo" CACHE STRING "cpuinfo source directory")
|
||||
|
14
third_party/LICENSES_BUNDLED.txt
generated
vendored
14
third_party/LICENSES_BUNDLED.txt
generated
vendored
@ -1,4 +1,4 @@
|
||||
The Pytorch repository and source distributions bundle several libraries that are
|
||||
The Pytorch repository and source distributions bundle several libraries that are
|
||||
compatibly licensed. We list these here.
|
||||
|
||||
Name: DCGM
|
||||
@ -114,11 +114,6 @@ License: BSD-3-Clause
|
||||
Files: third_party/eigen
|
||||
For details, see: third_party/eigen/COPYING.BSD
|
||||
|
||||
Name: enum
|
||||
License: BSD-3-Clause
|
||||
Files: third_party/python-enum/enum
|
||||
For details, see: third_party/python-enum/enum/LICENSE
|
||||
|
||||
Name: fbgemm
|
||||
License: BSD-3-Clause
|
||||
Files: third_party/fbgemm
|
||||
@ -318,11 +313,6 @@ License: BSD-2-Clause
|
||||
Files: third_party/python-peachpy
|
||||
For details, see: third_party/python-peachpy/LICENSE.rst
|
||||
|
||||
Name: python-six
|
||||
License: MIT
|
||||
Files: third_party/python-six
|
||||
For details, see: third_party/python-six/LICENSE
|
||||
|
||||
Name: sleef
|
||||
License: BSL-1.0
|
||||
Files: third_party/sleef
|
||||
@ -356,4 +346,4 @@ Files: third_party/kineto/libkineto/third_party/dynolog/third_party/cpr/test
|
||||
Name: zstd
|
||||
License: BSD-3-Clause
|
||||
Files: third_party/zstd
|
||||
For details, see: third_party/zstd/LICENSE
|
||||
For details, see: third_party/zstd/LICENSE
|
||||
|
1
third_party/python-enum
vendored
1
third_party/python-enum
vendored
Submodule third_party/python-enum deleted from 4cfedc426c
1
third_party/python-six
vendored
1
third_party/python-six
vendored
Submodule third_party/python-six deleted from 15e31431af
Reference in New Issue
Block a user