Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build for Open Harmony #652

Merged
merged 2 commits into from
Jan 16, 2025
Merged

Fix build for Open Harmony #652

merged 2 commits into from
Jan 16, 2025

Conversation

justsmth
Copy link
Contributor

@justsmth justsmth commented Jan 8, 2025

Issues:

Addresses #648

Description of changes:

  • Only collect cflags from cc when a cmake toolchain is not provided.
  • Add a few necessary tweaks when using the Open Harmony CMake toolchain.

Testing:

  • Added Docker Image that installs the OpenHarmony SDK.
  • Added CI job that tests building for targets aarch64-unknown-linux-ohos, armv7-unknown-linux-ohos, and x86_64-unknown-linux-ohos.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

skmcgrail
skmcgrail previously approved these changes Jan 8, 2025
@codecov-commenter
Copy link

codecov-commenter commented Jan 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.90%. Comparing base (c358484) to head (79c7a0f).
Report is 150 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #652      +/-   ##
==========================================
- Coverage   95.80%   92.90%   -2.90%     
==========================================
  Files          61       68       +7     
  Lines        8143     9721    +1578     
  Branches        0     9721    +9721     
==========================================
+ Hits         7801     9031    +1230     
- Misses        342      402      +60     
- Partials        0      288     +288     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@justsmth justsmth force-pushed the fix-ohos branch 5 times, most recently from bc23e2a to dc6d0c1 Compare January 9, 2025 15:00
@justsmth justsmth changed the title [DRAFT] Fix build for Open Harmony Fix build for Open Harmony Jan 9, 2025
@justsmth justsmth marked this pull request as ready for review January 9, 2025 15:15
@justsmth justsmth requested a review from a team as a code owner January 9, 2025 15:15
@justsmth justsmth requested a review from skmcgrail January 9, 2025 15:18
skmcgrail
skmcgrail previously approved these changes Jan 9, 2025
skmcgrail
skmcgrail previously approved these changes Jan 10, 2025
samuel40791765
samuel40791765 previously approved these changes Jan 15, 2025
@justsmth justsmth merged commit b3879b4 into aws:main Jan 16, 2025
258 of 263 checks passed
@justsmth justsmth deleted the fix-ohos branch January 16, 2025 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants