Skip to content

Commit bf662e1

Browse files
committed
Updating instructions after repaving recently
1 parent ebddc5b commit bf662e1

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

lmdb/readme.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,24 @@ Now all targets can be handled in a single script.
55

66
If you deal with this kind of stuff frequently and know a better way, please contribute.
77

8-
This assumes you're mostly working from a Mac.
8+
This assumes you're working from a Mac.
99

10-
Install mingw64 build tools for targeting Windows from a Mac
10+
Install mingw64 and android-ndk build tools for targeting Windows from a Mac
1111

1212
`brew bundle install`
1313

14+
`export NDK="/opt/homebrew/share/android-ndk"`
15+
16+
If you already use and license docker desktop, great the docker process will likely work as-is.
17+
I switched to using colima w/docker-cli. This setup will work using that approach.
18+
19+
```bash
20+
brew install docker
21+
brew install colima
22+
colima start --vm-type=vz --vz-rosetta #use macos built-in virtualization
23+
docker run --privileged --rm tonistiigi/binfmt --install all #this will install all available platforms
24+
# Ready to build now and should have all necessary platforms available for docker
25+
```
26+
1427
Docker has been used to deal with the various linux targets and the script assumes
1528
you have a version of docker that supports multi-platform runs with --platform.

0 commit comments

Comments
 (0)