Enhance build process and caching for crypto dependencies#5060
Draft
Frozen wants to merge 10 commits into
Draft
Conversation
Collaborator
Author
|
@copilot resolve the merge conflicts in this pull request |
Merge conflicts have been resolved in commit
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request refactors and streamlines the build process for cryptographic dependencies (
mclandbls) in the Harmony project. It introduces a reusable GitHub composite action and a supporting build script, consolidates dependency builds under new Makefile targets, and updates CI workflows for improved caching and efficiency.Build and Dependency Management Improvements:
.github/actions/build-crypto-deps/action.yml) to cache and buildmclandblsdependencies, with configurable paths and build options.scripts/build_crypto_deps.shscript to unify and parameterize the build steps formclandbls, supporting both static and shared builds.Makefileto add new targets:deps,deps-static, andbuild, which leverage the new script for dependency management and clarify the build process. [1] [2] [3]CI Workflow Enhancements:
ci-pr.yamlto use the newbuild-crypto-depsaction instead of manualmakecommands formclandbls, incorporating multi-arch runner support, arch-specific artifact naming, and improved artifact handling from the base branch. [1] [2]ci-tag.yamlandci.yamlwith the consolidatedci-release.yamlintroduced in the base branch, applying thebuild-crypto-depsaction and switching tomake linux_static_quickfor faster release builds. [1] [2]make linux_static_quickinstead ofmake linux_staticfor faster builds. [1] [2]Other:
These changes make the build system more modular, maintainable, and efficient, especially in CI environments.