blob: 3b22c09856f949f5d64d47d0cce0434836126244 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
metadata:
name: ODP mdev
format: "Lava-Test-Shell Test Definition 1.0"
description: "Setup ODP with mediated devices support"
version: 1.0
params:
PUB_KEY: None
IRC_SERVER: irc.freenode.net
ODP_BRANCH: caterpillar
BUILD_DIR: /root
ODP_JOBS: 32
install:
deps:
- autotools-dev
- autoconf
- libtool
- autogen
- gcc
- git
- g++
- make
- libssl-dev
- libcunit1
- libcunit1-dev
- libconfig-dev
- m4
- pkg-config
- uuid
- uuid-runtime
- locales-all
run:
steps:
- echo "Build ODP kernel drivers"
- git clone https://github.com/apalos/odp-linux-mdev.git
- cd odp-linux-mdev && make -j32 && cd ..
- mkdir -p /usr/include/uapi
- cp odp-linux-mdev/include/uapi/linux/* /usr/include/uapi
- echo "Build ODP"
# add missing kernel headers
- git clone https://github.com/Linaro/odp.git
- cd odp
- git checkout $ODP_BRANCH
- ./bootstrap
- autoreconf -i
- ./configure --enable-debug --enable-debug-print --enable-mdev-support
- make -j $ODP_JOBS
- make install
|