Skip to content

Commit

Permalink
build(ci) : add a crazy hack since R CMD call 'g++ ' as linker
Browse files Browse the repository at this point in the history
  • Loading branch information
hpwxf committed Jul 3, 2019
1 parent 5a55881 commit d08be8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis-ci/r-windows/script.sh
Expand Up @@ -20,11 +20,11 @@ export PATH=$HOME/Miniconda3/Rtools/mingw_64/bin:$PATH
# OpenBLAS installation
export EXTRA_SYSTEM_LIBRARY_PATH=${HOME}/Miniconda3/Library/lib

# Crazy hack is R try to call 'g++ ' as compiler
# Crazy hack since R try to call 'g++ ' as compiler
# Message looks like:
# /usr/bin/sh: line 8: g++ : command not found
# with a space here ^
# ln -sf "$(which g++).exe" "$(which g++) .exe"
ln -sf "$(which g++).exe" "$(which g++) .exe"

cd bindings/R
make clean
Expand Down

0 comments on commit d08be8e

Please sign in to comment.