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

[Bug] Build scripts do not work on macOS #45750

Open
3 tasks done
0xderek opened this issue Dec 20, 2024 · 0 comments · May be fixed by #45751
Open
3 tasks done

[Bug] Build scripts do not work on macOS #45750

0xderek opened this issue Dec 20, 2024 · 0 comments · May be fixed by #45751

Comments

@0xderek
Copy link

0xderek commented Dec 20, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

Version

Doris master branch tested on Mac mini M4 (macOS Sequoia 15.2)

What's Wrong?

Call build.sh causes errors. Third-party libraries and Doris itself did not build.

What You Expected?

The script should build third-party libraries and Doris without error.

How to Reproduce?

Run bash build.sh on macOS.

Anything Else?

The error was caused by two issues:

  1. nproc is not available on macOS
  2. lowercase parameter expansion ${VAR,,} does not work with default version of bash on macOS

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@0xderek 0xderek linked a pull request Dec 20, 2024 that will close this issue
16 tasks
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 a pull request may close this issue.

1 participant