From 26ab10d0c87f8cdd2472bd14da6a96e8191aaa6d Mon Sep 17 00:00:00 2001 From: Marcus Asteborg <xnorpx@outlook.com> Date: Wed, 21 Jun 2023 21:19:03 -0700 Subject: [PATCH] Remove submodule init --- .github/workflows/autotools.yml | 2 -- .github/workflows/cmake.yml | 12 +++--------- .github/workflows/dred.yml | 6 +----- .github/workflows/repository.yml | 1 - README | 1 - autogen.sh | 1 - 6 files changed, 4 insertions(+), 19 deletions(-) diff --git a/.github/workflows/autotools.yml b/.github/workflows/autotools.yml index f249857ae..91d332bf8 100644 --- a/.github/workflows/autotools.yml +++ b/.github/workflows/autotools.yml @@ -31,8 +31,6 @@ jobs: } steps: - uses: actions/checkout@v3 - - name: Pull git submodules - run: git submodule update --init --recursive # No AutoMake on Mac so let's install it - name: Install AutoConf, AutoMake and LibTool on MacOSX if: matrix.config.os == 'macos-latest' diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 789297399..ebdc68dcf 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -10,9 +10,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Pull git submodules - run: git submodule update --init --recursive - - name: Submodule init and Download models + - name: Download models run: ./autogen.sh - name: Install CMake 3.1 run: | @@ -40,9 +38,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Pull git submodules - run: git submodule update --init --recursive - - name: Submodule init and Download models + - name: Download models run: ./autogen.sh - name: Install MINGW run: sudo apt-get install -y mingw-w64 @@ -228,15 +224,13 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Pull git submodules - run: git submodule update --init --recursive - name: Install AutoConf, AutoMake and LibTool # Needed for autogen.sh if: matrix.config.os == 'macos-latest' run: brew install autoconf automake libtool - name: Download models Windows if: contains(matrix.config.name, 'Windows') run: .\autogen.bat - - name: Submodule init and Download models + - name: Download models if: contains(matrix.config.name, 'MacOSX') || contains(matrix.config.name, 'Linux') || contains(matrix.config.name, 'Android') || diff --git a/.github/workflows/dred.yml b/.github/workflows/dred.yml index d22ab5093..56e4c5115 100644 --- a/.github/workflows/dred.yml +++ b/.github/workflows/dred.yml @@ -58,15 +58,13 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Pull git submodules - run: git submodule update --init --recursive - name: Install AutoConf, AutoMake and LibTool # Needed for autogen.sh if: matrix.config.os == 'macos-latest' run: brew install autoconf automake libtool - name: Download models Windows if: contains(matrix.config.name, 'Windows') run: .\autogen.bat - - name: Submodule init and Download models + - name: Download models if: contains(matrix.config.name, 'MacOSX') || contains(matrix.config.name, 'Linux') || contains(matrix.config.name, 'Android') || @@ -110,8 +108,6 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Pull git submodules - run: git submodule update --init --recursive - name: Install AutoConf, AutoMake and LibTool on MacOSX if: matrix.config.os == 'macos-latest' run: brew install autoconf automake libtool diff --git a/.github/workflows/repository.yml b/.github/workflows/repository.yml index 6d4810c4b..857621dd3 100644 --- a/.github/workflows/repository.yml +++ b/.github/workflows/repository.yml @@ -10,7 +10,6 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - submodules: recursive - name: Check Whitespaces run: | git diff-tree --check origin/opus-ng HEAD diff --git a/README b/README index 7a72a7c16..b24b4884c 100644 --- a/README +++ b/README @@ -73,7 +73,6 @@ On Apple macOS, install Xcode and brew.sh, then in the Terminal enter: 2) Compiling the source - % git submodule update --init % ./autogen.sh % ./configure % make diff --git a/autogen.sh b/autogen.sh index fe558d39e..f2f3841d1 100755 --- a/autogen.sh +++ b/autogen.sh @@ -9,7 +9,6 @@ set -e srcdir=`dirname $0` test -n "$srcdir" && cd "$srcdir" -git submodule update --init (cd dnn; ./download_model.sh 2ddc476) echo "Updating build configuration files, please wait...." -- GitLab