Skip to content

Commit

Permalink
try gcc-11
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkeane committed Feb 24, 2022
1 parent e00bc0a commit 20ca138
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions dev/tasks/r/github.macos-linux.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,16 @@ jobs:
ARROW_R_DEV: TRUE
run: |
cd arrow/r
export CC="$(brew --prefix llvm)/bin/clang"
export CXX="$(brew --prefix llvm)/bin/clang++"
echo "CC: ${CC}"
echo "CC: ${CXX}"
export CC="$(which gcc-11)"
export CXX="$(which g++-11)"
export CXX11="$(which g++-11)"
${CC} --version
${CXX} --version
${CXX11} --version
mkdir -p ~/.R/
echo "CC=$(brew --prefix llvm)/bin/clang" >> ~/.R/Makevars
echo "CXX=$(brew --prefix llvm)/bin/clang++" >> ~/.R/Makevars
echo "CXX11=$(brew --prefix llvm)/bin/clang++" >> ~/.R/Makevars
echo "CC=$(which gcc-11)" >> ~/.R/Makevars
echo "CXX=$(which g++-11)" >> ~/.R/Makevars
echo "CXX11=$(which g++-11)" >> ~/.R/Makevars
R CMD config CC
R CMD config CXX11
R CMD INSTALL . --install-tests
Expand Down

0 comments on commit 20ca138

Please sign in to comment.