For at least a month I've been trying to figure out why my builds have been failing for ANTsRCore vs. stnava/ANTsRCore. It turns out that my builds were upgrading to Linux Trusty but @stnava on Travis kept using precise. I don't know why the Ubuntu version made such a difference, but could have been the clang compiler.
clang++ -std=gnu++11 -I/home/travis/R-bin/lib/R/include -DNDEBUG -I/home/travis/R/Library/ITKR/libs/include/ITK-4.12/ -I/home/travis/build/muschellij2/ANTsRCore.Rcheck/00_pkg_src/ANTsRCore/src -I/home/travis/build/muschellij2/ANTsRCore.Rcheck/00_pkg_src/ANTsRCore/src/ants/Examples/include/ -I/home/travis/build/muschellij2/ANTsRCore.Rcheck/00_pkg_src/ANTsRCore/src/ants/Utilities -I/home/travis/build/muschellij2/ANTsRCore.Rcheck/00_pkg_src/ANTsRCore/src/ants/Examples/ -I../inst/include/ -I/home/travis/build/muschellij2/ANTsRCore.Rcheck/00_pkg_src/ANTsRCore/src/ants/Tensor/ -I"/home/travis/R/Library/Rcpp/include" -I"/home/travis/R/Library/ITKR/include" -I/home/travis/R-bin/include -fpic -g -O2 -c iMathInterface.cpp -o iMathInterface.o
clang: error: unable to execute command: Killed
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.5.0 (tags/RELEASE_350/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/iMathInterface-176f0f.cpp
clang: note: diagnostic msg: /tmp/iMathInterface-176f0f.sh
clang: note: diagnostic msg:
For at least a month I've been trying to figure out why my builds have been failing for ANTsRCore vs. stnava/ANTsRCore. It turns out that my builds were upgrading to Linux Trusty but @stnava on Travis kept using precise. I don't know why the Ubuntu version made such a difference, but could have been the clang compiler.
For your builds, it has:
I was getting errors with
clang
such asfrom https://travis-ci.org/muschellij2/ANTsRCore/jobs/262035390.
I am going to close the previous PR and then push my new one after the checks are done.