Skip to content

Commit d6b303d

Browse files
committed
resolve ubuntu failure
1 parent 42a0793 commit d6b303d

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

environment_setup/setup_software.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ print_status_msg "Done setting up cross compiler for robot software"
158158

159159
print_status_msg "Setting Up Python Development Headers"
160160
install_python_dev_cross_compile_headers $g_arch
161+
install_python_toolchain_headers
161162
print_status_msg "Done Setting Up Python Development Headers"
162163

163164
print_status_msg "Setting Up PlatformIO"

environment_setup/setup_software_mac.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ install_cross_compiler_mac
8888
print_status_msg "Done setting up cross compiler for robot software"
8989

9090
print_status_msg "Setting Up Python Development Headers"
91-
install_python_toolchain_headers_macos
91+
install_python_toolchain_headers
9292
print_status_msg "Done Setting Up Python Development Headers"
9393

9494
print_status_msg "Granting Permissions to /opt/tbotspython"

environment_setup/util.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ install_python_dev_cross_compile_headers() {
133133
rm -rf /tmp/tbots_download_cache/python-3.12.0.tar.xz
134134
}
135135

136-
install_python_toolchain_headers_macos() {
136+
install_python_toolchain_headers() {
137137
sudo mkdir -p /opt/tbotspython/py_headers/include/
138138
sudo ln -sfn "$(python3.12-config --includes | awk '{for(i=1;i<=NF;++i) if ($i ~ /^-I/) print substr($i, 3)}' | head -n1)" /opt/tbotspython/py_headers/include/
139139
}

src/MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ new_local_repository(
280280
new_local_repository(
281281
name = "py_cc_toolchain_for_k8_jetson_nano_cross_compile",
282282
build_file = "@//extlibs:py_cc_toolchain.BUILD",
283-
path = "/opt/tbotspython/py_headers/include/python3.12/",
283+
path = "/opt/tbotspython/cross_compile_headers/include/python3.12/",
284284
)
285285

286286
##############################################

0 commit comments

Comments
 (0)