我在Linux上构建的包失败了,出现以下rstan包的编译错误:
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [rstan.so] Error 1
ERROR: compilation failed for package ‘rstan’如何修改我的travis.yaml以在Travis上成功安装rstan?
Travis yaml:https://github.com/IndrajeetPatil/statsExpressions/blob/master/.travis.yml
发布于 2020-01-23 16:10:14
在尝试了许多不同的排列和组合之后,我终于让Travis构建成功了,不仅是通过正确地编译rstan,而且还安装了其他需要编译的包,以便日志不会超过最大限制或超时。
这是为将来可能遇到类似问题的任何人准备的新yaml文件:https://github.com/IndrajeetPatil/statsExpressions/blob/master/.travis.yml
https://stackoverflow.com/questions/59770919
复制相似问题