<!-- BaNnErBlUrFlE-BoDy-start -->
<!-- Preheader Text : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">
I have added two MR to hopefully improve PETSc usability based on your issues Add information to template Makefile. user indicating what parts can easily be. . . (!7663) · Merge requests · PETSc / petsc · GitLabgitlab. com to clarify in Makefile. User
</div>
<!-- Preheader Text : END -->
<!-- Email Banner : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerStart</div>
<!--[if ((ie)|(mso))]>
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="padding: 16px 0px 16px 0px; direction: ltr" ><tr><td>
<table border="0" cellspacing="0" cellpadding="0" style="padding: 0px 10px 5px 6px; width: 100%; border-radius:4px; border-top:4px solid #90a4ae;background-color:#D0D8DC;"><tr><td valign="top">
<table align="left" border="0" cellspacing="0" cellpadding="0" style="padding: 4px 8px 4px 8px">
<tr><td style="color:#000000; font-family: 'Arial', sans-serif; font-weight:bold; font-size:14px; direction: ltr">
This Message Is From an External Sender
</td></tr>
<tr><td style="color:#000000; font-weight:normal; font-family: 'Arial', sans-serif; font-size:12px; direction: ltr">
This message came from outside your organization.
</td></tr>
</table>
</td></tr></table>
</td></tr></table>
<![endif]-->
<![if !((ie)|(mso))]>
<div dir="ltr" id="pfptBannerf7eppmm" style="all: revert !important; display:block !important; text-align: left !important; margin:16px 0px 16px 0px !important; padding:8px 16px 8px 16px !important; border-radius: 4px !important; min-width: 200px !important; background-color: #D0D8DC !important; background-color: #D0D8DC; border-top: 4px solid #90a4ae !important; border-top: 4px solid #90a4ae;">
<div id="pfptBannerf7eppmm" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
<div id="pfptBannerf7eppmm" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-weight:bold !important; font-weight:bold; font-size:14px !important; line-height:18px !important; line-height:18px">
This Message Is From an External Sender
</div>
<div id="pfptBannerf7eppmm" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-weight:normal; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-size:12px !important; line-height:18px !important; line-height:18px; margin-top:2px !important;">
This message came from outside your organization.
</div>
</div>
<div style="clear: both !important; display: block !important; visibility: hidden !important; line-height: 0 !important; font-size: 0.01px !important; height: 0px"> </div>
</div>
<![endif]>
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerEnd</div>
<!-- Email Banner : END -->
<!-- BaNnErBlUrFlE-BoDy-end -->
<html><head><!-- BaNnErBlUrFlE-HeAdEr-start -->
<style>
#pfptBannerf7eppmm { all: revert !important; display: block !important;
visibility: visible !important; opacity: 1 !important;
background-color: #D0D8DC !important;
max-width: none !important; max-height: none !important }
.pfptPrimaryButtonf7eppmm:hover, .pfptPrimaryButtonf7eppmm:focus {
background-color: #b4c1c7 !important; }
.pfptPrimaryButtonf7eppmm:active {
background-color: #90a4ae !important; }
</style>
<!-- BaNnErBlUrFlE-HeAdEr-end -->
<meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><br></div> I have added two MR to hopefully improve PETSc usability based on your issues<div><br></div><div><div style="display: block;"><div style="-webkit-user-select: all; -webkit-user-drag: element; display: inline-block;" class="apple-rich-link" draggable="true" role="link" data-url="https://gitlab.com/petsc/petsc/-/merge_requests/7663"><a style="border-radius:10px;font-family:-apple-system, Helvetica, Arial, sans-serif;display:block;-webkit-user-select:none;width:228px;user-select:none;-webkit-user-modify:read-only;user-modify:read-only;overflow:hidden;text-decoration:none;" class="lp-rich-link" rel="nofollow" href="https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/merge_requests/7663__;!!G_uCfscf7eWS!efrDwkgUkc276It23vyi4kUxZ3ieab1AgseqAOCvE-K9-nLNjd6aad4rmdaRExARms_zfeExsNtm5lRx_b5ezSM$" dir="ltr" role="button" draggable="false" width="228"><table style="table-layout:fixed;border-collapse:collapse;width:228px;background-color:#E5E6E9;font-family:-apple-system, Helvetica, Arial, sans-serif;" class="lp-rich-link-emailBaseTable" cellpadding="0" cellspacing="0" border="0" width="228"><tbody><tr><td vertical-align="center" align="center"><img style="width:228px;filter:brightness(0.97);height:228px;" width="228" height="228" draggable="false" class="lp-rich-link-mediaImage" alt="PETSc_RBG-logo.png" src="cid:C72B1AE2-D3B6-48B8-84C5-153A2E1F60DB"></td></tr><tr><td vertical-align="center"><table bgcolor="#E5E6E9" cellpadding="0" cellspacing="0" width="228" style="font-family:-apple-system, Helvetica, Arial, sans-serif;table-layout:fixed;background-color:rgba(229, 230, 233, 1);" class="lp-rich-link-captionBar"><tbody><tr><td style="padding:8px 0px 8px 0px;" class="lp-rich-link-captionBar-textStackItem"><div style="max-width:100%;margin:0px 16px 0px 16px;overflow:hidden;" class="lp-rich-link-captionBar-textStack"><div style="word-wrap:break-word;font-weight:500;font-size:12px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-topCaption-leading"><a rel="nofollow" href="https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/merge_requests/7663__;!!G_uCfscf7eWS!efrDwkgUkc276It23vyi4kUxZ3ieab1AgseqAOCvE-K9-nLNjd6aad4rmdaRExARms_zfeExsNtm5lRx_b5ezSM$" style="text-decoration: none" draggable="false"><font color="#000000" style="color: rgba(0, 0, 0, 1);">Add information to template Makefile.user indicating what parts can easily be... (!7663) · Merge requests · PETSc / petsc · GitLab</font></a></div><div style="word-wrap:break-word;font-weight:400;font-size:11px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-bottomCaption-leading"><a rel="nofollow" href="https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/merge_requests/7663__;!!G_uCfscf7eWS!efrDwkgUkc276It23vyi4kUxZ3ieab1AgseqAOCvE-K9-nLNjd6aad4rmdaRExARms_zfeExsNtm5lRx_b5ezSM$" style="text-decoration: none" draggable="false"><font color="#3E3E3E" style="color: rgba(0, 0, 0, 0.756863);">gitlab.com</font></a></div></div></td></tr></tbody></table></td></tr></tbody></table></a></div></div> </div><div>to clarify in Makefile.User how to remove the PETSc build compiler flags and</div><div><br></div><div><div style="display: block;"><div style="-webkit-user-select: all; -webkit-user-drag: element; display: inline-block;" class="apple-rich-link" draggable="true" role="link" data-url="https://gitlab.com/petsc/petsc/-/merge_requests/7662"><a style="border-radius:10px;font-family:-apple-system, Helvetica, Arial, sans-serif;display:block;-webkit-user-select:none;width:228px;user-select:none;-webkit-user-modify:read-only;user-modify:read-only;overflow:hidden;text-decoration:none;" class="lp-rich-link" rel="nofollow" href="https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/merge_requests/7662__;!!G_uCfscf7eWS!efrDwkgUkc276It23vyi4kUxZ3ieab1AgseqAOCvE-K9-nLNjd6aad4rmdaRExARms_zfeExsNtm5lRxbVNm9-g$" dir="ltr" role="button" draggable="false" width="228"><table style="table-layout:fixed;border-collapse:collapse;width:228px;background-color:#E5E6E9;font-family:-apple-system, Helvetica, Arial, sans-serif;" class="lp-rich-link-emailBaseTable" cellpadding="0" cellspacing="0" border="0" width="228"><tbody><tr><td vertical-align="center" align="center"><img style="width:228px;filter:brightness(0.97);height:228px;" width="228" height="228" draggable="false" class="lp-rich-link-mediaImage" alt="PETSc_RBG-logo.png" src="cid:DDB3B2DD-5BCC-4E4D-B447-346F36D624E6"></td></tr><tr><td vertical-align="center"><table bgcolor="#E5E6E9" cellpadding="0" cellspacing="0" width="228" style="font-family:-apple-system, Helvetica, Arial, sans-serif;table-layout:fixed;background-color:rgba(229, 230, 233, 1);" class="lp-rich-link-captionBar"><tbody><tr><td style="padding:8px 0px 8px 0px;" class="lp-rich-link-captionBar-textStackItem"><div style="max-width:100%;margin:0px 16px 0px 16px;overflow:hidden;" class="lp-rich-link-captionBar-textStack"><div style="word-wrap:break-word;font-weight:500;font-size:12px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-topCaption-leading"><a rel="nofollow" href="https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/merge_requests/7662__;!!G_uCfscf7eWS!efrDwkgUkc276It23vyi4kUxZ3ieab1AgseqAOCvE-K9-nLNjd6aad4rmdaRExARms_zfeExsNtm5lRxbVNm9-g$" style="text-decoration: none" draggable="false"><font color="#000000" style="color: rgba(0, 0, 0, 1);">Additional documentation in configure for CFLAGS and friends (!7662) · Merge requests · PETSc / petsc · GitLab</font></a></div><div style="word-wrap:break-word;font-weight:400;font-size:11px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-bottomCaption-leading"><a rel="nofollow" href="https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/merge_requests/7662__;!!G_uCfscf7eWS!efrDwkgUkc276It23vyi4kUxZ3ieab1AgseqAOCvE-K9-nLNjd6aad4rmdaRExARms_zfeExsNtm5lRxbVNm9-g$" style="text-decoration: none" draggable="false"><font color="#3E3E3E" style="color: rgba(0, 0, 0, 0.756863);">gitlab.com</font></a></div></div></td></tr></tbody></table></td></tr></tbody></table></a></div></div><div><br></div>additional clarification in the docs for CFLAGS and friends and how they work</div><div><br></div><div>Barry</div><div><br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On Jul 1, 2024, at 12:08 PM, meator <meator.dev@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div>On 7/1/24 5:23 PM, Stefano Zampini wrote:<br><blockquote type="cite"> This is unfortunate. I assume that patching the buildsystem or some<br> other trickery will be necessary if what you're saying is true.<br>I admit it is not so standard, but Satish always opposed this.<br>No need to hack the buildsystem, just use COPTFLAGS, CXXOPTFLAGS and FOPTFLAGS<br></blockquote><br>I will try using *OPTFLAGS, thanks!<br><br><blockquote type="cite">I don't think you should use Makefile.user. That is there as a sort of template/placeholder. The extra variables are not included in a standard usage of pkgconfig, so I don't think this issue is "severe"<br></blockquote><br>This is not a choice I get to make. The users of my package may choose to use PETSc however they want. And /usr/share/petsc/Makefile.user or /usr/share/petsc/CMakeLists.txt are officially supported ways of using PETSc, so deciding to ignore these use cases and leaving junk flags in /usr/lib/pkgconfig/petsc.pc is not tolerable for me.<br><span id="cid:A5DCD356-4E31-4B88-985E-EE5267719B72"><OpenPGP_0x1A14CB3464CBE5BF.asc></span></div></div></blockquote></div><br></div></body></html>