We have been working to address the time needed to compile Barretenberg (eg #572).
We have analyzed compilation using: https://github.com/aras-p/ClangBuildAnalyzer. Cloning this into cpp/ and building it there, the "magic command" to produce a build analysis is:
rm -rf build && cmake --preset clang15 -DCMAKE_CXX_FLAGS="-ftime-trace" && cmake --build --preset clang15 && ./ClangBuildAnalyzer/build/ClangBuildAnalyzer --all build artifacts && ./ClangBuildAnalyzer/build/ClangBuildAnalyzer --analyze artifacts > build-analysis
Suspected major culprits at the moment: transcript is all in a header; zeromorph is all in a header; new Univariate template parameter; use of MANY different tuple types in relations.
We have been working to address the time needed to compile Barretenberg (eg #572).
We have analyzed compilation using: https://github.com/aras-p/ClangBuildAnalyzer. Cloning this into cpp/ and building it there, the "magic command" to produce a build analysis is:
rm -rf build && cmake --preset clang15 -DCMAKE_CXX_FLAGS="-ftime-trace" && cmake --build --preset clang15 && ./ClangBuildAnalyzer/build/ClangBuildAnalyzer --all build artifacts && ./ClangBuildAnalyzer/build/ClangBuildAnalyzer --analyze artifacts > build-analysis
Here is the compilation analysis at the moment: