Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 47 additions & 47 deletions recipes/recipes_emscripten/executorch-cpp/recipe.yaml
Original file line number Diff line number Diff line change
@@ -1,68 +1,68 @@
context:
name: executorch-cpp
version: 1.2.0
version: 1.3.0

package:
name: ${{ name }}
version: ${{ version }}

source:
- url: https://github.com/pytorch/executorch/archive/refs/tags/v${{ version }}.tar.gz
sha256: 6506c3047e8c50bb034807a582ca434a41cd30fb026fccc1a40eda6672c7d477
patches:
- patches/cmakelists.patch
- url: https://github.com/pytorch/executorch/archive/refs/tags/v${{ version }}.tar.gz
sha256: 61f7f425fa35b693e3e57b9a9bb1738d3bcda6261f53cab94c1fa4225672a041
patches:
- patches/cmakelists.patch

build:
number: 0
script: build.sh

requirements:
build:
- ${{ compiler('c') }}
- ${{ compiler('cxx') }}
- cmake
- flatbuffers
- make
- ninja
- python
- pytorch
- pyyaml
- ${{ compiler('c') }}
- ${{ compiler('cxx') }}
- cmake
- flatbuffers
- make
- ninja
- python
- pytorch
- pyyaml
host:
- flatcc
- fxdiv
- flatbuffers
- gflags
- nlohmann_json
- flatcc
- fxdiv
- flatbuffers
- gflags
- nlohmann_json

tests:
- package_contents:
files:
- include/executorch/runtime/executor/program.h
- include/executorch/extension/data_loader/file_data_loader.h
- include/executorch/extension/module/module.h
- include/executorch/extension/tensor/tensor.h
- lib/libexecutorch.a
- lib/libexecutorch_core.a
- lib/libportable_kernels.a
- lib/libextension_data_loader.a
- lib/libextension_flat_tensor.a
- lib/libextension_module.a
- lib/libextension_named_data_map.a
- lib/libextension_tensor.a
- lib/cmake/ExecuTorch/executorch-config.cmake
- lib/cmake/ExecuTorch/ExecuTorchTargets.cmake
- script:
- build_tests.sh
requirements:
build:
- ${{ compiler('cxx') }}
- cmake
- curl
- ninja
- package_contents:
files:
recipe:
- build_tests.sh
- tests/
- include/executorch/runtime/executor/program.h
- include/executorch/extension/data_loader/file_data_loader.h
- include/executorch/extension/module/module.h
- include/executorch/extension/tensor/tensor.h
- lib/libexecutorch.a
- lib/libexecutorch_core.a
- lib/libportable_kernels.a
- lib/libextension_data_loader.a
- lib/libextension_flat_tensor.a
- lib/libextension_module.a
- lib/libextension_named_data_map.a
- lib/libextension_tensor.a
- lib/cmake/ExecuTorch/executorch-config.cmake
- lib/cmake/ExecuTorch/ExecuTorchTargets.cmake
- script:
- build_tests.sh
requirements:
build:
- ${{ compiler('cxx') }}
- cmake
- curl
- ninja
files:
recipe:
- build_tests.sh
- tests/

about:
homepage: https://pytorch.org/executorch/
Expand All @@ -78,4 +78,4 @@ about:

extra:
recipe-maintainers:
- Alex-Placet
- Alex-Placet
Loading