<div dir="ltr">Thanks for the info.. Yes, that does the trick..<div><br></div><div>Thanks</div><div>Suresh</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 27, 2015 at 11:40 AM, Khem Raj <span dir="ltr"><<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div><div class="h5"><blockquote type="cite"><div>On Apr 27, 2015, at 11:32 AM, Suresh Nagarajan <<a href="mailto:sureshnagaraja@gmail.com" target="_blank">sureshnagaraja@gmail.com</a>> wrote:</div><br><div><div dir="ltr">Hi,<br><br>I'm trying to look to see if OpenMP library is included in my yocto build.<div><br></div><div>I could not find libgomp library in /usr/lib</div><div>However, when I look at gcc-runtime.inc, I do notice that</div><div><br></div><div><div><div>RUNTIMETARGET = "libssp libstdc++-v3 libgomp"</div></div></div><div><div>PACKAGES = "\</div><div>  ${PN}-dbg \</div><div>  libstdc++ \</div><div>  libstdc++-precompile-dev \</div><div>  libstdc++-dev \</div><div>  libstdc++-staticdev \</div><div>  libg2c \</div><div>  libg2c-dev \</div><div>  libssp \</div><div>  libssp-dev \</div><div>  libssp-staticdev \</div><div>  libgfortran \</div><div>  libgfortran-dev \</div><div>  libgfortran-staticdev \</div><div>  libmudflap \</div><div>  libmudflap-dev \</div><div>  libmudflap-staticdev \</div><div>  libquadmath \</div><div>  libquadmath-dev \</div><div>  libquadmath-staticdev \</div><div> <span style="background-color:rgb(255,255,0)"> libgomp \</span></div><div> <span style="background-color:rgb(255,255,0)"> libgomp-dev \</span></div><div>  libgomp-staticdev \</div></div><div><br></div><div><br></div><div>Also, I noticed that in gmane and other web-pages that it is OK to have INTIAL/INTERMEDIATE EXTRA_OECONF Â to have --disable-libgomp</div><div><br></div><div>However, it is not disabled in BASE which reads</div><div><div>EXTRA_OECONF_BASE = " --enable-lto \</div><div><span style="white-space:pre-wrap">                 </span>--enable-libssp \</div><div><span style="white-space:pre-wrap">                        </span>--disable-bootstrap \</div><div><span style="white-space:pre-wrap">                    </span>--disable-libmudflap \</div><div><span style="white-space:pre-wrap">                   </span>--with-system-zlib \</div><div><span style="white-space:pre-wrap">                     </span>--with-linker-hash-style=${LINKER_HASH_STYLE} \</div><div><span style="white-space:pre-wrap">                  </span>--enable-linker-build-id \</div><div><span style="white-space:pre-wrap">                       </span>--with-ppl=no \</div><div><span style="white-space:pre-wrap">                  </span>--with-cloog=no \</div><div><span style="white-space:pre-wrap">                        </span>--enable-checking=release \</div><div><span style="white-space:pre-wrap">                      </span>--enable-cheaders=c_global "</div></div><div><br></div><div><br></div><div>Also, it is mentioned that <see below><br><pre style="font-family:Menlo,'Liberation Mono',Consolas,'DejaVu Sans Mono','Ubuntu Mono','Courier New','andale mono','lucida console',monospace;font-size:12px;white-space:pre-wrap;padding:0px;margin-top:15px;margin-bottom:0px;line-height:1.428571429;word-break:break-all;word-wrap:break-word;color:rgb(51,51,51);border:none;border-radius:4px;background-image:none;background-repeat:initial">Autoconf will not detect OpenMP after this change, because it will
build and run a target binary on the build system. In order to use
OpenMP, the variable ac_cv_prog_c_openmp=-fopenmp must be set.</pre><pre style="font-family:Menlo,'Liberation Mono',Consolas,'DejaVu Sans Mono','Ubuntu Mono','Courier New','andale mono','lucida console',monospace;font-size:12px;white-space:pre-wrap;padding:0px;margin-top:15px;margin-bottom:0px;line-height:1.428571429;word-break:break-all;word-wrap:break-word;color:rgb(51,51,51);border:none;border-radius:4px;background-image:none;background-repeat:initial"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;white-space:normal">Where exactly are we supposed to set this variable </span><span style="line-height:1.428571429">ac_cv_prog_c_openmp=-fopenmp?</span><br></pre></div></div></div></blockquote><div><br></div></div></div><div>You might have to add it to your image via IMAGE_INSTALL or some such </div><br><blockquote type="cite"><div><div dir="ltr"><div><pre style="font-family:Menlo,'Liberation Mono',Consolas,'DejaVu Sans Mono','Ubuntu Mono','Courier New','andale mono','lucida console',monospace;font-size:12px;white-space:pre-wrap;padding:0px;margin-top:15px;margin-bottom:0px;line-height:1.428571429;word-break:break-all;word-wrap:break-word;color:rgb(51,51,51);border:none;border-radius:4px;background-image:none;background-repeat:initial"><span style="line-height:1.428571429"><br></span></pre><pre style="font-family:Menlo,'Liberation Mono',Consolas,'DejaVu Sans Mono','Ubuntu Mono','Courier New','andale mono','lucida console',monospace;font-size:12px;white-space:pre-wrap;padding:0px;margin-top:15px;margin-bottom:0px;line-height:1.428571429;word-break:break-all;word-wrap:break-word;color:rgb(51,51,51);border:none;border-radius:4px;background-image:none;background-repeat:initial"><span style="line-height:1.428571429">Thanks</span></pre><pre style="font-family:Menlo,'Liberation Mono',Consolas,'DejaVu Sans Mono','Ubuntu Mono','Courier New','andale mono','lucida console',monospace;font-size:12px;white-space:pre-wrap;padding:0px;margin-top:15px;margin-bottom:0px;line-height:1.428571429;word-break:break-all;word-wrap:break-word;color:rgb(51,51,51);border:none;border-radius:4px;background-image:none;background-repeat:initial"><span style="line-height:1.428571429">Suresh</span></pre><pre style="font-family:Menlo,'Liberation Mono',Consolas,'DejaVu Sans Mono','Ubuntu Mono','Courier New','andale mono','lucida console',monospace;font-size:12px;white-space:pre-wrap;padding:0px;margin-top:15px;margin-bottom:0px;line-height:1.428571429;word-break:break-all;word-wrap:break-word;color:rgb(51,51,51);border:none;border-radius:4px;background-image:none;background-repeat:initial"><br></pre></div></div>
</div></blockquote></div><br></div></blockquote></div><br></div>