File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030# # At CRAN or R-universe we encounter nothing else.
3131# # Use Sys.info() to be cross-compilation safe.
3232: ${R_HOME=$(R RHOME)}
33- sysname=$( ${R_HOME} /bin/Rscript -e ' cat(Sys.info()[["sysname"]]) ' )
34- arch=$( ${R_HOME} /bin/Rscript -e ' cat(Sys.info()[["machine"]]) ' )
33+ sysname=$( uname )
34+ arch=$( uname -m )
3535osname=$( ${R_HOME} /bin/Rscript -e ' cat(R.version$os)' )
36- if [ ${sysname} = " Linux" ] & [ ${osname} != " linux-musl" ]; then
36+ if [ ${sysname} = " Linux" ] && [ ${osname} != " linux-musl" ]; then
3737 platform=" linux"
3838elif [ ${sysname} = " Darwin" ]; then
3939 platform=" osx"
4545 cp -ax src/Makevars.no_blp src/Makevars
4646 exit 0
4747fi
48- echo " Seeing ${sysname} ${arch} ${osname} ${platform} "
4948
5049# # Populate Makevars
5150if [ " ${arch} " = " x86_64" ] && [ " ${platform} " = " linux" ]; then
You can’t perform that action at this time.
0 commit comments