Open gdurif opened 2 years ago
Output:
Stack trace: 1. devtools::load_all(".") 2. pkgload::load_all(path = path, reset = reset, recompile = recompile, ... 3. pkgbuild::compile_dll(path, quiet = quiet) 4. pkgbuild:::install_min(path, dest = install_dir, components = "libs", ... 5. pkgbuild:::rcmd_build_tools("INSTALL", c(path, paste("--library=", ... 6. pkgbuild:::with_build_tools(callr::rcmd_safe(..., env = env, ... 7. callr::rcmd_safe(..., env = env, spinner = FALSE, show = FALSE, ... 8. callr:::run_r(options) 9. base:::with(options, with_envvar(env, do.call(processx::run, ... 10. base:::with.default(options, with_envvar(env, do.call(processx::run, ... 11. base:::eval(substitute(expr), data, enclos = parent.frame()) 12. base:::eval(substitute(expr), data, enclos = parent.frame()) 13. callr:::with_envvar(env, do.call(processx::run, c(list(bin, args = rea ... 14. base:::force(code) 15. base:::do.call(processx::run, c(list(bin, args = real_cmdargs, ... 16. (function (command = NULL, args = character(), error_on_status = TRUE, ... 17. throw(new_process_error(res, call = sys.call(), echo = echo, ... x System command 'R' failed, exit status: 1, stdout + stderr: E> * installing *source* package ‘spams’ ... E> ** using staged installation E> ** libs E> g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -I. -Ispams/linalg -Ispams/prox -Ispams/decomp -Ispams/dictLearn -Ispams/dags -fopenmp -DUSE_BLAS_LIB -DNDEBUG -O3 -mtune=native -fpic -g -O2 -fdebug-prefix-map=/build/r-base-i2PIHO/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -std=c++11 -Wno-ignored-attributes -c spams.cpp -o spams.o E> cc1plus: error: bad value (‘tigerlake’) for ‘-mtune=’ switch E> cc1plus: note: valid arguments to ‘-mtune=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 btver1 btver2 generic native E> make: *** [/usr/lib/R/etc/Makeconf:177: spams.o] Error 1 E> ERROR: compilation failed for package ‘spams’ E> * removing ‘/tmp/RtmpVV3MHA/devtools_install_fc463a41a28/spams’
Output: