summaryrefslogtreecommitdiff
path: root/scripts/package-build
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-01-08 13:04:08 +0000
committerGitHub <noreply@github.com>2025-01-08 13:04:08 +0000
commit7d71873472eabe5e082a079bea0dd51ba2978b99 (patch)
tree950ab03520eb0444253e1598e1096e82e2cbf243 /scripts/package-build
parentaeb94b726fd238e507cbeb4f6bad3909574871c1 (diff)
parentb04538b9b205509e0d3adb016913e8e5d8f8d6c4 (diff)
downloadvyos-build-7d71873472eabe5e082a079bea0dd51ba2978b99.tar.gz
vyos-build-7d71873472eabe5e082a079bea0dd51ba2978b99.zip
Merge pull request #878 from sever-sever/T7026
packages: T7026: Add a script for building VPP
Diffstat (limited to 'scripts/package-build')
-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"
+]