Files
RedBear-OS/recipes/wip/libs/ml/libtorch/recipe.toml
T
vasilito 637da791ff fix: rename cxx → gcc13/gcc-native (resolve package name conflict)
recipes/dev/gcc13 was claiming name='cxx' — conflicted with
local/recipes/dev/gcc-native also claiming 'cxx'. Renamed to match
directory names for unique package identification by the cookbook.
2026-07-12 19:15:26 +03:00

17 lines
432 B
TOML

[package]
name = "libtorch"
version = "2.3"
#TODO not compiled or tested
# build instructions: https://github.com/pytorch/pytorch/blob/main/docs/libtorch.rst#building-libtorch-using-cmake
[source]
git = "https://github.com/pytorch/pytorch"
branch = "release/2.3"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
"-DPYTHON_EXECUTABLE=`which python3`",
"-DCMAKE_INSTALL_PREFIX=../pytorch-install ../pytorch",
]