build.sh revision c0c875bb
1#!/bin/bash
2
3# Copyright (c) 2016 Open Platform for NFV Project, Inc. and its contributors
4#
5#    Licensed under the Apache License, Version 2.0 (the "License");
6#    you may not use this file except in compliance with the License.
7#    You may obtain a copy of the License at
8#
9#        http://www.apache.org/licenses/LICENSE-2.0
10#
11#    Unless required by applicable law or agreed to in writing, software
12#    distributed under the License is distributed on an "AS IS" BASIS,
13#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14#    See the License for the specific language governing permissions and
15#    limitations under the License.
16set -e
17
18echo =============================16.07================================
19echo "Build DPDK RPM for 16.07 release"
20
21./build_dpdk_rpm.sh -g 16.07
22
23echo =============================16.11================================
24echo "Build DPDK RPM for 16.11 release"
25
26./build_dpdk_rpm.sh -g 16.11 -p yes
27
28echo "Build DPDK SRPM for 16.11 release"
29
30./build_dpdk_rpm.sh -g 16.11 -p yes -s yes
31
32echo =============================17.02================================
33echo "Build DPDK RPM for 17.02 release"
34
35./build_dpdk_rpm.sh -g 17.02
36
37echo "Build DPDK SRPM for 17.02 release"
38
39./build_dpdk_rpm.sh -g 17.02 -s yes
40
41echo "Build DPDK RPM from snapshot of master"
42
43echo =============================17.05================================
44echo "Build DPDK RPM for 17.05 release"
45
46./build_dpdk_rpm.sh -g 17.05
47
48echo "Build DPDK SRPM for 17.05 release"
49
50./build_dpdk_rpm.sh -g 17.05 -s yes
51
52echo =============================17.08-rc1================================
53echo "Build DPDK RPM for 17.08-rc1 release"
54
55./build_dpdk_rpm.sh -g 17.08-rc1
56
57echo "Build DPDK SRPM for 17.08-rc1 release"
58
59./build_dpdk_rpm.sh -g 17.08-rc1 -s yes
60
61echo =============================17.08-rc2================================
62echo "Build DPDK RPM for 17.08-rc2 release"
63
64./build_dpdk_rpm.sh -g 17.08-rc2
65
66echo "Build DPDK SRPM for 17.08-rc2 release"
67
68./build_dpdk_rpm.sh -g 17.08-rc2 -s yes
69
70echo =============================Current master================================
71echo "Build DPDK RPM from snapshot of master"
72./build_dpdk_rpm.sh -g master
73
74echo "Build DPDK SRPM from snapshot of master"
75./build_dpdk_rpm.sh -g master -s yes
76
77
78echo =============================Clean up temporary directories================================
79./clean.sh
80
81exit 0
82