summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2025-01-07 20:02:14 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2025-01-07 20:05:35 +0000
commitb04538b9b205509e0d3adb016913e8e5d8f8d6c4 (patch)
tree950ab03520eb0444253e1598e1096e82e2cbf243 /scripts
parentaeb94b726fd238e507cbeb4f6bad3909574871c1 (diff)
downloadvyos-build-b04538b9b205509e0d3adb016913e8e5d8f8d6c4.tar.gz
vyos-build-b04538b9b205509e0d3adb016913e8e5d8f8d6c4.zip
T7026: Add script build vpp package
Diffstat (limited to 'scripts')
-rw-r--r--scripts/package-build/vpp/.gitignore1
l---------scripts/package-build/vpp/build.py1
-rw-r--r--scripts/package-build/vpp/package.toml15
3 files changed, 17 insertions, 0 deletions
diff --git a/scripts/package-build/vpp/.gitignore b/scripts/package-build/vpp/.gitignore
new file mode 100644
index 00000000..100411c4
--- /dev/null
+++ b/scripts/package-build/vpp/.gitignore
@@ -0,0 +1 @@
+/vpp/
diff --git a/scripts/package-build/vpp/build.py b/scripts/package-build/vpp/build.py
new file mode 120000
index 00000000..3c76af73
--- /dev/null
+++ b/scripts/package-build/vpp/build.py
@@ -0,0 +1 @@
+../build.py \ No newline at end of file
diff --git a/scripts/package-build/vpp/package.toml b/scripts/package-build/vpp/package.toml
new file mode 100644
index 00000000..255c3943
--- /dev/null
+++ b/scripts/package-build/vpp/package.toml
@@ -0,0 +1,15 @@
+[[packages]]
+name = "vpp"
+commit_id = "stable/2406"
+scm_url = "https://github.com/FDio/vpp"
+
+build_cmd = """
+make UNATTENDED=yes install-dep
+make pkg-deb
+cp build-root/*.deb ../
+"""
+
+[dependencies]
+packages = [
+ "llvm"
+]