summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-26 03:25:13 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-26 03:25:13 +0000
commite2e339a54ce86869cfbbd03775a6b8346a1748a0 (patch)
tree1bd2fb70dcbbe4d66d46487ed16f38559ed872a0
parent2936c0d3a396c069040f88ff0caa44d70874c285 (diff)
automatic import of vpp-ext-depsopeneuler20.03_LTS_SP4
-rw-r--r--.gitignore11
-rw-r--r--sources11
-rw-r--r--vpp-ext-deps.spec46
3 files changed, 68 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..62a87b1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,11 @@
+/dpdk-24.03.tar.xz
+/meson-0.55.3.tar.gz
+/pyelftools-0.29-py2.py3-none-any.whl
+/quicly_0.1.4-vpp.tar.gz
+/rdma-core-51.0.tar.gz
+/setuptools-68.1.0-py3-none-any.whl
+/v0.5.tar.gz
+/v1.5.tar.gz
+/vpp-ext-deps-24.10-rc0~59_g1c30d2d8b.tar.xz
+/wheel-0.41.1-py3-none-any.whl
+/xdp-tools-1.2.9.tar.gz
diff --git a/sources b/sources
new file mode 100644
index 0000000..3c1281d
--- /dev/null
+++ b/sources
@@ -0,0 +1,11 @@
+a98da848d6ba09808ef00f9a26aaa49a dpdk-24.03.tar.xz
+99777acd77838c8669e1421fda8e31c5 meson-0.55.3.tar.gz
+a1b4b7b32e1301de037b093b55c030c0 pyelftools-0.29-py2.py3-none-any.whl
+5419a0f340c5572bcf682c08acc84c77 quicly_0.1.4-vpp.tar.gz
+ed95d79f782ea00bd7233d453abd60b3 rdma-core-51.0.tar.gz
+7771fec8ee1eecdeb933993d86b70d6e setuptools-68.1.0-py3-none-any.whl
+76bc56c84935da944bbf340fe5283ef0 v0.5.tar.gz
+f18680f8dd43208a15a19a494423bdb9 v1.5.tar.gz
+dfde13a4355d7add179462ca348920cc vpp-ext-deps-24.10-rc0~59_g1c30d2d8b.tar.xz
+ee856798545b551c3ac5675007ffa36c wheel-0.41.1-py3-none-any.whl
+6e4a49ceea8354bb7bb3b55990e9aed7 xdp-tools-1.2.9.tar.gz
diff --git a/vpp-ext-deps.spec b/vpp-ext-deps.spec
new file mode 100644
index 0000000..47575f9
--- /dev/null
+++ b/vpp-ext-deps.spec
@@ -0,0 +1,46 @@
+%global __strip /usr/bin/eu-strip
+%global __brp_strip_static_archive %{_rpmconfigdir}/brp-strip-static-archive /usr/bin/strip
+%undefine __os_install_post
+%undefine _auto_set_build_flags
+%define _install_dir /opt/vpp/external/%(uname -m)
+%define _make_args -C build/external INSTALL_DIR=%{buildroot}%{_install_dir}
+
+Name: vpp-ext-deps
+Version: 24.10
+Release: 0.59.rc0.20240616git1c30d2d8b%{?dist}
+Summary: VPP development package with external dependencies
+License: BSD
+Source: %{name}-%{version}-rc0~59_g1c30d2d8b.tar.xz
+Source1: https://fast.dpdk.org/rel/dpdk-24.03.tar.xz
+Source2: https://github.com/01org/intel-ipsec-mb/archive/v1.5.tar.gz
+Source3: https://github.com/vpp-quic/quicly/releases/download/v0.1.4-vpp/quicly_0.1.4-vpp.tar.gz
+Source4: https://github.com/xdp-project/xdp-tools/releases/download/v1.2.9/xdp-tools-1.2.9.tar.gz
+Source5: https://github.com/linux-rdma/rdma-core/releases/download/v51.0/rdma-core-51.0.tar.gz
+Source6: https://github.com/MarvellEmbeddedProcessors/marvell-octeon-roc/archive/refs/tags/v0.5.tar.gz
+Source7: https://files.pythonhosted.org/packages/5e/da/e6f22f0d3730635aa8504cc0d7ae16406b3794bbfea04c854e2c215c7acb/meson-0.55.3.tar.gz
+Source8: https://files.pythonhosted.org/packages/b8/49/b3b29c52b09075fb77f69309763a563b4054d5808a3f3b95df3a62ef3d3f/setuptools-68.1.0-py3-none-any.whl
+Source9: https://files.pythonhosted.org/packages/28/f5/6955d7b3a5d71ce6bac104f9cf98c1b0513ad656cdaca8ea7d579196f771/wheel-0.41.1-py3-none-any.whl
+Source10: https://files.pythonhosted.org/packages/04/7c/867630e6e6293793f838b31034aa1875e1c3bd8c1ec34a0929a2506f350c/pyelftools-0.29-py2.py3-none-any.whl
+BuildRequires: openssl openssl-devel
+BuildRequires: python3-devel libpcap-devel
+BuildRequires: libmnl-devel libnl3-devel
+BuildRequires: libffi-devel apr-devel numactl-devel
+BuildRequires: elfutils-libelf-devel
+BuildRequires: libtool byacc bison flex nasm
+BuildRequires: clang llvm cmake ninja-build
+
+%description
+VPP development package with external dependencies
+
+%prep
+%setup -q -n %{name}-%{version}
+mkdir build/external/downloads
+cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE9} %{SOURCE10} build/external/downloads
+
+%install
+make %{_make_args} config
+make %{_make_args} install
+export QA_SKIP_BUILD_ROOT=1
+
+%files
+%{_install_dir}