Skip to content

Samsung AI LiteCore - buildsystem: separate backend and example builds. - #22582

Open
Jiseong-oh wants to merge 2 commits into
mainfrom
build-split
Open

Samsung AI LiteCore - buildsystem: separate backend and example builds.#22582
Jiseong-oh wants to merge 2 commits into
mainfrom
build-split

Conversation

@Jiseong-oh

@Jiseong-oh Jiseong-oh commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

To keep backend and example artifacts distinct.

AS-IS:

  • The backend library and 'enn_executor_runner' were built together.
  • The example artifact 'enn_executor_runner' was placed under 'backend/samsung', it is not proper location for example artifacts. TO-BE:
  • Build the backend library first, then let the example projects refer to already-built backend library.
  • Adjust CMakeLists so that 'enn_executor_runner' is compiled in the 'examples/samsung/' directory and its output is placed in there.

Test plan

${EXECUTORCH_ROOT}/backends/samsung/build.sh -b all

cc @SS-JIA @digantdesai @kimishpatel

To keep backend and example artifacts distinct.

AS-IS:
- The backend library and 'enn_executor_runner' were built together.
- The example artifact 'enn_executor_runner' was placed under 'backend/samsung',
  it is not proper location for example artifacts.
TO-BE:
- Build the backend library first, then let the example projects refer to
  already-built backend library.
- Adjust CMakeLists so that 'enn_executor_runner' is compiled in the
  'examples/samsung/' directory and its output is placed in there.

Signed-off-by: Jiseong.oh <jiseong.oh@samsung.coms>
- fixed dead/hard build paths
- Fixed typo and added NDK path.

Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
@pytorch-bot

pytorch-bot Bot commented Sep 5, 2026

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/22582

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure

As of commit 7263631 with merge base c570b6c (image):

NEW FAILURE - The following job has failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 5, 2026
@Jiseong-oh Jiseong-oh added partner: samsung For backend delegation, kernels, demo, etc. from the 3rd-party partner, Samsung module: samsung labels Sep 5, 2026
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@Jiseong-oh Jiseong-oh changed the title Build System - separate backend and example builds. Samsung AI LiteCore - buildsystem: separate backend and example builds. Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. module: samsung partner: samsung For backend delegation, kernels, demo, etc. from the 3rd-party partner, Samsung

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant