mdbx-doc: актуализация раздела MacOS в README (backport).

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2025-03-20 01:01:05 +03:00
parent 69895e2b55
commit f9d7eb5525

View File

@ -651,16 +651,19 @@ error when opening the database in a _WSL1_ environment.
### MacOS ### MacOS
Current [native build tools](https://en.wikipedia.org/wiki/Xcode) for Current [native build tools](https://en.wikipedia.org/wiki/Xcode) for
MacOS include GNU Make, CLANG and an outdated version of Bash. MacOS include GNU Make, CLANG and an outdated version of Bash.
Therefore, to build the library, it is enough to run `make all` in the However, the build script uses GNU-kind of `sed` and `tar`.
So the easiest way to install all prerequirements is to use [Homebrew](https://brew.sh/),
just by `brew install bash make cmake ninja gnu-sed gnu-tar --with-default-names`.
Next, to build the library, it is enough to run `make all` in the
directory with source code, and run `make check` to execute the base directory with source code, and run `make check` to execute the base
tests. If something goes wrong, it is recommended to install tests. If something goes wrong, it is recommended to install
[Homebrew](https://brew.sh/) and try again. [Homebrew](https://brew.sh/) and try again.
To run the [long stochastic test scenario](test/stochastic.sh), you To run the [long stochastic test scenario](test/stochastic.sh), you
will need to install the current (not outdated) version of will need to install the current (not outdated) version of
[Bash](https://en.wikipedia.org/wiki/Bash_(Unix_shell)). To do this, I [Bash](https://en.wikipedia.org/wiki/Bash_(Unix_shell)).
recommend that you install [Homebrew](https://brew.sh/) and then execute Just install it as noted above.
`brew install bash`.
### Android ### Android
I recommend using CMake to build _libmdbx_ for Android. I recommend using CMake to build _libmdbx_ for Android.