Closed TeoGiane closed 10 months ago
I think we need the FindSphinx.cmake
since in docs/CMakeLists.txt
we depend on sphinx
(and I don't think there is a standard FindSphinx
in cmake).
Since we're moving towards fixed-version-anything I would also keep matpoltplusplus
fixed as well -- it doesn't look like the maintainer cares about breaking compatibility (or even documenting ftw is going on)
I agree with Mario.
Also, I appreciate the documentation comments in the CMake files 🤗
Also also, please add a trailing new line to those files 🤗🔫
CHANGELOG:
FindSphinx.cmake
is untouched.matplotplusplus
uses version 1.2.0UPDATE: Now bayesmix
is compatible with RTools40, RTools42 and RTools43 C++ toolchain! :rocket:
Check the edited PR description!
Now all detailed instruction about how to install bayesmix
on various operating systems have been moved to INSTALL.md
file.
This PR revises the build process of
bayesmix
in two ways:It makes
bayesmix
a standalone build. In this way, we are relying on a fixed version ofmath
(i.e. our forkbayesmix-dev/math:develop
),protobuf
(version 3.16.0.0) andmatplotplusplus
(version 1.2). In this way, we simplify code maintenance and installation procedure is now simpler also for end users. The first build process is of course much longer, but at the end of the processmath
is available with TBB dynamically linked ,protobuf
andmatplotplusplus
compiled and statically linked. All dependencies are stored inlib/_deps
folder, created at configuration time. If such folder is not touch, next building processes will be fast.The building process of
math
is now completely revisited and inspired byCmdStan
. We rely on GNUmake
rather than 'CMake' to compiletbb
andsundials
. In this way, we successfully compile and linktbb
also in Windows. Hence,bayesmix
is now compatible with Rtools40, Rtools42 and Rtools43 C++ toolchains.The main
README.md
file has been revisited to include these new features.