-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Still trying to get Travis to use g++ 4.9
- Loading branch information
Showing
4 changed files
with
76 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
CRAN has binaries for Windows and macOS. To build this on Linux/BSD-ish | ||
systems, you need at least g++4.9 or clang++. This is a forced requirement | ||
by the ndjson library. | ||
|
||
The least painful way to do this is to install gcc >= 4.9 (and you should | ||
install ccache while you're at it) and mmodfiy ~/.R/Makevars thusly: | ||
|
||
# Use whatever version of (g++ >=4.9 or clang++) that you downloaded | ||
VER=-4.9 | ||
CC=ccache gcc$(VER) | ||
CXX=ccache g++$(VER) | ||
SHLIB_CXXLD=g++$(VER) | ||
FC=ccache gfortran | ||
F77=ccache gfortran | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters