Skip to content

Commit

Permalink
ubuntu24.04 precompile support
Browse files Browse the repository at this point in the history
  • Loading branch information
shivakunv committed Dec 3, 2024
1 parent 0618294 commit 6e1cb52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/precompiled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,10 @@ jobs:
docker cp base-${BASE_TARGET}-${{ matrix.flavor }}:/var/kernel_version.txt kernel_version.txt && break
sleep 10
done
docker images
docker manifest inspect ghcr.io/nvidia/driver:base
echo "SHIVA 1111 $OUT_IMAGE"
echo "SHIVA 2222222"
- name: Build image
env:
IMAGE_NAME: ghcr.io/nvidia/driver
Expand All @@ -140,6 +143,7 @@ jobs:
source kernel_version.txt && \
make DRIVER_VERSIONS=${DRIVER_VERSIONS} DRIVER_BRANCH=${{ matrix.driver_branch }} build-${DIST}-${DRIVER_VERSION}
echo "SHIVA 2222 $OUT_IMAGE"
echo "SHIVA333333"
- name: Save build image and kernel version file
env:
Expand Down
2 changes: 1 addition & 1 deletion base/generate-ci-config
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ DRIVER_VERSION=$(apt-cache show nvidia-utils-${DRIVER_BRANCH}-server |grep Versi

# Latest supported kernel
# only consider suffix -nvidia
SK=$(echo "$SUPPORTED_KERNELS" | awk '/-nvidia$/{last=$0} END{print last}')
SK=$(echo "$SUPPORTED_KERNELS" | awk -v f="$KERNEL_FLAVOR" '$0 ~ "-" f "$" {last=$0} END{print last}')

# Write to file
echo "export KERNEL_VERSION=$SK DRIVER_VERSION=$DRIVER_VERSION DRIVER_VERSIONS=$DRIVER_VERSION" > /var/kernel_version.txt
Expand Down

0 comments on commit 6e1cb52

Please sign in to comment.