File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -192,6 +192,7 @@ print_status_msg "Done setting up cross compiler for robot software"
192192
193193print_status_msg " Setting Up Python Development Headers"
194194install_python_dev_cross_compile_headers $arch
195+ install_python_toolchain_headers
195196print_status_msg " Done Setting Up Python Development Headers"
196197
197198print_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 @@ -169,7 +169,7 @@ install_python_dev_cross_compile_headers() {
169169 rm -rf /tmp/tbots_download_cache/python-3.12.0.tar.xz
170170}
171171
172- install_python_toolchain_headers_macos () {
172+ install_python_toolchain_headers () {
173173 sudo mkdir -p /opt/tbotspython/py_headers/include/
174174 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/
175175}
Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ new_local_repository(
294294new_local_repository (
295295 name = "py_cc_toolchain_for_k8_jetson_nano_cross_compile" ,
296296 build_file = "@//extlibs:py_cc_toolchain.BUILD" ,
297- path = "/opt/tbotspython/py_headers /include/python3.12/" ,
297+ path = "/opt/tbotspython/cross_compile_headers /include/python3.12/" ,
298298)
299299
300300##############################################
You can’t perform that action at this time.
0 commit comments