oceanbase / miniob

MiniOB is a compact database that assists developers in understanding the fundamental workings of a database.
https://oceanbase.github.io/miniob/
Mulan Permissive Software License, Version 2
2.86k stars 1.01k forks source link

Update build.sh #343

Closed colommar closed 2 months ago

colommar commented 2 months ago

去掉默认自动检测当前机器上CPU的个数来决定编译并发数量,改由自己决策。

What problem were solved in this pull request?

Issue Number: #303

Problem:收到多名同学反馈编译执行buidl.sh卡死。build.sh中会自动检测当前机器上CPU的个数来决定编译并发数量,但是很多同学的机器内存与CPU并不匹配,会导致编译卡死。

What is changed and how it works?

将此处改成MAKE_ARGS=()

https://github.com/oceanbase/miniob/blob/f42235649b7d3860aaecc08265bb801b12dd7ef3/build.sh#L12

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 36.99%. Comparing base (f422356) to head (57412f6).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #343 +/- ## ======================================= Coverage 36.99% 36.99% ======================================= Files 101 101 Lines 7272 7272 ======================================= Hits 2690 2690 Misses 4582 4582 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

hnwyllmm commented 2 months ago

还有不少功能待开发,如果兴趣欢迎一起做

colommar commented 2 months ago

还有不少功能待开发,如果兴趣欢迎一起做

好的,非常感谢。