# Travis-CI Build Hitting Log Size Limit / RcppEigen

**URL:** <https://travis-ci.community/t/travis-ci-build-hitting-log-size-limit-rcppeigen/9779>\
**Category:** R\
**Created:** [September 1, 2020, 1:29am UTC](https://travis-ci.community/t/travis-ci-build-hitting-log-size-limit-rcppeigen/9779 "2020-09-01T01:29:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bbimber](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/bbimber/32/5071_2.png) [@bbimber](https://travis-ci.community/u/bbimber)\
**Post date:** [September 1, 2020, 1:29am UTC](https://travis-ci.community/t/travis-ci-build-hitting-log-size-limit-rcppeigen/9779/1 "2020-09-01T01:29:31Z")

</div>

Hello,

We have an R package with a lot of dependencies. We use Travis-CI’s build caching, which generally really helps this and makes builds very fast. However, we recently had to clear our cache and have been hitting a lot of problem, including that our build log file exceeds the limit of 4mb. I googled this and ended up setting “CXXFLAGS=$CXXFLAGS -w -DEIGEN\_PERMANENTLY\_DISABLE\_STUPID\_WARNINGS” in $HOME/.R/Makevars. This might be helping, but many RcppEigen-related commands dont inherit this and these blocks in particular log a huge amount of text. Has anyone else experienced this, and/or do you have ideas on debugging?

RcppEigen 0.3.3.7.0 gets installed from CRAN. Thanks in advance.

One example output is here:

[https://api.travis-ci.com/v3/job/379691434/log.txt](https://api.travis-ci.com/v3/job/379691434/log.txt)

the first few lines of an example are:

begin installing package â€˜RSQLiteâ€™

- installing _source_ package â€˜DDRTreeâ€™ …  
\*\* package â€˜DDRTreeâ€™ successfully unpacked and MD5 sums checked  
\*\* using staged installation  
\*\* libs  
make[1]: Entering directory ‘/tmp/Rtmpuvoour/R.INSTALL2854527da0ed/DDRTree/src’  
g++ -std=gnu++11 -I"/opt/R/3.6.3/lib/R/include" -DNDEBUG -I"/home/travis/R/Library/Rcpp/include" -I"/home/travis/R/Library/RcppEigen/include" -I"/home/travis/R/Library/BH/include" -I/usr/local/include -fpic -g -O2 -c DDRTree.cpp -o DDRTree.o  
In file included from /home/travis/R/Library/RcppEigen/include/Eigen/Core:392:0,  
from /home/travis/R/Library/RcppEigen/include/Eigen/Dense:1,  
from /home/travis/R/Library/RcppEigen/include/RcppEigenForward.h:30,  
from /home/travis/R/Library/RcppEigen/include/RcppEigen.h:25,  
from DDRTree.h:5,  
from DDRTree.cpp:1:  
/home/travis/R/Library/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:60:39: warning: ignoring attributes on template argument â€˜\_\_m128 {aka \_\_vector(4) float}â€™ [-Wignored-attributes]  
template\<\> struct is\_arithmetic\<\_\_m128\> { enum { value = true }; };  
^

---

<div class="post-metadata">

**Author:** ![jefferis](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/jefferis/32/5512_2.png) [@jefferis](https://travis-ci.community/u/jefferis)\
**Post date:** [November 9, 2020, 11:41am UTC](https://travis-ci.community/t/travis-ci-build-hitting-log-size-limit-rcppeigen/9779/2 "2020-11-09T11:41:45Z")

</div>

+1 for me. Did you come up with a good solution for this? Thank you, Greg.
