Skip to content
Permalink
Browse files

Drone.io config

  • Loading branch information
franz authored and Michal Babej committed Dec 7, 2018
1 parent 72ab7f3 commit 7c5d417baa854f8deb7d89081c84d35d96730686
Showing with 78 additions and 0 deletions.
  1. +78 −0 .drone.yml
@@ -0,0 +1,78 @@
kind: pipeline
name: amd64_arch

platform:
os: linux
arch: amd64

steps:
- name: build_and_test
image: archlinux/base
environment:
POCL_BUILDING: 1
POCL_CACHE_DIR: /tmp/cache
POCL_MAX_PTHREAD_COUNT: 2
commands:
- pacman --noconfirm -Sy
- pacman --noconfirm -S gcc patch hwloc cmake git pkg-config make ninja ocl-icd clang llvm llvm-libs clinfo opencl-headers
- mkdir build
- cd build
- cmake -DDEVELOPER_MODE=ON -DCMAKE_INSTALL_PREFIX=/usr -G Ninja ..
- ninja
- ninja install
- clinfo
- ctest -j12 --output-on-failure -L internal

---
kind: pipeline
name: arm64_ub1804

platform:
os: linux
arch: arm64

steps:
- name: build_and_test
image: arm64v8/ubuntu:18.04
environment:
POCL_BUILDING: 1
POCL_CACHE_DIR: /tmp/cache
POCL_MAX_PTHREAD_COUNT: 2
commands:
- apt update
- apt upgrade -y
- apt install -y build-essential ocl-icd-libopencl1 cmake git pkg-config libclang-6.0-dev clang-6.0 llvm-6.0 make ninja-build ocl-icd-libopencl1 ocl-icd-dev ocl-icd-opencl-dev libhwloc-dev zlib1g zlib1g-dev clinfo dialog apt-utils
- mkdir build
- cd build
- cmake -DDEVELOPER_MODE=ON -DLLC_HOST_CPU=thunderx -DCMAKE_INSTALL_PREFIX=/usr -G Ninja ..
- ninja
- ninja install
- clinfo
- ctest -j32 --output-on-failure -L internal

---
kind: pipeline
name: arm32_ub1804

platform:
os: linux
arch: arm

steps:
- name: build_and_test
image: arm32v7/ubuntu:18.04
environment:
POCL_BUILDING: 1
POCL_CACHE_DIR: /tmp/cache
POCL_MAX_PTHREAD_COUNT: 2
commands:
- apt update
- apt upgrade -y
- apt install -y build-essential ocl-icd-libopencl1 cmake git pkg-config libclang-6.0-dev clang-6.0 llvm-6.0 make ninja-build ocl-icd-libopencl1 ocl-icd-dev ocl-icd-opencl-dev libhwloc-dev zlib1g zlib1g-dev clinfo dialog apt-utils
- mkdir build
- cd build
- cmake -DENABLE_FP64=OFF -DDEVELOPER_MODE=ON -DLLC_HOST_CPU=cortex-a15 -DLLC_TRIPLE=armv7l-unknown-linux-gnueabihf -DEXTRA_KERNEL_FLAGS="-mfloat-abi=hard -mfpu=neon" -DCMAKE_INSTALL_PREFIX=/usr -G Ninja ..
- ninja
- ninja install
- clinfo
- ctest -j32 --output-on-failure -L internal

0 comments on commit 7c5d417

Please sign in to comment.
You can’t perform that action at this time.