Libreoffice M1 Mac



< Development

7.0.5 This version is slightly older and does not have the latest features, but it has been tested for longer. For business deployments, we strongly recommend support from certified partners which also offer long-term support versions of LibreOffice. LibreOffice 7.0.5 release notes. LibreOffice is totally free. It is very similar in design to Microsoft Office, with some minor differences in the design. LibreOffice is a solid replacement for the Office apps and includes some useful extra programs that Office doesn't even have. See at LibreOffice.

  • LibreOffice is cross platform software.The Document Foundation developers target Microsoft Windows (IA-32 and x86-64), Linux (IA-32, x86-64 and ARM) and macOS (x86-64). There are community ports for FreeBSD, NetBSD, OpenBSD and Mac OS X 10.5 PowerPC receive support from contributors to those projects, respectively. LibreOffice is also installable on OpenIndiana via SFE.
  • As such Collabora joined the Universal App Quickstart Programme back in July and has been doing work on enabling LibreOffice for M1 since then. This effort is made possible by the kind support of those who buy LibreOffice Vanilla in the Mac app store. And thanks too to Tor Lillqvist for his patience and hard work here.
  • Down to 10% battery life 4.5 hours running:-Outlook x86-Calendar M1-Chrome M1-1 Skype x86 call.5 hr-1 WebeX x86 call 1hr-1 Zoom x86 call 1hr-dual display, MBP always-onMaybe still indexing?#.
This page contains changes which are not marked for translation.
  • → Open Issues
English • ‎español • ‎日本語

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.

Prerequisites

  1. Install Xcode from the App Store. The intent is that LibreOffice will always be buildable with the current Xcode on current macOS. Right after a new Xcode version is released, or after a new macOS version is released, there might be a few days while that is not true. Just be patient in that case. Using older Xcode versions on older macOS versions might also work. What you are absolutely not expected to do is to specifically download some old Xcode version or a separate old SDK and use those.
  2. Run Xcode at least once (you don't need to open or create any project)
  3. If you are planning to work on the parts of LibreOffice that are implemented in Java, mainly the HSQLDB embedded database in Base, you need to download and install a JDK (Java SE Development Kit): Oracle's Java SE Development Kit. But that is entirely optional. If you want to avoid Java, just use the --without-java option in your autogen.input or on the autogen.sh command line, when you get that far.

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)

Libreoffice M1 Mac

Building

See Development/lode.

Building Tips

See platform-independent tips at Development/GenericBuildingHints

Building in a ssh session

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.

Performance

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

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:


Upgrading to a recent macOS on unsupported machines

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.

Don't bother building the ODK

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.

See also

Retrieved from 'https://wiki.documentfoundation.org/index.php?title=Development/BuildingOnMac&oldid=358693'

Libreoffice On Mac

macOS Support

Libre Office Macos

The current Apache OpenOffice supports Apple OS X version 10.7 (Lion), 10.8 (Mountain Lion), 10.9 (Mavericks), 10.10 (Yosemite), 10.11 (El Capitan) and macOS 10.12 (Sierra), 10.13 (High Sierra), 10.14 (Mojave), 10.15 (Catalina).

Libreoffice M1 Mac Software

The last OpenOffice version supporting Mac OS X 10.4 (Tiger), 10.5 (Leopard), 10.6 (Snow Leopard) is OpenOffice 4.0.1.

Hardware Requirements

  • CPU: Intel Processor
  • Memory: Minimum 512 Mbytes RAM.
  • Storage: At least 400 Mbytes available disk space for a default install via download.
  • Graphics: 1024 x 768 or higher resolution with 16.7 million colours.

Additional Resources

  • Click here to download
  • Click here to get install instructions for OpenOffice on macOS
  • Click here to get help and support in the Community Support Forums