Skip to content

Commit 4566894

Browse files
committed
feat: add rdma-core
Add rdma-core Signed-off-by: Noel Georgi <[email protected]>
1 parent 29859fa commit 4566894

File tree

5 files changed

+55
-3
lines changed

5 files changed

+55
-3
lines changed

.github/renovate.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
"matchPackageNames": [
4343
"golang/go",
4444
"nvidia/open-gpu-kernel-modules",
45-
"open-iscsi/open-isns"
45+
"open-iscsi/open-isns",
46+
"linux-rdma/rdma-core"
4647
],
4748
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.?(?<patch>\\d+)?$"
4849
},

Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ endif
1818

1919
# keep in sync with Pkgfile
2020
BLDR_RELEASE ?= v0.2.0-alpha.12
21-
PKGS ?= v1.4.0-alpha.0-29-g5dbce6b
21+
PKGS ?= v1.4.0-alpha.0-30-g0e63e95
2222

2323
BUILD := docker buildx build
2424
PLATFORM ?= linux/amd64,linux/arm64
@@ -51,7 +51,8 @@ TARGETS = \
5151
nut-client \
5252
nvidia-container-toolkit \
5353
nvidia-fabricmanager \
54-
nvidia-open-gpu-kernel-modules
54+
nvidia-open-gpu-kernel-modules \
55+
rdma-core
5556

5657
# Temporarily disabled, as mellanox-ofed fails to build with Linux 6.1
5758
# mellanox-ofed \

rdma-core/manifest.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: v1alpha1
2+
metadata:
3+
name: rdma-core
4+
version: "$VERSION"
5+
author: Sidero Labs
6+
description: |
7+
This system extension provides Intel microcode binaries.
8+
compatibility:
9+
talos:
10+
version: ">= v1.4.0"

rdma-core/pkg.yaml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: rdma-core
2+
variant: scratch
3+
shell: /toolchain/bin/bash
4+
dependencies:
5+
- stage: base
6+
steps:
7+
- sources:
8+
- url: https://github.com/linux-rdma/rdma-core/releases/download/v{{ .RDMA_CORE_VERSION }}/rdma-core-{{ .RDMA_CORE_VERSION }}.tar.gz
9+
destination: rdma-core.tar.gz
10+
sha256: 25d6601e60f27bbcd75e07fe340400cb80e6c3c487679700535385cfc9d9858b
11+
sha512: f31c63aee415fb4aa721fdec2e4d9fb2bef964b1bea93f0170d30fb03b1e798cb11d46bb123db4b2a5002dec17ec16dc6e6aeaebe9f84517bf538dd114726ae1
12+
prepare:
13+
- |
14+
sed -i 's#$VERSION#{{ .VERSION }}#' /pkg/manifest.yaml
15+
- |
16+
tar -xzf rdma-core.tar.gz --strip-components=1
17+
18+
mkdir build
19+
cd build
20+
21+
cmake ..
22+
build:
23+
- |
24+
cd build
25+
26+
make -j $(nproc)
27+
install:
28+
- |
29+
mkdir -p /rootfs/
30+
31+
cd build
32+
33+
make DESTDIR=/rootfs install
34+
finalize:
35+
- from: /rootfs
36+
to: /rootfs
37+
- from: /pkg/manifest.yaml
38+
to: /

rdma-core/vars.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# renovate: datasource=github-releases extractVersion=^v(?<version>.*)$ depName=linux-rdma/rdma-core
2+
RDMA_CORE_VERSION: 44.0

0 commit comments

Comments
 (0)