<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div>Johan,</div><div><br class=""></div><div>Since llvm-config is something that matters to you I'm curious to get your opinion (and that of anyone else who can chime in) on something. At the dev meeting during the CMake roundtable we discussed deprecating llvm-config in favor of pkg-config.</div><div><br class=""></div><div>Would LLVM supporting pkg-config meet your needs in place of llvm-config?</div><div><br class=""></div><div>-Chris</div><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 31, 2019, at 1:53 AM, Johan Engelen via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div dir="ltr" class="">On Thu, Oct 31, 2019 at 3:46 AM Saleem Abdulrasool <<a href="mailto:compnerd@compnerd.org" class="">compnerd@compnerd.org</a>> wrote:<br class=""></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr" class=""><div dir="ltr" class="">On Wed, Oct 30, 2019 at 4:17 PM Johan Engelen <<a href="mailto:jbc.engelen@gmail.com" target="_blank" class="">jbc.engelen@gmail.com</a>> wrote:<br class=""></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr" class="">Hi all,<br class=""><div class=""> <span class="Apple-converted-space"> </span>Since <span style="color: rgb(68, 77, 86); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 12px; text-align: right; white-space: nowrap;" class="">2724d9e12960cc1d93eeabbfc9aa1bffffa041cc</span>, llvm-config -cxxflags no longer reports the C++ language standard version (e.g. "-std=c++14") used to compile LLVM. This may break builds of projects that build with the same flags as LLVM, e.g. the LDC compiler.</div><div class="">Quoting from llvm/tools/llvm-config/CMakeLists.txt:</div><div class="">```</div><div class=""># The language standard potentially affects the ABI/API of LLVM, so we want<br class=""># to make sure it is reported by llvm-config.<br class=""></div><div class="">```</div><div class="">Even in the case of default C++ version, in my opinion llvm-config should explicitly report it.</div></div></blockquote><div class=""><br class=""></div><div class="">I will add an option to report the C++ version, though that would be a new option and require reworking the consumers to be aware of that. It would be better to actually rely on CMake to provide the details of the build rather than `llvm-config`.</div><div class=""></div></div></div></blockquote><div class=""> </div><div class="">Note that this is about the details for the build of a project that uses LLVM. I don't think projects should be forced to use CMake for setting up a build when they link to LLVM. The new option would help, but I feel it is better to be have the C++ version be reported by default and that a new option would disable it. In most cases I think one would want the c++ version to be specified because otherwise the project will be forced to compile with the same compiler and same compiler version as the LLVM package because things rely on compiler defaults to be the same. Hence the comment in llvm-config/CMakeLists.</div><div class=""><br class=""></div><div class="">regards,</div><div class=""> Johan</div><div class=""> </div><div class=""><br class=""></div></div></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">LLVM Developers mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="mailto:llvm-dev@lists.llvm.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">llvm-dev@lists.llvm.org</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a></div></blockquote></div><br class=""></body></html>