1 # Copyright (c) 2017 Intel Corporation.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
20 path: "{{ dpdk_dest }}"
26 dest: "{{ dpdk_dest }}"
28 checksum: "{{ dpdk_md5[dpdk_version] }}"
31 src: "{{ dpdk_dest }}/{{ dpdk_file }}"
32 dest: "{{ dpdk_dest }}/"
35 - name: cleanup tar file to save space
37 path: "{{ dpdk_dest }}/{{ dpdk_file }}"
40 - name: find unzipped DPDK folder
42 paths: "{{ dpdk_dest }}"
43 patterns: "^dpdk-.*{{ dpdk_version }}$"
46 register: dpdk_folder_match
49 msg: "Cannot find unzipped DPDK folder or more than one found"
50 when: dpdk_folder_match.matched != 1
53 dpdk_path: "{{ dpdk_folder_match.files[0].path }}"
56 RTE_SDK: "{{ dpdk_path }}"
59 RTE_TARGET: "{{ dpdk_make_arch }}"