Skip to content

Commit

Permalink
ubuntu24.04 precompile support
Browse files Browse the repository at this point in the history
Signed-off-by: shiva kumar <[email protected]>
  • Loading branch information
shivakunv committed Dec 3, 2024
1 parent 8b8f71b commit a115392
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/precompiled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,17 +131,6 @@ jobs:
docker images
echo "SHIVA 1111 $OUT_IMAGE"
# SHIVA
echo "$BASE_TARGET ${{ matrix.flavor }} ${{ matrix.driver_branch }} ${{ matrix.dist }}"
export REGCTL_VERSION=v0.7.1
mkdir -p bin
curl -sSLo bin/regctl https://github.com/regclient/regclient/releases/download/${REGCTL_VERSION}/regctl-linux-amd64
chmod a+x bin/regctl
export PATH=$(pwd)/bin:${PATH}
regctl -v debug image get-file ghcr.io/nvidia/driver:base-${BASE_TARGET}-${{ matrix.flavor }}-${{ matrix.driver_branch }} /var/kernel_version.txt ./kernel_version1.txt
cat ./kernel_version1.txt
# SHIVA
echo "SHIVA 2222222"
Expand Down Expand Up @@ -230,7 +219,7 @@ jobs:
DRIVER_BRANCHES=($(echo "$driver_branch_json" | jq -r '.[]'))
# SHIVA
./tests/scripts/findkernelversion.sh "$BASE_TARGET" nvidia 550 ${DIST}
docker images
exit 1
# SHIVA
Expand Down
2 changes: 1 addition & 1 deletion base/generate-ci-config
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ SUPPORTED_KERNELS=$(apt-cache search linux-objects-nvidia-${DRIVER_BRANCH}-serve
DRIVER_VERSION=$(apt-cache show nvidia-utils-${DRIVER_BRANCH}-server |grep Version |awk '{print $2}' | cut -d'-' -f1 | head -n 1)

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

# Write to file
Expand Down

0 comments on commit a115392

Please sign in to comment.