[MacPorts] #50309: clang-3.7 @3.7.1_2+analyzer+openmp patch failure
MacPorts
noreply at macports.org
Tue Jan 12 13:38:37 PST 2016
#50309: clang-3.7 @3.7.1_2+analyzer+openmp patch failure
-------------------------+--------------------------------
Reporter: mopihopi@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: clang-3.7 |
-------------------------+--------------------------------
Comment (by braumann@…):
Got the same error on 10.6.8.
FWIW, I add
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src/tools/clang/lib/Driver/Tools.cpp.rej
{{{
***************
*** 6556,6567 ****
options::OPT_fno_openmp, false)) {
switch (getOpenMPRuntime(getToolChain(), Args)) {
case OMPRT_OMP:
CmdArgs.push_back("-lomp");
break;
case OMPRT_GOMP:
CmdArgs.push_back("-lgomp");
break;
case OMPRT_IOMP5:
CmdArgs.push_back("-liomp5");
break;
case OMPRT_Unknown:
--- 6558,6575 ----
options::OPT_fno_openmp, false)) {
switch (getOpenMPRuntime(getToolChain(), Args)) {
case OMPRT_OMP:
+ // Automatically find MacPorts' libomp
+ CmdArgs.push_back("-L@@PREFIX@@/lib/libomp");
CmdArgs.push_back("-lomp");
break;
case OMPRT_GOMP:
+ // Automatically find MacPorts' libgomp (libomp)
+ CmdArgs.push_back("-L@@PREFIX@@/lib/libomp");
CmdArgs.push_back("-lgomp");
break;
case OMPRT_IOMP5:
+ // Automatically find MacPorts' libiomp5 (libomp)
+ CmdArgs.push_back("-L@@PREFIX@@/lib/libomp");
CmdArgs.push_back("-liomp5");
break;
case OMPRT_Unknown:
}}}
--
Ticket URL: <https://trac.macports.org/ticket/50309#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list