[arch-commits] Commit in python-pytorch/repos/community-testing-x86_64 (2 files)

2019-11-13 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, November 13, 2019 @ 17:22:41
  Author: svenstaro
Revision: 527185

archrelease: copy trunk to community-testing-x86_64

Added:
  python-pytorch/repos/community-testing-x86_64/PKGBUILD
(from rev 527184, python-pytorch/trunk/PKGBUILD)
Deleted:
  python-pytorch/repos/community-testing-x86_64/PKGBUILD

--+
 PKGBUILD |  326 ++---
 1 file changed, 163 insertions(+), 163 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-11-13 17:22:27 UTC (rev 527184)
+++ PKGBUILD2019-11-13 17:22:41 UTC (rev 527185)
@@ -1,163 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: Stephen Zhang 
-
-pkgbase="python-pytorch"
-pkgname=("python-pytorch" "python-pytorch-opt" "python-pytorch-cuda" 
"python-pytorch-opt-cuda")
-_pkgname="pytorch"
-pkgver=1.3.0
-pkgrel=3
-pkgdesc="Tensors and Dynamic neural networks in Python with strong GPU 
acceleration"
-arch=('x86_64')
-url="https://pytorch.org;
-license=('BSD')
-depends=('google-glog' 'gflags' 'opencv' 'openmp' 'nccl' 'pybind11' 'python' 
'python-yaml' 'python-numpy' 'protobuf' 'ffmpeg' 'python-future' 'qt5-base')
-makedepends=('python' 'python-setuptools' 'python-yaml' 'python-numpy' 'cmake' 
'cuda' 'cudnn' 'git' 'magma')
-source=("${_pkgname}-${pkgver}::git+https://github.com/pytorch/pytorch.git#tag=v$pkgver;)
-sha256sums=('SKIP')
-
-get_pyver () {
-  python -c 'import sys; print(str(sys.version_info[0]) + "." + 
str(sys.version_info[1]))'
-}
-
-prepare() {
-  cd "${_pkgname}-${pkgver}"
-
-  # This is the lazy way since pytorch has sooo many submodules and they keep
-  # changing them around but we've run into more problems so far doing it the
-  # manual than the lazy way. This lazy way (not explicitly specifying all
-  # submodules) will make building inefficient but for now I'll take it.
-  # It will result in the same package, don't worry.
-  git submodule update --init --recursive
-
-  # https://github.com/pytorch/pytorch/issues/26555
-  sed -i 's#^  ${CMAKE_CURRENT_SOURCE_DIR}/tensor_iterator_test.cpp##g' 
aten/src/ATen/test/CMakeLists.txt
-
-  # Fix build with Python 3.8
-  # https://github.com/pytorch/pytorch/issues/28060
-  find -name '*.cpp' -exec sed -i '/tp_print/s/nullptr/0/' {} +
-
-  cd ..
-
-  cp -a "${_pkgname}-${pkgver}" "${_pkgname}-${pkgver}-opt"
-  cp -a "${_pkgname}-${pkgver}" "${_pkgname}-${pkgver}-cuda"
-  cp -a "${_pkgname}-${pkgver}" "${_pkgname}-${pkgver}-opt-cuda"
-
-  export VERBOSE=1
-  export PYTORCH_BUILD_VERSION="${pkgver}"
-  export PYTORCH_BUILD_NUMBER=1
-
-  # Check tools/setup_helpers/cmake.py, setup.py and CMakeLists.txt for a list 
of flags that can be set via env vars.
-  export USE_MKLDNN=OFF
-  # export BUILD_CUSTOM_PROTOBUF=OFF
-  # export BUILD_SHARED_LIBS=OFF
-  export USE_FFMPEG=ON
-  export USE_GFLAGS=ON
-  export USE_GLOG=ON
-  export BUILD_BINARY=ON
-  export USE_OPENCV=ON
-  export USE_SYSTEM_NCCL=ON
-  export CUDAHOSTCXX=g++-8
-  export CUDA_HOME=/opt/cuda
-  export CUDNN_LIB_DIR=/usr/lib
-  export CUDNN_INCLUDE_DIR=/usr/include
-  export TORCH_NVCC_FLAGS="-Xfatbin -compress-all"
-  export TORCH_CUDA_ARCH_LIST="3.2;3.5;3.7;5.0;5.2;5.3;6.0;6.1;6.2;7.0;7.2;7.5"
-}
-
-build() {
-  echo "Building without cuda and without non-x86-64 optimizations"
-  export USE_CUDA=0
-  export USE_CUDNN=0
-  cd "${srcdir}/${_pkgname}-${pkgver}"
-  python setup.py build
-
-
-  echo "Building without cuda and with non-x86-64 optimizations"
-  export USE_CUDA=0
-  export USE_CUDNN=0
-  cd "${srcdir}/${_pkgname}-${pkgver}-opt"
-  echo "add_definitions(-march=haswell)" >> cmake/MiscCheck.cmake
-  python setup.py build
-
-
-  echo "Building with cuda and without non-x86-64 optimizations"
-  export USE_CUDA=1
-  export USE_CUDNN=1
-  cd "${srcdir}/${_pkgname}-${pkgver}-cuda"
-  python setup.py build
-
-
-  echo "Building with cuda and with non-x86-64 optimizations"
-  export USE_CUDA=1
-  export USE_CUDNN=1
-  cd "${srcdir}/${_pkgname}-${pkgver}-opt-cuda"
-  echo "add_definitions(-march=haswell)" >> cmake/MiscCheck.cmake
-  python setup.py build
-}
-
-_package() {
-  # Prevent setup.py from re-running CMake and rebuilding
-  sed -e 's/RUN_BUILD_DEPS = True/RUN_BUILD_DEPS = False/g' -i setup.py
-
-  python setup.py install --root="${pkgdir}"/ --optimize=1 --skip-build
-
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
-  pytorchpath="usr/lib/python$(get_pyver)/site-packages/torch"
-  install -d "${pkgdir}/usr/lib"
-
-  # put CMake files in correct place
-  mv "${pkgdir}/${pytorchpath}/share/cmake" "${pkgdir}/usr/lib/cmake"
-
-  # put C++ API in correct place
-  mv "${pkgdir}/${pytorchpath}/include" "${pkgdir}/usr/include"
-  mv "${pkgdir}/${pytorchpath}/lib"/*.so* "${pkgdir}/usr/lib/"
-
-  # clean up duplicates
-  # TODO: move towards direct shared library dependecy of:
-  #   c10, caffe2, libcpuinfo, CUDA RT, gloo, GTest, Intel MKL,
-  #   NVRTC, ONNX, protobuf, 

[arch-commits] Commit in python-pytorch/repos/community-testing-x86_64 (2 files)

2019-04-15 Thread Konstantin Gizdov via arch-commits
Date: Monday, April 15, 2019 @ 18:04:55
  Author: kgizdov
Revision: 451715

archrelease: copy trunk to community-testing-x86_64

Added:
  python-pytorch/repos/community-testing-x86_64/PKGBUILD
(from rev 451714, python-pytorch/trunk/PKGBUILD)
Deleted:
  python-pytorch/repos/community-testing-x86_64/PKGBUILD

--+
 PKGBUILD |  264 ++---
 1 file changed, 149 insertions(+), 115 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-04-15 18:04:04 UTC (rev 451714)
+++ PKGBUILD2019-04-15 18:04:55 UTC (rev 451715)
@@ -1,115 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: Stephen Zhang 
-
-pkgbase="python-pytorch"
-pkgname=("python-pytorch" "python-pytorch-cuda")
-_pkgname="pytorch"
-pkgver=1.0.1
-pkgrel=7
-pkgdesc="Tensors and Dynamic neural networks in Python with strong GPU 
acceleration"
-arch=('x86_64')
-url="https://pytorch.org;
-license=('BSD')
-depends=('python' 'python-yaml' 'python-numpy' 'opencv' 'nccl')
-makedepends=('python' 'python-setuptools' 'python-yaml' 'python-numpy' 'cmake' 
'cuda' 'cudnn' 'git')
-source=("${_pkgname}-${pkgver}::git+https://github.com/pytorch/pytorch.git#tag=v$pkgver;)
-sha256sums=('SKIP')
-
-get_pyver () {
-python -c 'import sys; print(str(sys.version_info[0]) + "." + 
str(sys.version_info[1]))'
-}
-
-prepare() {
-  cd "${_pkgname}-${pkgver}"
-
-  # This is the lazy way since pytorch has sooo many submodules and they keep
-  # changing them around but we've run into more problems so far doing it the
-  # manual than the lazy way. This lazy way (not explicitly specifying all
-  # submodules) will make building inefficient but for now I'll take it.
-  # It will result in the same package, don't worry.
-  git submodule update --init --recursive
-
-  cd ..
-
-  cp -a "${_pkgname}-${pkgver}" "${_pkgname}-${pkgver}-cuda"
-}
-
-build() {
-  export CC=gcc
-  export CXX=g++
-  export PYTORCH_BUILD_VERSION=${pkgver}
-  export PYTORCH_BUILD_NUMBER=1
-
-  echo "Building without cuda"
-  export NO_CUDA=1
-  export WITH_CUDNN=0
-  export USE_OPENCV=1
-  export BUILD_BINARY=1
-
-  cd "$srcdir/${_pkgname}-${pkgver}"
-  python setup.py build
-
-  echo "Building with cuda"
-  export NO_CUDA=0
-  export WITH_CUDNN=1
-  export CUDAHOSTCXX=g++
-  export CUDA_HOME=/opt/cuda
-  export CUDNN_LIB_DIR=/usr/lib
-  export CUDNN_INCLUDE_DIR=/usr/include
-  export TORCH_NVCC_FLAGS="-Xfatbin -compress-all"
-  export 
TORCH_CUDA_ARCH_LIST="3.0;3.2;3.5;3.7;5.0;5.2;5.3;6.0;6.1;6.2;7.0;7.2;7.5"
-
-  cd "$srcdir/${_pkgname}-${pkgver}-cuda"
-  python setup.py build
-}
-
-package_python-pytorch() {
-  cd "$srcdir/${_pkgname}-${pkgver}"
-  python setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-  # put CMake files in correct place
-  install -d "${pkgdir}/usr/lib/cmake"
-  mv "${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/share/cmake"/* \
- "${pkgdir}/usr/lib/cmake/"
-  # put C++ API in correct place
-  install -d "${pkgdir}/usr/bin"
-  install -d "${pkgdir}/usr/include"
-  install -d "${pkgdir}/usr/lib"
-  mv "${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/lib/include"/* \
- "${pkgdir}/usr/include/"
-  mv "${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/lib/THCUNN.h" \
- "${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/lib/THNN.h" \
- "${pkgdir}/usr/include/"
-  mv "${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/lib"/*.so \
- "${pkgdir}/usr/lib/"
-  mv 
"${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/lib"/torch_shm_manager
 \
- "${pkgdir}/usr/bin/"
-}
-
-package_python-pytorch-cuda() {
-  depends+=('cuda' 'cudnn')
-  provides=('python-pytorch')
-  conflicts=('python-pytorch')
-  cd "$srcdir/${_pkgname}-${pkgver}-cuda"
-  python setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-  # put CMake files in correct place
-  install -d "${pkgdir}/usr/lib/cmake"
-  mv "${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/share/cmake"/* \
- "${pkgdir}/usr/lib/cmake/"
-  # put C++ API in correct place
-  install -d "${pkgdir}/usr/bin"
-  install -d "${pkgdir}/usr/include"
-  install -d "${pkgdir}/usr/lib"
-  mv "${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/lib/include"/* \
- "${pkgdir}/usr/include/"
-  mv "${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/lib/THCUNN.h" \
- "${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/lib/THNN.h" \
- "${pkgdir}/usr/include/"
-  mv "${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/lib"/*.so \
- "${pkgdir}/usr/lib/"
-  mv 
"${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/lib"/torch_shm_manager
 \
- "${pkgdir}/usr/bin/"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: 

[arch-commits] Commit in python-pytorch/repos/community-testing-x86_64 (2 files)

2019-04-13 Thread Konstantin Gizdov via arch-commits
Date: Saturday, April 13, 2019 @ 20:35:56
  Author: kgizdov
Revision: 451544

archrelease: copy trunk to community-testing-x86_64

Added:
  python-pytorch/repos/community-testing-x86_64/PKGBUILD
(from rev 451543, python-pytorch/trunk/PKGBUILD)
Deleted:
  python-pytorch/repos/community-testing-x86_64/PKGBUILD

--+
 PKGBUILD |  230 ++---
 1 file changed, 115 insertions(+), 115 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-04-13 20:33:09 UTC (rev 451543)
+++ PKGBUILD2019-04-13 20:35:56 UTC (rev 451544)
@@ -1,115 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: Stephen Zhang 
-
-pkgbase="python-pytorch"
-pkgname=("python-pytorch" "python-pytorch-cuda")
-_pkgname="pytorch"
-pkgver=1.0.1
-pkgrel=7
-pkgdesc="Tensors and Dynamic neural networks in Python with strong GPU 
acceleration"
-arch=('x86_64')
-url="https://pytorch.org;
-license=('BSD')
-depends=('python' 'python-yaml' 'python-numpy' 'opencv' 'nccl')
-makedepends=('python' 'python-setuptools' 'python-yaml' 'python-numpy' 'cmake' 
'cuda' 'cudnn' 'git')
-source=("${_pkgname}-${pkgver}::git+https://github.com/pytorch/pytorch.git#tag=v$pkgver;)
-sha256sums=('SKIP')
-
-get_pyver () {
-python -c 'import sys; print(str(sys.version_info[0]) + "." + 
str(sys.version_info[1]))'
-}
-
-prepare() {
-  cd "${_pkgname}-${pkgver}"
-
-  # This is the lazy way since pytorch has sooo many submodules and they keep
-  # changing them around but we've run into more problems so far doing it the
-  # manual than the lazy way. This lazy way (not explicitly specifying all
-  # submodules) will make building inefficient but for now I'll take it.
-  # It will result in the same package, don't worry.
-  git submodule update --init --recursive
-
-  cd ..
-
-  cp -a "${_pkgname}-${pkgver}" "${_pkgname}-${pkgver}-cuda"
-}
-
-build() {
-  export CC=gcc
-  export CXX=g++
-  export PYTORCH_BUILD_VERSION=${pkgver}
-  export PYTORCH_BUILD_NUMBER=1
-
-  echo "Building without cuda"
-  export NO_CUDA=1
-  export WITH_CUDNN=0
-  export USE_OPENCV=1
-  export BUILD_BINARY=1
-
-  cd "$srcdir/${_pkgname}-${pkgver}"
-  python setup.py build
-
-  echo "Building with cuda"
-  export NO_CUDA=0
-  export WITH_CUDNN=1
-  export CUDAHOSTCXX=g++
-  export CUDA_HOME=/opt/cuda
-  export CUDNN_LIB_DIR=/usr/lib
-  export CUDNN_INCLUDE_DIR=/usr/include
-  export TORCH_NVCC_FLAGS="-Xfatbin -compress-all"
-  export 
TORCH_CUDA_ARCH_LIST="3.0;3.2;3.5;3.7;5.0;5.2;5.3;6.0;6.1;6.2;7.0;7.2;7.5"
-
-  cd "$srcdir/${_pkgname}-${pkgver}-cuda"
-  python setup.py build
-}
-
-package_python-pytorch() {
-  cd "$srcdir/${_pkgname}-${pkgver}"
-  python setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-  # put CMake files in correct place
-  install -d "${pkgdir}/usr/lib/cmake"
-  mv "${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/share/cmake"/* \
- "${pkgdir}/usr/lib/cmake/"
-  # put C++ API in correct place
-  install -d "${pkgdir}/usr/bin"
-  install -d "${pkgdir}/usr/include"
-  install -d "${pkgdir}/usr/lib"
-  mv "${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/lib/include"/* \
- "${pkgdir}/usr/include/"
-  mv "${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/lib/THCUNN.h" \
- "${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/lib/THNN.h" \
- "${pkgdir}/usr/include/"
-  mv "${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/lib"/*.so \
- "${pkgdir}/usr/lib/"
-  mv 
"${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/lib"/torch_shm_manager
 \
- "${pkgdir}/usr/bin/"
-}
-
-package_python-pytorch-cuda() {
-  depends+=('cuda' 'cudnn')
-  provides=('python-pytorch')
-  conflicts=('python-pytorch')
-  cd "$srcdir/${_pkgname}-${pkgver}-cuda"
-  python setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-  # put CMake files in correct place
-  install -d "${pkgdir}/usr/lib/cmake"
-  mv "${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/share/cmake"/* \
- "${pkgdir}/usr/lib/cmake/"
-  # put C++ API in correct place
-  install -d "${pkgdir}/usr/bin"
-  install -d "${pkgdir}/usr/include"
-  install -d "${pkgdir}/usr/lib"
-  mv "${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/lib/include"/* \
- "${pkgdir}/usr/include/"
-  mv "${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/lib/THCUNN.h" \
- "${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/lib/THNN.h" \
- "${pkgdir}/usr/include/"
-  mv "${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/lib"/*.so \
- "${pkgdir}/usr/lib/"
-  mv 
"${pkgdir}/usr/lib/python$(get_pyver)/site-packages/torch/lib"/torch_shm_manager
 \
- "${pkgdir}/usr/bin/"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: 

[arch-commits] Commit in python-pytorch/repos/community-testing-x86_64 (2 files)

2019-03-02 Thread Sven-Hendrik Haase via arch-commits
Date: Saturday, March 2, 2019 @ 17:46:03
  Author: svenstaro
Revision: 437406

archrelease: copy trunk to community-testing-x86_64

Added:
  python-pytorch/repos/community-testing-x86_64/PKGBUILD
(from rev 437405, python-pytorch/trunk/PKGBUILD)
Deleted:
  python-pytorch/repos/community-testing-x86_64/PKGBUILD

--+
 PKGBUILD |  303 ++---
 1 file changed, 153 insertions(+), 150 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-03-02 17:45:47 UTC (rev 437405)
+++ PKGBUILD2019-03-02 17:46:03 UTC (rev 437406)
@@ -1,150 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: Stephen Zhang 
-
-pkgbase="python-pytorch"
-pkgname=("python-pytorch" "python-pytorch-cuda")
-_pkgname="pytorch"
-pkgver=1.0.1
-pkgrel=2
-pkgdesc="Tensors and Dynamic neural networks in Python with strong GPU 
acceleration"
-arch=('x86_64')
-url="https://pytorch.org;
-license=('BSD')
-depends=('python' 'python-yaml' 'python-numpy' 'opencv' 'nccl')
-makedepends=('python' 'python-setuptools' 'python-yaml' 'python-numpy' 'cmake' 
'cuda' 'cudnn' 'git')
-source=("${_pkgname}-${pkgver}::git+https://github.com/pytorch/pytorch.git#tag=v$pkgver;
-"git+https://github.com/catchorg/Catch2;
-"git+https://github.com/pybind/pybind11;
-"git+https://github.com/NVlabs/cub;
-"git+https://github.com/eigenteam/eigen-git-mirror;
-"git+https://github.com/google/googletest;
-"git+https://github.com/NervanaSystems/nervanagpu;
-"git+https://github.com/google/benchmark;
-"git+https://github.com/google/protobuf;
-"git+https://github.com/Yangqing/ios-cmake;
-"git+https://github.com/Maratyszcza/NNPACK;
-"git+https://github.com/facebookincubator/gloo;
-"git+https://github.com/Maratyszcza/pthreadpool;
-"git+https://github.com/Maratyszcza/FXdiv;
-"git+https://github.com/Maratyszcza/FP16;
-"git+https://github.com/Maratyszcza/psimd;
-"git+https://github.com/facebook/zstd;
-"git+https://github.com/Maratyszcza/cpuinfo;
-"git+https://github.com/PeachPy/enum34;
-"git+https://github.com/Maratyszcza/PeachPy;
-"git+https://github.com/benjaminp/six;
-"git+https://github.com/ARM-software/ComputeLibrary;
-"git+https://github.com/onnx/onnx;
-"git+https://github.com/USCILab/cereal;
-"git+https://github.com/onnx/onnx-tensorrt;
-"git+https://github.com/shibatch/sleef;
-"git+https://github.com/intel/ideep;)
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP')
-
-prepare() {
-  cd "${_pkgname}-${pkgver}"
-
-  git submodule init
-  git config submodule."third_party/catch".url "${srcdir}"/Catch2
-  git config submodule."third_party/pybind11".url "${srcdir}"/pybind11
-  git config submodule."third_party/cub".url "${srcdir}"/cub
-  git config submodule."third_party/eigen".url "${srcdir}"/eigen-git-mirror
-  git config submodule."third_party/googletest".url "${srcdir}"/googletest
-  git config submodule."third_party/nervanagpu".url "${srcdir}"/nervanagpu
-  git config submodule."third_party/benchmark".url "${srcdir}"/benchmark
-  git config submodule."third_party/protobuf".url "${srcdir}"/protobuf
-  git config submodule."third_party/ios-cmake".url "${srcdir}"/ios-cmake
-  git config submodule."third_party/NNPACK".url "${srcdir}"/NNPACK
-  git config submodule."third_party/gloo".url "${srcdir}"/gloo
-  git config submodule."third_party/NNPACK_deps/pthread_ool".url 
"${srcdir}"/pthreadpool
-  git config submodule."third_party/NNPACK_deps/FXdiv".url "${srcdir}"/FXdiv
-  git config submodule."third_party/NNPACK_deps/FP16".url "${srcdir}"/FP16
-  git config submodule."third_party/NNPACK_deps/psimd".url "${srcdir}"/psimd
-  git config submodule."third_party/zstd".url "${srcdir}"/zstd
-  git config submodule."third_party/cpuinfo".url "${srcdir}"/cpuinfo
-  git config submodule."third_party/python-enum".url "${srcdir}"/enum34
-  git config submodule."third_party/python-peachpy".url "${srcdir}"/PeachPy
-  git config submodule."third_party/python-six".url "${srcdir}"/six
-  git config submodule."third_party/ComputeLibrary".url 
"${srcdir}"/ComputeLibrary
-  git config submodule."third_party/onnx".url "${srcdir}"/onnx
-  git config submodule."third_party/cereal".url "${srcdir}"/cereal
-  git config submodule."third_party/onnx-tensorrt".url 
"${srcdir}"/onnx-tensorrt
-  git