Skip to content

Commit

Permalink
Merge branch 'dev-0.11'
Browse files Browse the repository at this point in the history
  • Loading branch information
jsalas98 committed Apr 6, 2021
2 parents 871c144 + b1a1d73 commit 40fbf63
Show file tree
Hide file tree
Showing 94 changed files with 13 additions and 8,683 deletions.
106 changes: 0 additions & 106 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,112 +10,6 @@ on:
- dev-*

jobs:
build_tensorflow_autotools:
runs-on: ubuntu-18.04
strategy:
matrix:
container: ["ridgerun/r2inference-ubuntu-18.04:v0.1.5", "ridgerun/r2inference-ubuntu-16.04:v0.3.1"]
container:
image: ${{ matrix.container }}
env:
CXXFLAGS: "-Werror"
steps:
- uses: actions/checkout@v2
- name: Install backend version
run: |
tar -C /usr/local -xzf /root/r2inference/backends/tensorflow/v1.15.0/libtensorflow-cpu-linux-x86_64-1.15.0.tar.gz
ldconfig
- name: Configure the project
run: |
CXXFLAGS="${{ env.CXXFLAGS }}"
NOCONFIGURE=1 ./autogen.sh
./configure --disable-docs --enable-tensorflow
- name: Build library
run: make
- name: Run tests
run: make check
- name: Install library
run: |
make install
- name: Build example
env:
LD_LIBRARY_PATH: /usr/local/lib/
run: |
cd examples/external
make
./list-backends
build_tflite_autotools:
runs-on: ubuntu-18.04
strategy:
matrix:
container: ["ridgerun/r2inference-ubuntu-18.04:v0.1.5"]
container:
image: ${{ matrix.container }}
env:
TENSORFLOW_PATH: /root/r2inference/backends/tflite/v2.0.1/include/tensorflow
CPPFLAGS: "-I${TENSORFLOW_PATH} -I${TENSORFLOW_PATH}/tensorflow/lite/tools/make/downloads/flatbuffers/include"
CXXFLAGS: "-Werror"
steps:
- uses: actions/checkout@v2
- name: Install backend version
run: |
cp /root/r2inference/backends/tflite/v2.0.1/binaries/libtensorflow-lite.a /usr/local/lib/
- name: Configure the project
run: |
CPPFLAGS="${{ env.CPPFLAGS }}"
CXXFLAGS="${{ env.CXXFLAGS }}"
./autogen.sh --disable-docs --enable-tflite
- name: Build library
run: make
- name: Run tests
run: make check
- name: Install library
run: |
make install
- name: Build example
env:
LD_LIBRARY_PATH: /usr/local/lib/
run: |
cd examples/external
make
./list-backends
build_tensorflow_tflite_autotools:
runs-on: ubuntu-18.04
strategy:
matrix:
container: ["ridgerun/r2inference-ubuntu-18.04:v0.1.5"]
container:
image: ${{ matrix.container }}
env:
TENSORFLOW_PATH: /root/r2inference/backends/tflite/v2.0.1/include/tensorflow
CPPFLAGS: "-I${TENSORFLOW_PATH} -I${TENSORFLOW_PATH}/tensorflow/lite/tools/make/downloads/flatbuffers/include"
CXXFLAGS: "-Werror"
steps:
- uses: actions/checkout@v2
- name: Install backend version
run: |
tar -C /usr/local -xzf /root/r2inference/backends/tensorflow/v1.15.0/libtensorflow-cpu-linux-x86_64-1.15.0.tar.gz
ldconfig
cp /root/r2inference/backends/tflite/v2.0.1/binaries/libtensorflow-lite.a /usr/local/lib/
- name: Configure the project
run: |
CPPFLAGS="${{ env.CPPFLAGS }}"
CXXFLAGS="${{ env.CXXFLAGS }}"
./autogen.sh --disable-docs --enable-tensorflow --enable-tflite
- name: Build library
run: make
- name: Run tests
run: make check
- name: Install library
run: |
make install
- name: Build example
env:
LD_LIBRARY_PATH: /usr/local/lib/
run: |
cd examples/external
make
./list-backends
build_tensorflow_meson:
runs-on: ubuntu-18.04
strategy:
Expand Down
33 changes: 0 additions & 33 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,7 @@
\#*
*.orig

# Autotools cruft
aclocal.m4
autom4te.cache/
compile
config.guess
config.h
config.h.in
config.status
config.sub
configure
install-sh
missing
Makefile
Makefile.in
depcomp
libtool
ltmain.sh
m4/
.deps/
.libs/
stamp-h*
r2inference-*.pc
*.dirstamp

# Build outputs
.deps/
.libs/
*.la
*.lo
*.o

# Git conflict files
Expand All @@ -41,9 +13,6 @@ r2inference-*.pc
# Doxygen outputs
docs/api/out/

# Do not ignore our M4 macros
!common/m4

# Coverage cruft
RidgeRun inference library-0.1.0-coverage*
aminclude_static.am
Expand Down Expand Up @@ -77,7 +46,5 @@ cscope.out
# Examples
examples/external/list-backends
examples/r2i/list_parameters
examples/r2i/ncsdk/inception
examples/r2i/ncsdk/tinyyolov2
examples/r2i/tensorflow/inception
examples/r2i/tensorrt/yolov2
40 changes: 0 additions & 40 deletions Makefile.am

This file was deleted.

1 change: 0 additions & 1 deletion autogen.sh

This file was deleted.

107 changes: 0 additions & 107 deletions common/autogen.sh

This file was deleted.

2 changes: 1 addition & 1 deletion common/linters/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ test_driver="common/rr-test-driver.py"

run_tests()
{
make -s check
ninja -C build test
ret=$?

return $ret
Expand Down
Loading

0 comments on commit 40fbf63

Please sign in to comment.