-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
451 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,210 @@ | ||
--- | ||
kind: pipeline | ||
name: arm64_clang_cmake_opencv | ||
|
||
platform: | ||
os: linux | ||
arch: arm64 | ||
|
||
steps: | ||
- name: Build and Test | ||
image: ubuntu:18.04 | ||
environment: | ||
CC: clang | ||
CMAKE_FLAGS: '-DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_JAVA=OFF -DBUILD_MODULE_visp_java_bindings_generator=OFF -DBUILD_TUTORIALS=OFF' | ||
commands: | ||
- lscpu | ||
- cat /proc/cpuinfo | ||
- uname -m | ||
- uname -r | ||
- echo "CMAKE_FLAGS:= $CMAKE_FLAGS" | ||
- export DEBIAN_FRONTEND=noninteractive | ||
- apt-get update -y | ||
# To overcome link error "cannot find -lgfortran", gfortran package needs to be installed | ||
- apt-get install -y make $CC cmake git-core libopencv-dev libx11-dev libv4l-dev liblapack-dev libeigen3-dev gfortran | ||
- $CC --version | ||
- gfortran --version | ||
- cd .. | ||
- git clone --depth 1 https://github.com/lagadic/visp-images | ||
- export VISP_INPUT_IMAGE_PATH=$(pwd)/visp-images | ||
# build OpenBLAS from source, version in Bionic is 0.2.20+ds-4 (24 Jul 2017) | ||
- git clone --depth 1 https://github.com/xianyi/OpenBLAS.git | ||
- cd OpenBLAS | ||
- mkdir install | ||
- make -j$(nproc) | ||
- make -j$(nproc) install PREFIX=$(pwd)/install | ||
- export OpenBLAS_HOME=$(pwd)/install | ||
- cd ../src | ||
- mkdir build && cd build | ||
- export CC=/usr/bin/clang | ||
- export CXX=/usr/bin/clang++ | ||
- cmake $CMAKE_FLAGS .. | ||
- make -j$(nproc) | ||
- ctest -j$(nproc) --output-on-failure | ||
|
||
--- | ||
kind: pipeline | ||
name: arm64_gcc_cmake_opencv | ||
|
||
platform: | ||
os: linux | ||
arch: arm64 | ||
|
||
steps: | ||
- name: Build and Test | ||
image: ubuntu:18.04 | ||
environment: | ||
CC: gcc | ||
CMAKE_FLAGS: '-DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_JAVA=OFF -DBUILD_MODULE_visp_java_bindings_generator=OFF -DBUILD_TUTORIALS=OFF -DDART_TESTING_TIMEOUT=2500' | ||
commands: | ||
- lscpu | ||
- cat /proc/cpuinfo | ||
- uname -m | ||
- uname -r | ||
- echo "CMAKE_FLAGS:= $CMAKE_FLAGS" | ||
- export DEBIAN_FRONTEND=noninteractive | ||
- apt-get update -y | ||
# To overcome link error "cannot find -lgfortran", gfortran package needs to be installed | ||
- apt-get install -y make $CC g++ cmake git-core libopencv-dev libx11-dev libv4l-dev liblapack-dev libeigen3-dev gfortran | ||
- $CC --version | ||
- gfortran --version | ||
- cd .. | ||
- git clone --depth 1 https://github.com/lagadic/visp-images | ||
- export VISP_INPUT_IMAGE_PATH=$(pwd)/visp-images | ||
# build OpenBLAS from source, version in Bionic is 0.2.20+ds-4 (24 Jul 2017) | ||
- git clone --depth 1 https://github.com/xianyi/OpenBLAS.git | ||
- cd OpenBLAS | ||
- mkdir install | ||
- make -j$(nproc) | ||
- make -j$(nproc) install PREFIX=$(pwd)/install | ||
- export OpenBLAS_HOME=$(pwd)/install | ||
- cd ../src | ||
- mkdir build && cd build | ||
- cmake $CMAKE_FLAGS .. | ||
- make -j$(nproc) | ||
- ctest -j$(nproc) --output-on-failure | ||
|
||
--- | ||
kind: pipeline | ||
name: arm64_gcc_cmake | ||
|
||
platform: | ||
os: linux | ||
arch: arm64 | ||
|
||
steps: | ||
- name: Build and Test without OpenCV | ||
image: ubuntu:18.04 | ||
environment: | ||
CC: gcc | ||
CMAKE_FLAGS: '-DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_JAVA=OFF -DBUILD_MODULE_visp_java_bindings_generator=OFF -DBUILD_TUTORIALS=OFF -DDART_TESTING_TIMEOUT=2500' | ||
commands: | ||
- lscpu | ||
- cat /proc/cpuinfo | ||
- uname -m | ||
- uname -r | ||
- echo "CMAKE_FLAGS:= $CMAKE_FLAGS" | ||
- export DEBIAN_FRONTEND=noninteractive | ||
- apt-get update -y | ||
# To overcome link error "cannot find -lgfortran", gfortran package needs to be installed | ||
- apt-get install -y make $CC g++ cmake git-core libx11-dev libv4l-dev liblapack-dev libeigen3-dev gfortran | ||
- $CC --version | ||
- gfortran --version | ||
- cd .. | ||
- git clone --depth 1 https://github.com/lagadic/visp-images | ||
- export VISP_INPUT_IMAGE_PATH=$(pwd)/visp-images | ||
# build OpenBLAS from source, version in Bionic is 0.2.20+ds-4 (24 Jul 2017) | ||
- git clone --depth 1 https://github.com/xianyi/OpenBLAS.git | ||
- cd OpenBLAS | ||
- mkdir install | ||
- make -j$(nproc) | ||
- make -j$(nproc) install PREFIX=$(pwd)/install | ||
- export OpenBLAS_HOME=$(pwd)/install | ||
- cd ../src | ||
- mkdir build && cd build | ||
- cmake $CMAKE_FLAGS .. | ||
- make -j$(nproc) | ||
- ctest -j$(nproc) --output-on-failure | ||
|
||
# --- | ||
# kind: pipeline | ||
# name: arm32_gcc_cmake_opencv | ||
|
||
# platform: | ||
# os: linux | ||
# arch: arm | ||
|
||
# steps: | ||
# - name: Build and Test (32 bits) | ||
# image: ubuntu:18.04 | ||
# environment: | ||
# CC: gcc | ||
# CMAKE_FLAGS: '-DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_JAVA=OFF -DBUILD_MODULE_visp_java_bindings_generator=OFF -DBUILD_TUTORIALS=OFF' | ||
# commands: | ||
# - lscpu | ||
# - cat /proc/cpuinfo | ||
# - uname -m | ||
# - uname -r | ||
# - echo "CMAKE_FLAGS:= $CMAKE_FLAGS" | ||
# - export DEBIAN_FRONTEND=noninteractive | ||
# - apt-get update -y | ||
# # To overcome link error "cannot find -lgfortran", gfortran package needs to be installed | ||
# - apt-get install -y make $CC g++ cmake git-core libopencv-dev libx11-dev libv4l-dev liblapack-dev libeigen3-dev gfortran | ||
# - $CC --version | ||
# - gfortran --version | ||
# - cd .. | ||
# - git clone --depth 1 https://github.com/lagadic/visp-images | ||
# - export VISP_INPUT_IMAGE_PATH=$(pwd)/visp-images | ||
# # build OpenBLAS from source, version in Bionic is 0.2.20+ds-4 (24 Jul 2017) | ||
# - git clone --depth 1 https://github.com/xianyi/OpenBLAS.git | ||
# - cd OpenBLAS | ||
# - mkdir install | ||
# - make -j$(nproc) | ||
# - make -j$(nproc) install PREFIX=$(pwd)/install | ||
# - export OpenBLAS_HOME=$(pwd)/install | ||
# - cd ../src | ||
# - mkdir build && cd build | ||
# - cmake $CMAKE_FLAGS .. | ||
# - make -j$(nproc) | ||
# - ctest -j$(nproc) --output-on-failure | ||
|
||
# --- | ||
# kind: pipeline | ||
# name: arm32_gcc_cmake | ||
|
||
# platform: | ||
# os: linux | ||
# arch: arm | ||
|
||
# steps: | ||
# - name: Build and Test without OpenCV (32 bits) | ||
# image: ubuntu:18.04 | ||
# environment: | ||
# CC: gcc | ||
# CMAKE_FLAGS: '-DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_JAVA=OFF -DBUILD_MODULE_visp_java_bindings_generator=OFF -DBUILD_TUTORIALS=OFF' | ||
# commands: | ||
# - lscpu | ||
# - cat /proc/cpuinfo | ||
# - uname -m | ||
# - uname -r | ||
# - echo "CMAKE_FLAGS:= $CMAKE_FLAGS" | ||
# - export DEBIAN_FRONTEND=noninteractive | ||
# - apt-get update -y | ||
# # Here we don't have the link error "cannot find -lgfortran" | ||
# - apt-get install -y make $CC g++ cmake git-core libx11-dev libv4l-dev liblapack-dev libeigen3-dev | ||
# - $CC --version | ||
# - cd .. | ||
# - git clone --depth 1 https://github.com/lagadic/visp-images | ||
# - export VISP_INPUT_IMAGE_PATH=$(pwd)/visp-images | ||
# # build OpenBLAS from source, version in Bionic is 0.2.20+ds-4 (24 Jul 2017) | ||
# - git clone --depth 1 https://github.com/xianyi/OpenBLAS.git | ||
# - cd OpenBLAS | ||
# - mkdir install | ||
# - make -j$(nproc) | ||
# - make -j$(nproc) install PREFIX=$(pwd)/install | ||
# - export OpenBLAS_HOME=$(pwd)/install | ||
# - cd ../src | ||
# - mkdir build && cd build | ||
# - cmake $CMAKE_FLAGS .. | ||
# - make -j$(nproc) | ||
# - ctest -j$(nproc) --output-on-failure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.