aboutsummaryrefslogtreecommitdiff
path: root/README
blob: c55afeadda2512948292187c018b8dae2e1191a1 (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
51
52
53
# This README provides the relevant information for howto build.

# Need to install on Ubuntu 14.10
# apt-get install build-essential git-core lib32stdc++6 lib32z1 graphviz \
# gcc-multilib curl lcov
#
# For ODP:
# apt-get install autoconf automake libtool doxygen texlive-full libssl-dev

# build ODP native
# type make-test.sh -h to see what environment variables you can change.
# Most of the time default setup are enough.
$ ./make-test.sh

# one example to run from a local git url
$ GIT_ODP=file:///home/anders/src/odp ./make-test.sh

# build ODP for DPDK
# type make-dpdk-test.sh -h to see what environment variables you can change.
# Most of the time default setup are enough.
$ ./make-dpdk-test.sh

# one example to run from a local git url
$ GIT_DPDK=file:///home/anders/src/dpdk GIT_ODP=file:///home/anders/src/odp ./make-dpdk-test.sh

# build ODP for keystone2
# type make-ks2-test.sh -h to see what environment variables you can change.
# Most of the time default setup are enough.
$ ./make-ks2-test.sh

# one example to run from a local git url
$ GIT_KS_MANIFEST=file:///home/anders/src/ks2-manifest GIT_ODP=file:///home/anders/src/odp ./make-ks2-test.sh

# build clang, sparse and smatch
# type make-ssc.sh -h to see what environment variables you can change.
# Most of the time default setup are enough.
$ ./make-ssc.sh

# one example to run from a local git url
$ git_repo=file:///home/anders/src/odp tests=clang ./make-ssc.sh

# apply and build patches, looks for doxygen warnings and git am warnings.
# type apply-and-build.sh -h to see what environment variables you can change.
# one example to run from not the default patch directory
$ PATCH_DIR=/home/anders/test-patches ./apply-and-build.sh

# cross compile ODP
# type cross-compile-test.sh -h to see what environment variables you can change.
# Most of the time default setup are enough.
$ ./cross-compile-test.sh

# one example to run with another ARCH
$ ARCH=arm64 ./cross-compile-test.sh