-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR [13/25] COPY docker/jetpack_files /pdk_files #4140
Comments
You can find the I upload my stubify.sh as follow, you can save it as stubify.sh #!/bin/bash
#
# This short shell script will extract all the strong "text" symbols from the
# shared library and create a new "stub" shared library with the same symbols.
# The body of these functions will be empty and therefore have no dependencies.
# This scripts uses whatever CC is defined in the user's environment.
#
set -o pipefail
# check arguments
if [ $# -ne 2 ] ; then
echo "Usage: $(basename $0) IN_LIBFILE OUT_LIBFILE"
exit 1
fi
IN_LIBFILE="$1"
OUT_LIBFILE="$2"
# check compiler
if [ -z "${CC}" ] ; then
echo "Error: Environment variable 'CC' has not been defined"
exit 1
fi
SONAME=$(readelf -d "${IN_LIBFILE}" | grep '(SONAME)' | cut -d [ -f 2 | cut -d ] -f 1)
# make stub library
nm -D "${IN_LIBFILE}" | \
awk '{if ($2 == "T") { print "void",$3,"() {}" }}' | \
"${CC}" -x c -O0 -fPIC -shared -Wl,-soname=${SONAME} -Wl,--strip-all -o "${OUT_LIBFILE}" -
exit $?
|
@lix19937 thank you for your reply. It also throws error for
i couldnt find the jetpack_files in the repo. How can I get those files? |
Do you has install JetPack SDK ?
|
Description
I am trying to setup tensort rt oss on the jetson orin nano.
While executing the https://github.com/NVIDIA/TensorRT/blob/release/8.6/docker/ubuntu-cross-aarch64.Dockerfile file it is throwing the error with
`ERROR [13/25] COPY docker/jetpack_files /pdk_files 0.0s
ubuntu-cross-aarch64.Dockerfile:69
67 | # Skip installing PyPI packages and NGC client on cross-build container
68 |
69 | >>> COPY docker/jetpack_files /pdk_files
70 | COPY scripts/stubify.sh /pdk_files
71 |
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 156867a5-6c53-4894-8bca-0c027714172f::f1lz936xp5y2zkhe4z4gs28dg: "/docker/jetpack_files": not found
`
I have modified the file to accept the cuda version 12.2.0
Environment
TensorRT Version: 8.6.1
NVIDIA GPU: jetson orin nano
NVIDIA Driver Version:
CUDA Version: 12.2
CUDNN Version:
The text was updated successfully, but these errors were encountered: