Skip to content

Commit ed38cc3

Browse files
committed
Travis CI: Experiment with pocl
1 parent 4c71ca8 commit ed38cc3

2 files changed

Lines changed: 20 additions & 6 deletions

File tree

.travis.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
language: java
2-
32
jdk:
43
- oraclejdk8
54
- openjdk6
6-
75
cache:
86
directories:
97
- $HOME/.m2
10-
118
env:
129
- MAVEN_OPTS=-Xmx512m CL_LOG_ERRORS=stdout
13-
1410
before_install:
15-
- sudo apt-get update -qq
16-
- sudo apt-get install -qq fglrx=2:8.960-0ubuntu1 opencl-headers
11+
- sudo apt-get update -qq
12+
- sudo apt-get install -qq fglrx=2:8.960-0ubuntu1 opencl-headers
13+
- script/install_pocl.sh

scripts/install_pocl.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
# On mac: sudo port install libtool
6+
sudo apt-get install -qq libltdl-dev
7+
sudo apt-get install -qq ocl-icd-libopencl1
8+
9+
git clone https://github.com/pocl/pocl.git
10+
cd pocl
11+
./autogen.sh
12+
13+
# --disable-icd
14+
./configure
15+
make
16+
17+
sudo make install

0 commit comments

Comments
 (0)