summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMantas Mikulėnas2023-07-11 18:41:20 +0300
committerMantas Mikulėnas2023-07-11 18:42:21 +0300
commit24f43452c3aa808c596c8abb9e8abffc8952ceba (patch)
tree121fb0bfc3b4686a33853c057717e1c4946b5665
parentefdaa223141be55a2e0ec75486b4cb7add2430a5 (diff)
downloadaur-24f43452c3aa808c596c8abb9e8abffc8952ceba.tar.gz
build with mst
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c41db980fc12..47d1eca2c67b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = ibdump
pkgdesc = InfiniBand and RoCE RDMA packet capture tool for Mellanox
pkgver = 6.1.0.r35.ge656df3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/Mellanox/ibdump
arch = x86_64
license = GPL2
license = custom:BSD
makedepends = git
+ makedepends = mstflint
depends = libibverbs
source = git+https://github.com/Mellanox/ibdump#commit=e656df3a89c823fcfebc58961ecd4ce8fa6533d4
source = unbork.diff
diff --git a/PKGBUILD b/PKGBUILD
index ec53a2841356..01760a3e13c8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
pkgname=ibdump
_commit=e656df3a89c823fcfebc58961ecd4ce8fa6533d4
pkgver=6.1.0.r35.ge656df3
-pkgrel=1
+pkgrel=2
pkgdesc="InfiniBand and RoCE RDMA packet capture tool for Mellanox"
url="https://github.com/Mellanox/ibdump"
license=(GPL2 custom:BSD)
arch=(x86_64)
depends=(libibverbs)
-makedepends=(git)
+makedepends=(git mstflint)
source=("git+https://github.com/Mellanox/ibdump#commit=$_commit"
unbork.diff)
sha256sums=('SKIP'
@@ -27,7 +27,10 @@ prepare() {
build() {
cd ibdump
- make WITHOUT_FW_TOOLS=yes
+ # Build with mstflint (for new ConnectX, but breaks CX3):
+ make WITH_MSTFLINT=yes MSTFLINT_INCLUDE_DIR=/usr/include/mstflint
+ # Build without mstflint (for ConnectX <= 3):
+ # make WITHOUT_FW_TOOLS=yes
}
package() {