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

Build for MacOS #660

Open
martingg88 opened this issue May 16, 2024 · 1 comment
Open

Build for MacOS #660

martingg88 opened this issue May 16, 2024 · 1 comment

Comments

@martingg88
Copy link

Anyone know how to build this library for MacOS platform?

@sitano
Copy link

sitano commented Jul 31, 2024

yes, here you go MariaDB#20

with something like:

$ mkdir build && cd build

$ cmake .. -G Ninja \
      -DCMAKE_BUILD_TYPE=Debug \
      -DCMAKE_INSTALL_PREFIX="install" \
      -DNOT_FOR_DISTRIBUTION=YES \
      -DCMAKE_VERBOSE_MAKEFILE=ON \
      -DMYSQL_MAINTAINER_MODE=OFF \
      -DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3

$ PATH=/opt/homebrew/opt/m4/bin:${PATH} cmake --build . --parallel 16
$ cmake --install .

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

No branches or pull requests

2 participants