We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1ebd86 commit 354b50dCopy full SHA for 354b50d
1 file changed
pkgs/petsc/petsc.py
@@ -69,6 +69,14 @@ def configure(ctx, stage_args):
69
# must explicitly set --with-debugging=0 to disable debugging
70
conf_lines.append('--with-debugging=%d' % stage_args['debug'])
71
72
+ # Special case, openssl provides ssl
73
+ if 'OPENSSL' in ctx.dependency_dir_vars:
74
+ conf_lines.append('--with-ssl=1')
75
+ conf_lines.append('--with-ssl-dir=${OPENSSL_DIR}')
76
+ else:
77
+ # Disable ssl when not a dependency
78
+ conf_lines.append('--with-ssl=0')
79
+
80
# Special case, --with-blas-dir does not work with OpenBLAS
81
if 'OPENBLAS' in ctx.dependency_dir_vars:
82
if ctx.parameters['platform'] == 'Darwin':
0 commit comments