[MacPorts] #61256: Multicore support for math/R
MacPorts
noreply at macports.org
Fri Oct 2 04:46:59 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 i0ntempest):
It's working for me:
{{{
* installing *source* package ‘data.table’ ...
** package ‘data.table’ successfully unpacked and MD5 sums checked
** using staged installation
zlib 1.2.11 is available ok
OpenMP supported
** libs
/opt/local/bin/clang-mp-10 -fopenmp
-I"/opt/local/Library/Frameworks/R.framework/Resources/include" -DNDEBUG
-I/opt/local/include -fopenmp -fPIC -isysroot
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -g -O3 -Wall -pedantic
-std=gnu99 -mtune=native -pipe -c assign.c -o assign.o
In file included from assign.c:1:
In file included from ./data.table.h:13:
In file included from ./myomp.h:2:
/opt/local/include/libomp/omp.h:53:9: warning: ISO C restricts enumerator
values to range of 'int' (2147483648 is too large) [-Wpedantic]
omp_sched_monotonic = 0x80000000
^ ~~~~~~~~~~
...
}}}
My Makevar file is same as the one you have except I explicitly specified
{{{/opt/local/bin/clang-mp-10}}} and {{{/opt/local/bin/clang++-mp-10}}}.
I've added openmp in as a variant, do you wanna try my portfile?
--
Ticket URL: <https://trac.macports.org/ticket/61256#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list