Skip to content

Instantly share code, notes, and snippets.

@joemolloy
Last active October 20, 2020 08:31
Show Gist options
  • Save joemolloy/d9aace60c3be2063b83e9ea129a99c24 to your computer and use it in GitHub Desktop.
Save joemolloy/d9aace60c3be2063b83e9ea129a99c24 to your computer and use it in GitHub Desktop.
R Makevars file for OSX to enable openMP
CC=/usr/local/bin/gcc-9
CXX=/usr/local/bin/g++-9
CXX1X=/usr/local/bin/g++-9
CXX11=/usr/local/bin/g++-9
SHLIB_CXXLD=/usr/local/bin/g++-9
FC=/usr/local/bin/gfortran-9
F77=/usr/local/bin/gfortran-9
SHLIB_OPENMP_CFLAGS=-fopenmp -lgomp
SHLIB_OPENMP_CXXFLAGS=-fopenmp -lgomp
SHLIB_OPENMP_FCFLAGS=-fopenmp
SHLIB_OPENMP_FFLAGS=-fopenmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment