<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
How far away does that put us from building against an external trilinos?<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Bartlett, Roscoe A <rabartl@sandia.gov><br>
<b>Sent:</b> Monday, July 18, 2022 9:36 AM<br>
<b>To:</b> trilinos-announce@trilinos.org <trilinos-announce@trilinos.org>; trilinos-developers@trilinos.org <trilinos-developers@trilinos.org><br>
<b>Subject:</b> RE: Trilinos transition to modern CMake IMPORTED targets</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
        {color:#0563C1;
        text-decoration:underline}
span.x_EmailStyle19
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.x_MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="x_WordSection1">
<p class="x_MsoNormal">Hello Trilinos users and developers,</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">After a good bit of testing by Trilinos customers and resolving a few issues that came up, we are finally ready to merge this major upgrade to the Trilinos CMake build system in the PR:</p>
<p class="x_MsoNormal">   </p>
<p class="x_MsoNormal">   <a href="https://github.com/trilinos/Trilinos/pull/10614">
https://github.com/trilinos/Trilinos/pull/10614</a></p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">I believe that all of the issues that were raised by customers have been resolved.  (See the list of testing and issues resolved in the
<b>Tasks</b> section at the top of the GitHub PR.)</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Please let me know if you have any lingering concerns ASAP.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">-Ross</p>
<div>
<div style="border:none; border-bottom:solid windowtext 1.0pt; padding:0in 0in 1.0pt 0in">
<p class="x_MsoNormal" style="border:none; padding:0in"> </p>
</div>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Dr. Roscoe A. Bartlett, PhD</p>
<p class="x_MsoNormal"><a href="https://bartlettroscoe.github.io/"><span style="color:blue">https://bartlettroscoe.github.io/</span></a>
</p>
<p class="x_MsoNormal">Sandia National Laboratories</p>
</div>
<p class="x_MsoNormal"> </p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="x_MsoNormal"><b>From:</b> Bartlett, Roscoe A <br>
<b>Sent:</b> Tuesday, June 14, 2022 2:35 PM<br>
<b>To:</b> trilinos-announce@trilinos.org; trilinos-developers@trilinos.org<br>
<b>Subject:</b> Trilinos transition to modern CMake IMPORTED targets</p>
</div>
</div>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Hello Trilinos users and developers,</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">If your CMake project does not use find_package(Trilinos), please ignore this email.  Otherwise …</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">FYI: A change to the <b>Trilinos CMake build system transitioning to the usage of modern CMake targets</b> is soon to be merged to the Trilinos ‘develop’ branch.  The Pull Request with this upgraded Trilinos CMake build system is:</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">   <a href="https://github.com/trilinos/Trilinos/pull/10614">
https://github.com/trilinos/Trilinos/pull/10614</a></p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">This change breaks backward compatibility in a few ways that
<b>will break some existing downstream CMake projects</b> that pull in Trilinos using find_package(Trilinos).   <b>However, many existing customer CMake projects will
<u>not</u> break</b> and almost every existing configure script for Trilinos should continue to work with no changes in behavior (i.e., it will find the same compilers, MPI, and the same external packages/TPLs in the same way).   NOTE: It is not possible to
 move to clean modern CMake targets and keep prefect backward compatibility (but a lot of effort was expended to minimize breaks in backward compatibility and avoid confusing errors).</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"><b>This is your opportunity to test out these Trilinos CMake changes in your project and provide feedback</b> before they are merged into the Trilinos ‘develop’ branch.  If you want to test your downstream CMake project against these
 changes, please let me know ASAP.  Otherwise, we plan to merge these changes the beginning of next week.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">The release notes summarizing these changes for Trilinos CMake customers are given in the “Trilinos 14.0” section in:</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">   <a href="https://github.com/bartlettroscoe/Trilinos/blob/tribits-299-modern-cmake-targets-1-again-2/RELEASE_NOTES">
https://github.com/bartlettroscoe/Trilinos/blob/tribits-299-modern-cmake-targets-1-again-2/RELEASE_NOTES</a></p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Detailed finer-grained changes to the TriBITS CMake build system that will impact CMake projects directly using TriBITS as well are described in all of the entries after 2021-06-17 listed in:</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">   <a href="https://github.com/TriBITSPub/TriBITS/blob/master/tribits/CHANGELOG.md">
https://github.com/TriBITSPub/TriBITS/blob/master/tribits/CHANGELOG.md</a></p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Tips on using the new modern CMake targets are given in:</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">   <a href="https://tribitspub.github.io/TriBITS/build_ref/index.html#using-the-installed-software-in-downstream-cmake-projects">
https://tribitspub.github.io/TriBITS/build_ref/index.html#using-the-installed-software-in-downstream-cmake-projects</a></p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">If you have any questions or concerns, please let me know,</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">-Ross</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"> </p>
<div style="border:none; border-bottom:solid windowtext 1.0pt; padding:0in 0in 1.0pt 0in">
<p class="x_MsoNormal"> </p>
</div>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Dr. Roscoe A. Bartlett, PhD</p>
<p class="x_MsoNormal"><a href="https://bartlettroscoe.github.io/"><span style="color:blue">https://bartlettroscoe.github.io/</span></a>
</p>
<p class="x_MsoNormal">Sandia National Laboratories</p>
<p class="x_MsoNormal"> </p>
</div>
</div>
</body>
</html>