Skip to content

[github] Implement build script for circle-mlir#15474

Merged
seanshpark merged 1 commit intoSamsung:masterfrom
shs-park:github/pub-onnx2circle-build
May 28, 2025
Merged

[github] Implement build script for circle-mlir#15474
seanshpark merged 1 commit intoSamsung:masterfrom
shs-park:github/pub-onnx2circle-build

Conversation

@shs-park
Copy link
Copy Markdown
Contributor

This adds configuration and build steps for the circle-mlir.

ONE-DCO-1.0-Signed-off-by: Seungho Henry Park shs.park@samsung.com

This adds configuration and build steps for the `circle-mlir`.

ONE-DCO-1.0-Signed-off-by: Seungho Henry Park <shs.park@samsung.com>
@shs-park shs-park requested a review from a team May 28, 2025 04:29
@shs-park shs-park self-assigned this May 28, 2025
@shs-park shs-park added the PR/ready for review It is ready to review. Please review it. label May 28, 2025
@shs-park
Copy link
Copy Markdown
Contributor Author

for issue #15424
from draft #15440

Comment on lines +107 to +124
# NOTE Docker image has pre-installed submodules in /workdir
# NOTE Docker image has pre-installed python packages
- name: Configure
run: |
echo "Configure"
cd circle-mlir
Python3_ROOT_DIR=/usr/bin cmake -B build/${{ env.O2C_BUILDTYPE }} -S ./ \
-DCMAKE_INSTALL_PREFIX=build/${{ env.O2C_BUILDTYPE }}.install \
-DCMAKE_BUILD_TYPE=${{ env.O2C_BUILDTYPE }} \
-DCIRCLE_MLIR_WORKDIR=/workdir

- name: Build, test & install
env:
ONE_COMPILER_ROOT: /usr/share/circletools
run: |
echo "Build, test & install"cd circle-mlir
cd circle-mlir
cmake --build build/${{ env.O2C_BUILDTYPE }} -j4
CTEST_OUTPUT_ON_FAILURE=1 cmake --build build/${{ env.O2C_BUILDTYPE }} --verbose -- test
cmake --build build/${{ env.O2C_BUILDTYPE }} -j4 -- install
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

@seanshpark seanshpark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@seanshpark seanshpark merged commit 8387c47 into Samsung:master May 28, 2025
3 checks passed
@shs-park shs-park deleted the github/pub-onnx2circle-build branch May 28, 2025 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR/ready for review It is ready to review. Please review it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants