Skip to content

Commit 43f81f7

Browse files
committed
DAOS-17207 build: Update spdk to v24.09
Snapshot v24.09 and its dependencies and build a single RPM Remove Debian packaging (server component) Signed-off-by: Jeff Olivier <jeffolivier@google.com>
1 parent cefc39f commit 43f81f7

21 files changed

+90
-624
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "spdk"]
2+
path = spdk-24.09
3+
url = https://github.com/spdk/spdk.git

0001-setup.sh-Speed-up-the-VMD-device-unbind-by-running-i.patch

-88
This file was deleted.

0002-configure-add-CONFIG_HAVE_ARC4RANDOM.patch

-111
This file was deleted.

Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
//@Library(value="pipeline-lib@your_branch") _
88

99
/* groovylint-disable-next-line CompileStatic */
10-
packageBuildingPipelineDAOSTest(['distros': ['el8', 'el9', 'leap15', 'ubuntu20.04'],
10+
packageBuildingPipelineDAOSTest(['distros': ['el8', 'el9', 'leap15'],
1111
'test-tag': 'pr'])

Makefile

+10-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
NAME := spdk
55
SRC_EXT := gz
6-
SOURCE = https://github.com/spdk/$(NAME)/archive/v$(VERSION).tar.$(SRC_EXT)
6+
SOURCE = $(NAME)-$(VERSION).tar.$(SRC_EXT)
77

88
# this needs to be formalized into packaging/Makefile_packaging.mk
99
#GIT_COMMIT := 7232c450f97cf925a521a60ef2561eca4b65c41a
@@ -30,3 +30,12 @@ include packaging/Makefile_packaging.mk
3030
# git diff $(VERSION)..$(GIT_COMMIT) \
3131
# > ../$@
3232
# git add $@
33+
34+
$(NAME)-$(VERSION).tar.gz: $(shell git ls-files :/:)
35+
echo Creating $@
36+
echo $(basename $@)
37+
rm -f $@
38+
git submodule update --init --recursive
39+
git ls-files --recurse-submodules $(NAME)-$(VERSION) | tar caf $(NAME)-$(VERSION).tar.gz -T-
40+
41+
tarball: $(NAME)-$(VERSION).tar.gz

0 commit comments

Comments
 (0)