build.sh revision 56d90970
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 "Build DPDK RPM for 16.07 release"
19
20./build_dpdk_rpm.sh -g 16.07
21
22echo "Build DPDK RPM for 16.11 release"
23
24./build_dpdk_rpm.sh -g 16.11 -p yes
25
26echo "Build DPDK SRPM for 16.11 release"
27
28./build_dpdk_rpm.sh -g 16.11 -p yes -s yes
29
30echo "Build DPDK RPM for 17.02 release"
31
32./build_dpdk_rpm.sh -g 17.02
33
34echo "Build DPDK SRPM for 17.02 release"
35
36./build_dpdk_rpm.sh -g 17.02 -s yes
37
38echo "Build DPDK RPM from snapshot of master"
39
40./build_dpdk_rpm.sh -g master
41
42echo "Build DPDK SRPM from snapshot of master"
43./build_dpdk_rpm.sh -g master -s yes
44./clean.sh
45
46exit 0
47