Changeset View
Changeset View
Standalone View
Standalone View
depends/README.md
### Usage | ### Usage | ||||
To build dependencies for the current arch+OS: | To build dependencies for the current arch+OS: | ||||
make | make | ||||
To build for another arch/OS: | To build for another arch/OS: | ||||
make build-<platform> | make build-<platform> | ||||
Where `<platform>` is one of the following: | Where `<platform>` is one of the following: | ||||
- linux64 | - linux64 | ||||
- linux32 | - linux32 | ||||
- linux-arm | - linux-arm | ||||
- linux-aarch64 | - linux-aarch64 | ||||
- osx | - osx | ||||
- win32 | |||||
- win64 | - win64 | ||||
For example, building the dependencies for macOS: | For example, building the dependencies for macOS: | ||||
make build-osx | make build-osx | ||||
Note that it will use all the CPU cores available on the machine by default. | Note that it will use all the CPU cores available on the machine by default. | ||||
This behavior can be changed by setting the `JOBS` environment variable (see | This behavior can be changed by setting the `JOBS` environment variable (see | ||||
Show All 16 Lines | |||||
#### Common to all arch/OS | #### Common to all arch/OS | ||||
sudo apt-get install build-essential autoconf automake cmake curl git libtool ninja-build patch pkg-config python3 | sudo apt-get install build-essential autoconf automake cmake curl git libtool ninja-build patch pkg-config python3 | ||||
#### For macOS cross compilation | #### For macOS cross compilation | ||||
sudo apt-get install imagemagick libbz2-dev libcap-dev librsvg2-bin libtiff-tools python3-setuptools | sudo apt-get install imagemagick libbz2-dev libcap-dev librsvg2-bin libtiff-tools python3-setuptools | ||||
#### For Win32/Win64 cross compilation | #### For Win64 cross compilation | ||||
- see [build-windows.md](../doc/build-windows.md#cross-compilation-for-ubuntu-and-windows-subsystem-for-linux) | - see [build-windows.md](../doc/build-windows.md#cross-compilation-for-ubuntu-and-windows-subsystem-for-linux) | ||||
#### For linux cross compilation | #### For linux cross compilation | ||||
Common linux dependencies: | Common linux dependencies: | ||||
sudo apt-get install gperf | sudo apt-get install gperf | ||||
▲ Show 20 Lines • Show All 58 Lines • Show Last 20 Lines |