Start by installing distcc
using homebrew on your local machine and all the
machines you want to use for distributed builds.
brew install distcc
The only requirement for the build machines is that they run the same operating
// Declares clang::SyntaxOnlyAction. | |
#include "clang/Frontend/FrontendActions.h" | |
#include "clang/Tooling/CommonOptionsParser.h" | |
#include "clang/Tooling/Tooling.h" | |
// Declares llvm::cl::extrahelp. | |
#include "llvm/Support/CommandLine.h" | |
// AST Matchers | |
#include "clang/ASTMatchers/ASTMatchFinder.h" |
#include "clang/AST/AST.h" | |
#include "clang/AST/ASTConsumer.h" | |
#include "clang/AST/ASTContext.h" | |
#include "clang/AST/RecursiveASTVisitor.h" | |
#include "clang/Driver/Options.h" | |
#include "clang/Frontend/ASTConsumers.h" | |
#include "clang/Frontend/CompilerInstance.h" | |
#include "clang/Frontend/FrontendActions.h" | |
#include "clang/Rewrite/Core/Rewriter.h" | |
#include "clang/Tooling/CommonOptionsParser.h" |
#!/bin/bash | |
confirm() { | |
echo "Press RETURN to continue, or ^C to cancel."; | |
read -e ignored | |
} | |
GIT='git' | |
LTS="Ubuntu 10.04" |
infocmp -1 xterm-256color > xterm-256color.terminfo | |
echo -e "\tsitm=\\E[3m,\n\tritm=\\E[23m," >> xterm-256color.terminfo | |
tic xterm-256color.terminfo |
#include <chrono> | |
#include <iostream> | |
#include <type_traits> | |
template <class F, class... Args> | |
std::chrono::duration<double> | |
benchmark(F&& f, Args&&... args) | |
{ | |
using clock = std::conditional<std::chrono::high_resolution_clock::is_steady, |
#include <chrono> | |
#include <iostream> | |
#include <type_traits> | |
template <class F, class... Args> | |
std::chrono::duration<double> | |
benchmark(F&& f, Args&&... args) | |
{ | |
using clock = std::conditional<std::chrono::high_resolution_clock::is_steady, |
{ | |
"color_scheme": "Packages/Color Scheme - Default/Mariana.sublime-color-scheme", | |
"ensure_newline_at_eof_on_save": true, | |
"font_face": "Source Code Pro", | |
"font_size": 12, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"rulers": |
git log --author="Chris Lattner" --date=iso-local | perl -nalE 'if (/^Date:\s+[\d-]{10}\s(\d{2})/) { say $1+0 }' | sort | uniq -c|perl -MList::Util=max -nalE '$h{$F[1]} = $F[0]; }{ $m = max values %h; foreach (0..23) { $h{$_} = 0 if not exists $h{$_} } foreach (sort {$a <=> $b } keys %h) { say sprintf "% | |
02d - %4d %s", $_, $h{$_}, "*"x ($h{$_} / $m * 50); }' | |
00 - 40 *** | |
01 - 5 | |
02 - 6 | |
03 - 6 | |
04 - 8 | |
05 - 2 | |
06 - 9 | |
07 - 61 ***** |
#include "clang/AST/AST.h" | |
#include "clang/AST/ASTConsumer.h" | |
#include "clang/AST/RecursiveASTVisitor.h" | |
#include "clang/CodeGen/ObjectFilePCHContainerOperations.h" | |
#include "clang/Frontend/ASTConsumers.h" | |
#include "clang/Frontend/CompilerInstance.h" | |
#include "clang/Frontend/FrontendActions.h" | |
#include "clang/Rewrite/Core/Rewriter.h" | |
#include "clang/Tooling/CommonOptionsParser.h" | |
#include "clang/Tooling/Tooling.h" |