Make submodule cloning more like wiki

This commit is contained in:
HurricanePootis 2023-11-07 13:34:34 -06:00
parent 660b36fe8d
commit a7fd985ad6
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
pkgbase = ncnn-git pkgbase = ncnn-git
pkgdesc = High-performance neural network inference framework optimized for the mobile platform pkgdesc = High-performance neural network inference framework optimized for the mobile platform
pkgver = 20230223.r0.gff80ac295 pkgver = 20231027.r9.g31e315981
pkgrel = 1 pkgrel = 1
url = https://github.com/Tencent/ncnn url = https://github.com/Tencent/ncnn
arch = i686 arch = i686

View File

@ -4,7 +4,7 @@
pkgname=ncnn-git pkgname=ncnn-git
_pkgname=ncnn _pkgname=ncnn
pkgver=20230223.r0.gff80ac295 pkgver=20231027.r9.g31e315981
pkgrel=1 pkgrel=1
pkgdesc="High-performance neural network inference framework optimized for the mobile platform" pkgdesc="High-performance neural network inference framework optimized for the mobile platform"
url="https://github.com/Tencent/ncnn" url="https://github.com/Tencent/ncnn"
@ -29,10 +29,10 @@ prepare() {
cd "${srcdir}/ncnn" cd "${srcdir}/ncnn"
# init submodules # init submodules
git config --file=.gitmodules submodule.glslang.url "$srcdir/glslang" git submodule init
git config --file=.gitmodules submodule.python/pybind11.url "$srcdir/pybind11" git config submodule.glslang.url "$srcdir/glslang"
git config submodule.python/pybind11.url "$srcdir/pybind11"
git -c protocol.file.allow=always submodule update --init git -c protocol.file.allow=always submodule update
} }
build() { build() {