Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
79 lines (70 sloc) 2.08 KB
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
You can’t perform that action at this time.