File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -158,6 +158,7 @@ print_status_msg "Done setting up cross compiler for robot software"
158158
159159print_status_msg " Setting Up Python Development Headers"
160160install_python_dev_cross_compile_headers $g_arch
161+ install_python_toolchain_headers
161162print_status_msg " Done Setting Up Python Development Headers"
162163
163164print_status_msg " Setting Up PlatformIO"
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ install_cross_compiler_mac
8888print_status_msg " Done setting up cross compiler for robot software"
8989
9090print_status_msg " Setting Up Python Development Headers"
91- install_python_toolchain_headers_macos
91+ install_python_toolchain_headers
9292print_status_msg " Done Setting Up Python Development Headers"
9393
9494print_status_msg " Granting Permissions to /opt/tbotspython"
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ new_local_repository(
280280new_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##############################################
You can’t perform that action at this time.
0 commit comments