You will need a functioning Mac in order to download a copy of the Mac OS. You will also need a 16 GB flash drive (these are about $5 on Amazon), and a small screwdriver to assemble your hardware. 2) Buy recommended hardware Do your research to make sure that you are buying hardware that other people have used in hackintoshes before.
Ever need to know what OS X Build correlates to which version? The simplest way to find out what version your running is in the Terminal with the command sw_vers.
Version | Build |
---|---|
macOS Sierra | |
10.12.4 | 16E195 |
10.12.3 | 16D32 |
10.12.2 | 16C67 |
10.12.1 | 16B2555 or 16B2557 |
10.12 | 16A323 |
OS X El Capitan | |
10.11.6 | 15G31 |
10.11.5 | 15F34 |
10.11.4 | 15E65 |
10.11.3 | 15D21 |
10.11.2 | 15C50 |
10.11.1 | 15B42 |
10.11 | 15A284 |
OS X Yosemite | |
10.10.5 | 14F27 |
10.10.4 | 14E46 |
10.10.3 | 14D136 |
10.10.2 | 14C109 |
10.10.1 | 14B25 |
10.10 | 14A389 |
Mavericks | |
10.9.5 | 13F34 |
10.9.4 | 13E28 |
10.9.3 | 13D65 |
10.9.2 | 13C64 |
10.9.1 | 13B42 |
10.9 | 13A603 |
Mountain Lion | |
10.8.5 | 12F37, 12F45, 12F2029 |
10.8.4 | 12E55 |
10.8.3 | 12D78 |
10.8.2 | 12C54, 12C60, 12C2034 |
10.8.1 | 12B19 |
10.8 | 12A269 |
Earlier Versions Start and end builds only | |
OS X Lion 10.7.5 | 11G56, 11G63 |
OS X Lion 10.7 | 11A511 |
Mac OS X Snow Leopard 10.6.8 | 10K540, 10K549 |
Mac OS X Snow Leopard 10.6 | 10A432, 10A433 (Server) |
Mac OS X Leopard 10.5.8 | 9L30, 9L34 (Server) |
Mac OS X Leopard 10.5 | 9A581 |
Mac OS X Tiger 10.4.11 | 8S165 |
Mac OS X Tiger 10.4 | 8A428 |
Mac OS X Panther 10.3.9 | 7W98 |
Mac OS X Panther 10.3 | 7B85 |
Mac OS X Jaguar 10.2.8 | 6R65, 6R73 |
Mac OS X Jaguar 10.2 | 6C115 |
Mac OS X Puma 10.1.5 | 5S60, 5S66 |
Mac OS X Puma 10.1 | 5G64, 5L14, 5L17b |
Mac OS X Cheetah 10.0 | 4K78 |
This page describes how to set up a build environment for LibreOffice on macOS 10.14.4. Building master requires Xcode 11.3 or later, which requires macOS 10.14.4 or later.
Notice: according to http://document-foundation-mail-archive.969070.n3.nabble.com/About-building-on-Apple-Silicon-M1-tt4298988.html, everything should be ok to build with mac containing processor Apple Silicon M1 except a known issue with in-process JVM (see https://lists.freedesktop.org/archives/libreoffice/2020-December/086490.html)
See Development/lode.
See platform-independent tips at Development/GenericBuildingHints
In some cases it seems that if you are building in a ssh session, some unit tests fail unless you also have a windowing session open to the machine, either on the physical console or through Screen Sharing.
Building LibreOffice takes time, a lot of time. Exactly how much depends on how powerful your machine is. But there are tools you can use to speed-up things.
ccache is short for compiler cache - and it is exactly that. It saves tons of time by not running the actual compiler when little has changed in the source codebetween two builds. But note that unless you explicitly do 'make clean' often, that is not typically the case, and using ccache just because you think it maybe helps is not a good idea.
Get it here: [1]
Build it like this:
You will also need to ensure the following is defined, e.g. in .bash_profile in your home folder, if using ccache (see Development/Building LibreOffice with Clang for full details), otherwise clang will report errors and show unnecessary warnings:
The default cache limit (5 GB) is not large enough to be useful for a LibreOffice build, but you can increase it, for instance to 30 GB:
To check what the current cache limit is, and see ccache statistics, run it with the -s command-line option:
Using various unofficial third-party tools it might be possible to run newer macOS versions on machines that are older than what that macOS version supports. If you need that, search for it. It is not relevant to duplicate such information here.
It is likely that you don't need to build the 'ODK' (Office Development Kit), especially as building that would require installing one more dependency: doxygen. Use the --disable-odk option in your autogen.input or on the autogen.sh command line.