shithub: opus

Download patch

ref: 26ab10d0c87f8cdd2472bd14da6a96e8191aaa6d
parent: f12371bcee957a864437aef9927f0497a1e8cf28
author: Marcus Asteborg <xnorpx@outlook.com>
date: Wed Jun 21 17:19:03 EDT 2023

Remove submodule init

--- a/.github/workflows/autotools.yml
+++ b/.github/workflows/autotools.yml
@@ -31,8 +31,6 @@
           }
     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'
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -10,9 +10,7 @@
       - 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 @@
       - 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,8 +224,6 @@
       - 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
@@ -236,7 +230,7 @@
       - 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') ||
--- a/.github/workflows/dred.yml
+++ b/.github/workflows/dred.yml
@@ -58,8 +58,6 @@
       - 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
@@ -66,7 +64,7 @@
       - 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 @@
       - 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
--- a/.github/workflows/repository.yml
+++ b/.github/workflows/repository.yml
@@ -10,7 +10,6 @@
       - uses: actions/checkout@v3
         with:
           fetch-depth: 0
-          submodules: recursive
       - name: Check Whitespaces
         run: |
           git diff-tree --check origin/opus-ng HEAD
--- a/README
+++ b/README
@@ -73,7 +73,6 @@
 
 2) Compiling the source
 
-    % git submodule update --init
     % ./autogen.sh
     % ./configure
     % make
--- a/autogen.sh
+++ b/autogen.sh
@@ -9,7 +9,6 @@
 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...."
--