Skip to content

Update pytorch_2.5.0.bb#4

Open
didima7777 wants to merge 1 commit into
nvidia-holoscan:mainfrom
didima7777:main
Open

Update pytorch_2.5.0.bb#4
didima7777 wants to merge 1 commit into
nvidia-holoscan:mainfrom
didima7777:main

Conversation

@didima7777

Copy link
Copy Markdown

Fix build with GCC 15 by adding -include cstdint to CMAKE_CXX_FLAGS to EXTRA_OECMAKE.

Added -DCMAKE_CXX_FLAGS="-include cstdint" to the build recipe to fix compilation errors with GCC 15 (e.g., 'uint8_t' was not declared in this scope). This resolves issues when building PyTorch in the tegra-demo-distro using the meta-tegra master branch (L4T R36.4.3 / JetPack 6.2).

Fix build with GCC 15 by adding -include cstdint to CMAKE_CXX_FLAGS

Added -DCMAKE_CXX_FLAGS="-include cstdint" to the build recipe to fix compilation
errors with GCC 15 (e.g., 'uint8_t' was not declared in this scope). This resolves
issues when building PyTorch in the tegra-demo-distro using the meta-tegra master
branch (L4T R36.4.3 / JetPack 6.2).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant