-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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](macOS) Fix build scripts for macOS #45751
base: master
Are you sure you want to change the base?
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
- Replaced `nproc` with `sysctl -n hw.logicalcpu` to get CPU count on macOS. - Avoided lowercase parameter expansion due to macOS default Bash version (3.2).
6ff84ef
to
c557afd
Compare
run buildall |
TPC-H: Total hot run time: 39569 ms
|
TeamCity be ut coverage result: |
TPC-DS: Total hot run time: 196581 ms
|
ClickBench: Total hot run time: 32.57 s
|
What problem does this PR solve?
Issue Number: close #45750
Related PR: None
Problem Summary: Build scripts do not work on macOS
Release note
nproc
withsysctl -n hw.logicalcpu
to get CPU count on macOS.Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)