[Bioc-devel] -fopenmp switch issue on mac
Vincent Carey
@tvjc @end|ng |rom ch@nn|ng@h@rv@rd@edu
Wed Dec 4 17:03:26 CET 2019
When installing packages from source,
I frequently run into this error with
%vjcair> clang --version
Apple LLVM version 9.0.0 (clang-900.0.39.2)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
I am still running macos Sierra ... is there a solution within this
platform? I have been getting around this by modifying Makevars when needed
* installing *source* package ‘sitmo’ ...
** package ‘sitmo’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
clang++ -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG
-I../inst/include/
-I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/include'
-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
-I/usr/local/include -fopenmp -fPIC -Wall -g -O2 -c RcppExports.cpp -o
RcppExports.o
clang: *error: *unsupported option '-fopenmp'
make: *** [RcppExports.o] Error 1
ERROR: compilation failed for package ‘sitmo’
--
The information in this e-mail is intended only for the ...{{dropped:18}}
More information about the Bioc-devel
mailing list