![cmake install guid cmake install guid](https://itk.org/ITKSoftwareGuide/html/Book1/ITKSoftwareGuide-Book14x.png)
TIP: x86_64 binary packages for all dependencies on Mac OS X 10.15+ and Linux distributions are available through the Macaulay2 tap for Homebrew. On Mac OS X, using Homebrew, install gmp libxml2 readline gdbm boost libatomic_ops libomp tbb.
![cmake install guid cmake install guid](https://cmake.org/cmake/help/book/mastering-cmake/_images/QtbasedCMakeGUI.png)
![cmake install guid cmake install guid](https://i.ytimg.com/vi/gDAO4LM6tYc/maxresdefault.jpg)
On Fedora/CentOS, install autoconf automake bison libtool pkg-config yasm.On Debian/Ubuntu, install autoconf build-essential bison libtool pkg-config yasm.There are various tools needed to compile Macaulay2 dependencies. TIP: install ccache for caching compiler artifacts and ninja-build ( ninja on Brew) for optimized parallel builds. This build system is tested on GCC 6+, Clang 6+, and Xcode 9+ compilers. If using a packaged distribution, confirm using cmake -version that you have version at least 3.15. Getting startedĭownload the latest CMake for your platform.ĬMake is availeble through Homebrew for both Mac OS X and Linux distributions. See this article on why the KDE project switched to CMake and this list of cool CMake features.Īlso see this guide for building and packaging Macaulay2 in a Docker container. Building Macaulay2 from Source using CMakeĬMake is a cross-platform system for generating build environments using native tools such as Makefiles and Ninja or IDEs such as Xcode and Visual Studio.