Skip to content

Commit

Permalink
Merge pull request #37 from huawei-noah/v1.2.0_beta
Browse files Browse the repository at this point in the history
V1.2.0 is released
  • Loading branch information
jianfeifeng authored Apr 7, 2021
2 parents e951118 + ccf39e9 commit e5dc9a3
Show file tree
Hide file tree
Showing 1,088 changed files with 56,221 additions and 46,190 deletions.
4 changes: 2 additions & 2 deletions .Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -771,8 +771,8 @@ WARN_LOGFILE =
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
# Note: If this tag is empty the current directory is searched.

INPUT = ./inference/engine/api ./inference/flow/include/flow.h \
./common/uni/include/task.h ./inference/flow/src/flow.proto
INPUT = ./inference/engine/api/java ./inference/engine/api/c \
./inference/flow/include/flow.h ./common/uni/include/task.h ./inference/flow/src/flow.proto

# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
Expand Down
55 changes: 0 additions & 55 deletions .github/workflows/compilation.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/linux-android-armv7.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: linux-android-armv7

on: [push, pull_request]

jobs:
linux:
name: linux-android-armv7
runs-on: ubuntu-latest

steps:
- name: checkout code
uses: actions/checkout@v2
- name: compile armv7 with llvm on linux
run: |
mkdir android_ndk && cd android_ndk
wget https://dl.google.com/android/repository/android-ndk-r20b-linux-x86_64.zip > /dev/null
unzip -o android-ndk-r20b-linux-x86_64.zip > /dev/null
export ANDROID_NDK_ROOT=${PWD}/android-ndk-r20b
export PATH=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH
cd ..
./install.sh --target=android-armv7 -t 32
21 changes: 21 additions & 0 deletions .github/workflows/linux-android-armv8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: linux-android-armv8

on: [push, pull_request]

jobs:
linux:
name: linux-android-armv8
runs-on: ubuntu-latest

steps:
- name: checkout code
uses: actions/checkout@v2
- name: compile armv8 with llvm on linux
run: |
mkdir android_ndk && cd android_ndk
wget https://dl.google.com/android/repository/android-ndk-r20b-linux-x86_64.zip > /dev/null
unzip -o android-ndk-r20b-linux-x86_64.zip > /dev/null
export ANDROID_NDK_ROOT=${PWD}/android-ndk-r20b
export PATH=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH
cd ..
./install.sh --target=android-aarch64 --mali
21 changes: 21 additions & 0 deletions .github/workflows/linux-android-x86_64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: linux-android-x86_64

on: [push, pull_request]

jobs:
linux:
name: linux-android-x86_64
runs-on: ubuntu-latest

steps:
- name: checkout code
uses: actions/checkout@v2
- name: compile android x86_64 on linux
run: |
mkdir android_ndk && cd android_ndk
wget https://dl.google.com/android/repository/android-ndk-r20b-linux-x86_64.zip > /dev/null
unzip -o android-ndk-r20b-linux-x86_64.zip > /dev/null
export ANDROID_NDK_ROOT=${PWD}/android-ndk-r20b
export PATH=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH
cd ..
./install.sh --target=android-x86_64
15 changes: 15 additions & 0 deletions .github/workflows/linux-x86-avx2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: linux-x86-avx2

on: [push, pull_request]

jobs:
linux:
name: linux-x86-avx2
runs-on: ubuntu-latest

steps:
- name: checkout code
uses: actions/checkout@v2
- name: compile x86-avx2 on linux
run: |
./install.sh --target=linux-x86_64_avx2 -t 32
15 changes: 15 additions & 0 deletions .github/workflows/linux-x86.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: linux-x86

on: [push, pull_request]

jobs:
linux:
name: linux-x86
runs-on: ubuntu-latest

steps:
- name: checkout code
uses: actions/checkout@v2
- name: compile x86 on linux
run: |
./install.sh --target=linux-x86_64 -t 32
24 changes: 24 additions & 0 deletions .github/workflows/macos-android-armv7.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: macos-android-armv7
on: [push, pull_request]
jobs:
linux:
name: macos-android-armv7
runs-on: macos-latest
steps:
- name: checkout code
uses: actions/checkout@v2
- name: compile android armv7 on macos
run: |
brew install gnu-getopt > /dev/null
echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> /Users/runner/.bash_profile
echo 'export FLAGS_GETOPT_CMD="$(brew --prefix gnu-getopt)/bin/getopt"' >> /Users/runner/.bash_profile
source /Users/runner/.bash_profile
mkdir android_ndk && cd android_ndk
curl -o android-ndk-r20b-darwin-x86_64.zip 'https://dl.google.com/android/repository/android-ndk-r20b-darwin-x86_64.zip?hl=zh_cn' > /dev/null
unzip -o android-ndk-r20b-darwin-x86_64.zip > /dev/null
export ANDROID_NDK_ROOT=${PWD}/android-ndk-r20b
export PATH=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/darwin-x86_64/bin:$PATH
cd ..
./install.sh --target=android-armv7
22 changes: 22 additions & 0 deletions .github/workflows/macos-android-armv8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: macos-android-armv8
on: [push, pull_request]
jobs:
linux:
name: macos-android-armv8
runs-on: macos-latest
steps:
- name: checkout code
uses: actions/checkout@v2
- name: compile android armv8 on macos
run: |
brew install gnu-getopt > /dev/null
echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> /Users/runner/.bash_profile
echo 'export FLAGS_GETOPT_CMD="$(brew --prefix gnu-getopt)/bin/getopt"' >> /Users/runner/.bash_profile
source /Users/runner/.bash_profile
mkdir android_ndk && cd android_ndk
curl -o android-ndk-r20b-darwin-x86_64.zip 'https://dl.google.com/android/repository/android-ndk-r20b-darwin-x86_64.zip?hl=zh_cn' > /dev/null
unzip -o android-ndk-r20b-darwin-x86_64.zip > /dev/null
export ANDROID_NDK_ROOT=${PWD}/android-ndk-r20b
export PATH=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/darwin-x86_64/bin:$PATH
cd ..
./install.sh --target=android-aarch64 --mali
22 changes: 22 additions & 0 deletions .github/workflows/macos-android-x86_64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: macos-android-x86_64
on: [push, pull_request]
jobs:
linux:
name: macos-android-x86_64
runs-on: macos-latest
steps:
- name: checkout code
uses: actions/checkout@v2
- name: compile android x86_64 on macos
run: |
brew install gnu-getopt > /dev/null
echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> /Users/runner/.bash_profile
echo 'export FLAGS_GETOPT_CMD="$(brew --prefix gnu-getopt)/bin/getopt"' >> /Users/runner/.bash_profile
source /Users/runner/.bash_profile
mkdir android_ndk && cd android_ndk
curl -o android-ndk-r20b-darwin-x86_64.zip 'https://dl.google.com/android/repository/android-ndk-r20b-darwin-x86_64.zip?hl=zh_cn' > /dev/null
unzip -o android-ndk-r20b-darwin-x86_64.zip > /dev/null
export ANDROID_NDK_ROOT=${PWD}/android-ndk-r20b
export PATH=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/darwin-x86_64/bin:$PATH
cd ..
./install.sh --target=android-x86_64
17 changes: 17 additions & 0 deletions .github/workflows/macos-ios-armv7.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: macos-ios-armv7
on: [push, pull_request]
jobs:
linux:
name: macos-ios-armv7
runs-on: macos-latest
steps:
- name: checkout code
uses: actions/checkout@v2
- name: compile ios armv7 on macos
run: |
brew install gnu-getopt > /dev/null
echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> /Users/runner/.bash_profile
echo 'export FLAGS_GETOPT_CMD="$(brew --prefix gnu-getopt)/bin/getopt"' >> /Users/runner/.bash_profile
source /Users/runner/.bash_profile
export IOS_SDK_ROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
./install.sh --target=ios-armv7
17 changes: 17 additions & 0 deletions .github/workflows/macos-ios-armv8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: macos-ios-armv8
on: [push, pull_request]
jobs:
linux:
name: macos-ios-armv8
runs-on: macos-latest
steps:
- name: checkout code
uses: actions/checkout@v2
- name: compile ios armv8 on macos
run: |
brew install gnu-getopt > /dev/null
echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> /Users/runner/.bash_profile
echo 'export FLAGS_GETOPT_CMD="$(brew --prefix gnu-getopt)/bin/getopt"' >> /Users/runner/.bash_profile
source /Users/runner/.bash_profile
export IOS_SDK_ROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
./install.sh --target=ios-aarch64
24 changes: 24 additions & 0 deletions .github/workflows/macos-x86-avx2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: macos-x86-avx2
on: [push, pull_request]
jobs:
linux:
name: macos-x86-avx2
runs-on: macos-latest
steps:
- name: checkout code
uses: actions/checkout@v2
- name: compile x86-avx2 on macos
run: |
brew install gnu-getopt > /dev/null
echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> /Users/runner/.bash_profile
echo 'export FLAGS_GETOPT_CMD="$(brew --prefix gnu-getopt)/bin/getopt"' >> /Users/runner/.bash_profile
source /Users/runner/.bash_profile
brew install gcc@9 > /dev/null
BOLT_PATH=$(PWD)
cd /usr/local/bin
ln -s gcc-9 gcc
ln -s g++-9 g++
gcc -v
g++ -v
cd $BOLT_PATH
./install.sh --target=macos-x86_64_avx2 -t 32
16 changes: 16 additions & 0 deletions .github/workflows/macos-x86.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: macos-x86
on: [push, pull_request]
jobs:
linux:
name: macos-x86
runs-on: macos-latest
steps:
- name: checkout code
uses: actions/checkout@v2
- name: compile x86 on macos
run: |
brew install gnu-getopt > /dev/null
echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> /Users/runner/.bash_profile
echo 'export FLAGS_GETOPT_CMD="$(brew --prefix gnu-getopt)/bin/getopt"' >> /Users/runner/.bash_profile
source /Users/runner/.bash_profile
./install.sh --target=macos-x86_64
37 changes: 37 additions & 0 deletions .github/workflows/windows-android-armv7.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: windows-android-armv7
on: [push, pull_request]
jobs:
windows-android-armv7:
runs-on: windows-latest
steps:
- name: cancel-previous-runs
uses: styfle/[email protected]
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v2
with:
submodules: true
- name: cache-wget
id: cache-wget
uses: actions/cache@v1
with:
path: "wget-install"
key: wget-windows-install
- name: download wget
run: |
mkdir software && cd software
mkdir wget && cd wget
Invoke-WebRequest -Uri https://eternallybored.org/misc/wget/1.21.1/64/wget.exe -OutFile wget.exe > log.txt
cd .. && mkdir android_ndk && cd android_ndk
Invoke-WebRequest -Uri https://dl.google.com/android/repository/android-ndk-r20b-windows-x86_64.zip -OutFile android-ndk-r20b-windows-x86_64.zip > log.txt
- name: compile android armv7 on windows
run: |
cd /d/a/bolt/bolt/software/android_ndk
unzip -o android-ndk-r20b-windows-x86_64.zip > /dev/null
export ANDROID_NDK_ROOT=${PWD}/android-ndk-r20b
export PATH=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/windows-x86_64/bin:$PATH
export PATH=$PATH:/d/a/bolt/bolt/software/wget
cd /d/a/bolt/bolt
./install.sh --target=android-armv7
shell: bash
37 changes: 37 additions & 0 deletions .github/workflows/windows-android-armv8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: windows-android-armv8
on: [push, pull_request]
jobs:
windows-android-armv8:
runs-on: windows-latest
steps:
- name: cancel-previous-runs
uses: styfle/[email protected]
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v2
with:
submodules: true
- name: cache-wget
id: cache-wget
uses: actions/cache@v1
with:
path: "wget-install"
key: wget-windows-install
- name: download wget
run: |
mkdir software && cd software
mkdir wget && cd wget
Invoke-WebRequest -Uri https://eternallybored.org/misc/wget/1.21.1/64/wget.exe -OutFile wget.exe > log.txt
cd .. && mkdir android_ndk && cd android_ndk
Invoke-WebRequest -Uri https://dl.google.com/android/repository/android-ndk-r20b-windows-x86_64.zip -OutFile android-ndk-r20b-windows-x86_64.zip > log.txt
- name: compile android-armv8 on windows
run: |
cd /d/a/bolt/bolt/software/android_ndk
unzip -o android-ndk-r20b-windows-x86_64.zip > /dev/null
export ANDROID_NDK_ROOT=${PWD}/android-ndk-r20b
export PATH=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/windows-x86_64/bin:$PATH
export PATH=$PATH:/d/a/bolt/bolt/software/wget
cd /d/a/bolt/bolt
./install.sh --target=android-aarch64 --mali
shell: bash
Loading

0 comments on commit e5dc9a3

Please sign in to comment.