summaryrefslogtreecommitdiff
path: root/execs
diff options
context:
space:
mode:
Diffstat (limited to 'execs')
-rw-r--r--execs/odp-mdev.yaml50
-rw-r--r--execs/ubuntu-build-essential.yaml40
2 files changed, 90 insertions, 0 deletions
diff --git a/execs/odp-mdev.yaml b/execs/odp-mdev.yaml
new file mode 100644
index 0000000..6366ee3
--- /dev/null
+++ b/execs/odp-mdev.yaml
@@ -0,0 +1,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: ddf
+ BUILD_DIR: /root
+ ODP_JOBS: 32
+
+install:
+ deps:
+ - autotools-dev
+ - autoconf
+ - libtool
+ - autogen
+ - gcc
+ - 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/apalos/odp.git
+ - cd odp
+ - git checkout $ODP_BRANCH
+ - ./bootstrap
+ - autoreconf -i
+ - ./configure --enable-debug --enable-debug-print --enable-mdev
+ - make -j $ODP_JOBS
+ - make install
+ - cp mdev/odp.conf /root
diff --git a/execs/ubuntu-build-essential.yaml b/execs/ubuntu-build-essential.yaml
new file mode 100644
index 0000000..b7f3a9b
--- /dev/null
+++ b/execs/ubuntu-build-essential.yaml
@@ -0,0 +1,40 @@
+metadata:
+ name: ubuntu-build-essential
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "Install basic packages for ubuntu 17.10"
+ version: 1.0
+
+params:
+ ODP_BRANCH: ddf
+ BUILD_DIR: /root
+ INSTALL_DIR: /root/odp_install
+ ODP_JOBS: 32
+
+install:
+ deps:
+ - autotools-dev
+ - autoconf
+ - autogen
+ - libtool
+ - gcc
+ - g++
+ - libssl-dev
+ - libcunit1
+ - libcunit1-dev
+ - libconfig-dev
+ - locales-all
+ - make
+ - m4
+ - pkg-config
+ - uuid
+ - uuid-runtime
+ - libnuma-dev
+ - libnuma1
+ - pkg-config
+ - python
+ - pciutils
+ - git
+ - ethtool
+ - sudo
+ - bison
+ - flex