Does this really work? Barry's problem-configure from a while back left stuff like this<div><br></div><div>PETSC_-FRAMEWORK_LIB:FILEPATH=PETSC_-FRAMEWORK_LIB-NOTFOUND<br><br>This came from passing --with-opengl-lib="-framework glut -framework opengl" to configure. I don't see the logic above that is going to produce PETSC_GLUT_LIB and PETSC_OPENGL_LIB.<br>
<br></div><div><div class="gmail_quote">On Sun, Aug 26, 2012 at 6:14 PM, Sean Farley <span dir="ltr"><<a href="mailto:sean@mcs.anl.gov" target="_blank">sean@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
# HG changeset patch<br>
# User Sean Farley <<a href="mailto:sean@mcs.anl.gov">sean@mcs.anl.gov</a>><br>
# Date 1345951634 18000<br>
# Node ID 577257bfa0b5538f55d5f81b38628cb3dec0d627<br>
# Parent 63d07634522344a4f6078db68a6e31e1ea6d5d59<br>
cmake: replace invalid characters with underscores<br>
<br>
This seemingly fixes -framework being passed to cmake<br>
<br>
diff --git a/config/PETSc/Configure.py b/config/PETSc/Configure.py<br>
--- a/config/PETSc/Configure.py<br>
+++ b/config/PETSc/Configure.py<br>
@@ -436,11 +436,11 @@<br>
extendby(self.libraries.rt)<br>
extendby(self.compilers.flibs)<br>
extendby(self.compilers.cxxlibs)<br>
extendby(self.compilers.LIBS.split())<br>
for libname in nublast(lib_libs):<br>
- libvar = 'PETSC_' + libname.upper() + '_LIB'<br>
+ libvar = 'PETSC_' + libname.upper().replace('-','').replace(' ','_') + '_LIB'<br>
addpath = ''<br>
for lpath in nublast(lib_paths):<br>
addpath += '"' + str(lpath) + '" '<br>
fd.write('find_library (' + libvar + ' ' + libname + ' HINTS ' + addpath + ')\n')<br>
libvars.append(libvar)<br>
</blockquote></div><br></div>