cmake
- Use bundled version of
libuv(for now) - Use bundled version of
rhash(nothing depends on it) - Unset
$MAKEascmakeexpectscmake_make_processorto be equal to$MAKEwhich ismakeon glaucus, and that does not work when bootstrappingcmake - Can be built with
makeonly; without requiringninja,samuormuon - Build
cmakeby itself to enable LTO (BUILD_LTO=ON) - Test suite might require
LC_ALL=en_US.UTF-8on LFS - Builds takes a while (~10 minutes) even with jobs=2 and jobs=4; compare
makeagainstsamu? - Absolute paths are allowed for
CMAKE_INSTALL_<dir>, but are not recommended - Do we need the following:
- -DBUILD_CursesDialog=OFF- -DCMAKE_MAKE_PROGRAM=/usr/bin/samu- -DCMake_TEST_NO_NETWORK=ON- rm -fR "$dir"/usr/share/emacs- Might consider these when we have more stuff:
- --bootstrap-system-libuv- --bootstrap-system-jsoncpp- --bootstrap-system-librhashReferences
Section titled “References”- https://cmake.org/cmake/help/latest/command/install.html
- https://cmake.org/cmake/help/latest/manual/cmake-variables.7.html
- https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
- https://cmake.org/cmake/help/latest/policy/CMP0192.html
- https://linuxfromscratch.org/blfs/view/svn/kde/extra-cmake-modules.html