Skip to content

Commit 75a55b5

Browse files
committed
fix: make sure we have a proper git tags describe
1 parent fe3811c commit 75a55b5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build-nct.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ mkdir -p build/NVT/centos8/$ARCH
1111
export DOCKER="podman"
1212
export PATH="$(pwd):$PATH"
1313

14+
# Required to grab the tag info from git
15+
git -C ./nvidia-container-toolkit fetch --depth=200
16+
git -C ./nvidia-container-toolkit/third_party/libnvidia-container fetch --depth=200
17+
1418
LIB_NAME="nct" DIST_DIR="$(pwd)/build/NVT" \
1519
make -C ./nvidia-container-toolkit LIB_TAG="" DOCKER=podman centos8-$ARCH
1620
DIST_DIR="$(pwd)/build/NVT" \

0 commit comments

Comments
 (0)