apache / incubator-seata

:fire: Seata is an easy-to-use, high-performance, open source distributed transaction solution.
https://seata.apache.org/
Apache License 2.0
25.25k stars 8.77k forks source link

optimize: fix node-gyp build error on arm64 and macos #6745

Closed slievrly closed 1 month ago

slievrly commented 1 month ago

Ⅰ. Describe what this PR did

fix node-gyp build error on arm64 and macos

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 50.87%. Comparing base (880ef0f) to head (c41035b).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/apache/incubator-seata/pull/6745/graphs/tree.svg?width=650&height=150&src=pr&token=tbmHt2ZfxO&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)](https://app.codecov.io/gh/apache/incubator-seata/pull/6745?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) ```diff @@ Coverage Diff @@ ## 2.x #6745 +/- ## ============================================ - Coverage 50.88% 50.87% -0.02% + Complexity 5917 5914 -3 ============================================ Files 1058 1058 Lines 36772 36772 Branches 4368 4368 ============================================ - Hits 18712 18708 -4 - Misses 16171 16174 +3 - Partials 1889 1890 +1 ``` [see 2 files with indirect coverage changes](https://app.codecov.io/gh/apache/incubator-seata/pull/6745/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)