Package https://github.com/dmenne/gastempt has been on CRAN for some time, and could be build on Travis (https://travis-ci.org/dmenne/gastempt/builds/419519345).
I tried to port it to C++14 following @bgoodri (How to update a package that has StanHeaders and rstan in its LinkingTo). Main change is Makevars, now:
MAKEFLAGS = -j4
CXX14 = g++ -std=c++1y # g++ or clang++ if you have that
CXX14FLAGS = -O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -Wno-macro-redefined
These settings work ok for dmenne/breathteststan
;
When it is build under Windows and under Ubuntu Xenial, the horror happens: Building goes in circles, Stan compile output is produced, stacking up 30++ R processes until the computer totally freezes. Travis output stops in the middle of the desert without any error messages: