[MacPorts] #61256: Multicore support for math/R
MacPorts
noreply at macports.org
Thu Oct 1 14:21:32 UTC 2020
#61256: Multicore support for math/R
--------------------------+----------------------
Reporter: webbp | Owner: kjellpk
Type: enhancement | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: R |
--------------------------+----------------------
Comment (by webbp):
My description of the solution isn't quite right. The way I solved this
was with:
{{{
~/.R/Makevars:
LLVM_LOC = /opt/local/libexec/llvm-10
CC=$(LLVM_LOC)/bin/clang -fopenmp
CXX=$(LLVM_LOC)/bin/clang++ -fopenmp
CFLAGS=-g -O3 -Wall -pedantic -std=gnu99 -mtune=native -pipe
CXXFLAGS=-g -O3 -Wall -pedantic -std=c++11 -mtune=native -pipe
LDFLAGS=-L/opt/local/lib -L$(LLVM_LOC)/lib -Wl,-rpath,$(LLVM_LOC)/lib
CPPFLAGS=-I/opt/local/include -I$(LLVM_LOC)/include
}}}
That alone on my new machine breaks installing R packages, so there are
some missing steps, and some of the other steps I took above may have been
irrelevant.
--
Ticket URL: <https://trac.macports.org/ticket/61256#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list