Skip to content

Commit eb44645

Browse files
Merge pull request #237 from Libraries-Openly-Fused/236-add-cuda-132-builds-to-jetson-agx-orin-via-cuda-compat-orin-13-2
Add cuda 13.2 to arm64 via jetson using the forward compatibility for jetpack 6.x
2 parents 4ea65b3 + e3a8e12 commit eb44645

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

.github/workflows/cmake-linux-amd64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
id: strings
3838
run: |
3939
echo "build-output-dir=${{github.workspace}}/build" >> "$GITHUB_OUTPUT"
40-
echo "PATH=/home/cudeiro/cmake-4.2.1-linux-x86_64/bin/:$PATH" >> "$GITHUB_ENV"
40+
echo "PATH=$HOME/cmake-4.2.1-linux-x86_64/bin/:$PATH" >> "$GITHUB_ENV"
4141
echo "CUDACXX=/usr/local/cuda-${{matrix.cuda_toolkit}}/bin/nvcc" >> "$GITHUB_ENV"
4242
echo "CC=${{matrix.host_compiler}}" >> "$GITHUB_ENV"
4343
echo "CXX=${{matrix.host_compiler}}" >> "$GITHUB_ENV"

.github/workflows/cmake-linux-arm64.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,30 @@ jobs:
1919
include:
2020
- host_compiler: "g++-11"
2121
cuda_toolkit: "12.9"
22+
cuda_ldpath: "cuda-12.9"
2223
- host_compiler: "clang++-21"
2324
cuda_toolkit: "12.9"
24-
#
25+
cuda_ldpath: "cuda-12.9"
26+
- host_compiler: "g++-11"
27+
cuda_toolkit: "13.2"
28+
cuda_ldpath: "cuda-13.2/compat_orin"
29+
- host_compiler: "clang++-21"
30+
cuda_toolkit: "13.2"
31+
cuda_ldpath: "cuda-13.2/compat_orin"
32+
2533
steps:
2634
- uses: actions/checkout@v4
2735
- name: Set reusable strings
2836
# Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file.
2937
id: strings
3038
run: |
3139
echo "build-output-dir=${{github.workspace}}/build" >> "$GITHUB_OUTPUT"
32-
echo "PATH=/home/cudeiro/cmake-4.2.1-linux-aarch64/bin/:$PATH" >> "$GITHUB_ENV"
40+
echo "PATH=$HOME/cmake-4.2.1-linux-aarch64/bin/:$PATH" >> "$GITHUB_ENV"
3341
echo "CUDACXX=/usr/local/cuda-${{matrix.cuda_toolkit}}/bin/nvcc" >> "$GITHUB_ENV"
3442
echo "CC=${{matrix.host_compiler}}" >> "$GITHUB_ENV"
35-
echo "CXX=${{matrix.host_compiler}}" >> "$GITHUB_ENV"
36-
43+
echo "CXX=${{matrix.host_compiler}}" >> "$GITHUB_ENV"
44+
echo "LD_LIBRARY_PATH=/usr/local/${{matrix.cuda_ldpath}}:$LD_LIBRARY_PATH" >> "$GITHUB_ENV"
45+
3746
- name: Configure CMake
3847
run: |
3948

0 commit comments

Comments
 (0)