-
-
Notifications
You must be signed in to change notification settings - Fork 3
add cuda 13.2 to jetson arm64 builds (main) #239
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -19,21 +19,30 @@ jobs: | |||||
| include: | ||||||
| - host_compiler: "g++-11" | ||||||
| cuda_toolkit: "12.9" | ||||||
| cuda_ldpath: "cuda-12.9" | ||||||
| - host_compiler: "clang++-21" | ||||||
| cuda_toolkit: "12.9" | ||||||
| # | ||||||
| cuda_ldpath: "cuda-12.9" | ||||||
| - host_compiler: "g++-11" | ||||||
| cuda_toolkit: "13.2" | ||||||
| cuda_ldpath: "cuda-13.2/compat_orin" | ||||||
| - host_compiler: "clang++-21" | ||||||
| cuda_toolkit: "13.2" | ||||||
| cuda_ldpath: "cuda-13.2/compat_orin" | ||||||
|
Comment on lines
+26
to
+31
|
||||||
|
|
||||||
| steps: | ||||||
| - uses: actions/checkout@v4 | ||||||
| - name: Set reusable strings | ||||||
| # Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file. | ||||||
| id: strings | ||||||
| run: | | ||||||
| echo "build-output-dir=${{github.workspace}}/build" >> "$GITHUB_OUTPUT" | ||||||
| echo "/home/cudeiro/cmake-4.2.1-linux-aarch64/bin/" >> "$GITHUB_PATH" | ||||||
| echo "$HOME/cmake-4.2.1-linux-aarch64/bin/" >> "$GITHUB_PATH" | ||||||
| echo "CUDACXX=/usr/local/cuda-${{matrix.cuda_toolkit}}/bin/nvcc" >> "$GITHUB_ENV" | ||||||
| echo "CC=${{matrix.host_compiler}}" >> "$GITHUB_ENV" | ||||||
| echo "CXX=${{matrix.host_compiler}}" >> "$GITHUB_ENV" | ||||||
|
|
||||||
| echo "CXX=${{matrix.host_compiler}}" >> "$GITHUB_ENV" | ||||||
| echo "LD_LIBRARY_PATH=/usr/local/${{matrix.cuda_ldpath}}:$LD_LIBRARY_PATH" >> "$GITHUB_ENV" | ||||||
|
||||||
| echo "LD_LIBRARY_PATH=/usr/local/${{matrix.cuda_ldpath}}:$LD_LIBRARY_PATH" >> "$GITHUB_ENV" | |
| echo "LD_LIBRARY_PATH=/usr/local/${{matrix.cuda_ldpath}}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" >> "$GITHUB_ENV" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The matrix value
cuda_ldpath: "cuda-12.9"expands to/usr/local/cuda-12.9in LD_LIBRARY_PATH, but CUDA shared libraries are typically under a lib directory (e.g.,targets/aarch64-linux/lib/lib64) rather than the toolkit root. If this variable is meant to make runtime linking work, it should point at the directory that actually contains the.sofiles.