Skip to content

Commit e5dc9a3

Browse files
authored
Merge pull request #37 from huawei-noah/v1.2.0_beta
V1.2.0 is released
2 parents e951118 + ccf39e9 commit e5dc9a3

File tree

1,088 files changed

+56221
-46190
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,088 files changed

+56221
-46190
lines changed

.Doxyfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -771,8 +771,8 @@ WARN_LOGFILE =
771771
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
772772
# Note: If this tag is empty the current directory is searched.
773773

774-
INPUT = ./inference/engine/api ./inference/flow/include/flow.h \
775-
./common/uni/include/task.h ./inference/flow/src/flow.proto
774+
INPUT = ./inference/engine/api/java ./inference/engine/api/c \
775+
./inference/flow/include/flow.h ./common/uni/include/task.h ./inference/flow/src/flow.proto
776776

777777
# This tag can be used to specify the character encoding of the source files
778778
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses

.github/workflows/compilation.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: linux-android-armv7
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
linux:
7+
name: linux-android-armv7
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: checkout code
12+
uses: actions/checkout@v2
13+
- name: compile armv7 with llvm on linux
14+
run: |
15+
mkdir android_ndk && cd android_ndk
16+
wget https://dl.google.com/android/repository/android-ndk-r20b-linux-x86_64.zip > /dev/null
17+
unzip -o android-ndk-r20b-linux-x86_64.zip > /dev/null
18+
export ANDROID_NDK_ROOT=${PWD}/android-ndk-r20b
19+
export PATH=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH
20+
cd ..
21+
./install.sh --target=android-armv7 -t 32
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: linux-android-armv8
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
linux:
7+
name: linux-android-armv8
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: checkout code
12+
uses: actions/checkout@v2
13+
- name: compile armv8 with llvm on linux
14+
run: |
15+
mkdir android_ndk && cd android_ndk
16+
wget https://dl.google.com/android/repository/android-ndk-r20b-linux-x86_64.zip > /dev/null
17+
unzip -o android-ndk-r20b-linux-x86_64.zip > /dev/null
18+
export ANDROID_NDK_ROOT=${PWD}/android-ndk-r20b
19+
export PATH=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH
20+
cd ..
21+
./install.sh --target=android-aarch64 --mali
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: linux-android-x86_64
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
linux:
7+
name: linux-android-x86_64
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: checkout code
12+
uses: actions/checkout@v2
13+
- name: compile android x86_64 on linux
14+
run: |
15+
mkdir android_ndk && cd android_ndk
16+
wget https://dl.google.com/android/repository/android-ndk-r20b-linux-x86_64.zip > /dev/null
17+
unzip -o android-ndk-r20b-linux-x86_64.zip > /dev/null
18+
export ANDROID_NDK_ROOT=${PWD}/android-ndk-r20b
19+
export PATH=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH
20+
cd ..
21+
./install.sh --target=android-x86_64
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: linux-x86-avx2
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
linux:
7+
name: linux-x86-avx2
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: checkout code
12+
uses: actions/checkout@v2
13+
- name: compile x86-avx2 on linux
14+
run: |
15+
./install.sh --target=linux-x86_64_avx2 -t 32

.github/workflows/linux-x86.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: linux-x86
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
linux:
7+
name: linux-x86
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: checkout code
12+
uses: actions/checkout@v2
13+
- name: compile x86 on linux
14+
run: |
15+
./install.sh --target=linux-x86_64 -t 32
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: macos-android-armv7
2+
on: [push, pull_request]
3+
jobs:
4+
linux:
5+
name: macos-android-armv7
6+
runs-on: macos-latest
7+
steps:
8+
- name: checkout code
9+
uses: actions/checkout@v2
10+
- name: compile android armv7 on macos
11+
run: |
12+
brew install gnu-getopt > /dev/null
13+
echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> /Users/runner/.bash_profile
14+
echo 'export FLAGS_GETOPT_CMD="$(brew --prefix gnu-getopt)/bin/getopt"' >> /Users/runner/.bash_profile
15+
source /Users/runner/.bash_profile
16+
mkdir android_ndk && cd android_ndk
17+
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
18+
unzip -o android-ndk-r20b-darwin-x86_64.zip > /dev/null
19+
export ANDROID_NDK_ROOT=${PWD}/android-ndk-r20b
20+
export PATH=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/darwin-x86_64/bin:$PATH
21+
cd ..
22+
./install.sh --target=android-armv7
23+
24+
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: macos-android-armv8
2+
on: [push, pull_request]
3+
jobs:
4+
linux:
5+
name: macos-android-armv8
6+
runs-on: macos-latest
7+
steps:
8+
- name: checkout code
9+
uses: actions/checkout@v2
10+
- name: compile android armv8 on macos
11+
run: |
12+
brew install gnu-getopt > /dev/null
13+
echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> /Users/runner/.bash_profile
14+
echo 'export FLAGS_GETOPT_CMD="$(brew --prefix gnu-getopt)/bin/getopt"' >> /Users/runner/.bash_profile
15+
source /Users/runner/.bash_profile
16+
mkdir android_ndk && cd android_ndk
17+
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
18+
unzip -o android-ndk-r20b-darwin-x86_64.zip > /dev/null
19+
export ANDROID_NDK_ROOT=${PWD}/android-ndk-r20b
20+
export PATH=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/darwin-x86_64/bin:$PATH
21+
cd ..
22+
./install.sh --target=android-aarch64 --mali
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: macos-android-x86_64
2+
on: [push, pull_request]
3+
jobs:
4+
linux:
5+
name: macos-android-x86_64
6+
runs-on: macos-latest
7+
steps:
8+
- name: checkout code
9+
uses: actions/checkout@v2
10+
- name: compile android x86_64 on macos
11+
run: |
12+
brew install gnu-getopt > /dev/null
13+
echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> /Users/runner/.bash_profile
14+
echo 'export FLAGS_GETOPT_CMD="$(brew --prefix gnu-getopt)/bin/getopt"' >> /Users/runner/.bash_profile
15+
source /Users/runner/.bash_profile
16+
mkdir android_ndk && cd android_ndk
17+
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
18+
unzip -o android-ndk-r20b-darwin-x86_64.zip > /dev/null
19+
export ANDROID_NDK_ROOT=${PWD}/android-ndk-r20b
20+
export PATH=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/darwin-x86_64/bin:$PATH
21+
cd ..
22+
./install.sh --target=android-x86_64

0 commit comments

Comments
 (0)