Created
September 25, 2017 14:52
-
-
Save tbates/9cec0a93e04c06c41b550454eaa892a3 to your computer and use it in GitHub Desktop.
Makevars to build OpenMx on MacOS
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
# mate ~/.R/Makevars | |
# The following statements are required to use the clang4 binary | |
CC=/usr/local/clang4/bin/clang | |
CXX=/usr/local/clang4/bin/clang++ | |
CXX1X=/usr/local/clang4/bin/clang++ | |
CXX98=/usr/local/clang4/bin/clang++ | |
CXX11=/usr/local/clang4/bin/clang++ | |
CXX14=/usr/local/clang4/bin/clang++ | |
CXX17=/usr/local/clang4/bin/clang++ | |
LDFLAGS=-L/usr/local/clang4/lib | |
# End clang4 inclusion statements | |
# Flag for us (using random (so -stdlib=libc++) and openmp) | |
# CXXFLAGS = -g -O3 -Wall -pedantic -Wconversion -Wno-sign-conversion -fopenmp -stdlib=libc++ | |
CFLAGS = -g -O3 -fopenmp | |
CXXFLAGS = -g -O3 -fopenmp -stdlib=libc++ | |
CXX11FLAGS = -g -O3 -fopenmp -stdlib=libc++ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment