Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
darshan
darshan
Commits
5f55032d
Commit
5f55032d
authored
Jul 02, 2020
by
Shane Snyder
Browse files
make --enable-shared required with pydarshan
parent
983828ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
darshan-util/configure
View file @
5f55032d
...
...
@@ -4355,6 +4355,9 @@ DARSHAN_ENABLE_PYDARSHAN=0
# Check whether --enable-pydarshan was given.
if
test
"
${
enable_pydarshan
+set
}
"
=
set
;
then
:
enableval
=
$enable_pydarshan
;
if
test
"x
$enableval
"
=
"xyes"
;
then
if
test
"x
$DARSHAN_ENABLE_SHARED
"
!=
"x1"
;
then
as_fn_error
$?
"--enable-pydarshan requires --enable-shared configure option"
"
$LINENO
"
5
fi
DARSHAN_ENABLE_PYDARSHAN
=
1
DARSHAN_PYDARSHAN_PATH
=
${
darshan_lib_path
}
/pydarshan/lib/python
`
${
PYTHON
}
-c
'import sys; version=sys.version_info[:2]; print("{0}.{1}".format(*version))'
`
/site-packages
ac_config_files
=
"
$ac_config_files
pydarshan-info.py pydarshan-info.sh"
...
...
darshan-util/configure.in
View file @
5f55032d
...
...
@@ -106,6 +106,9 @@ DARSHAN_ENABLE_PYDARSHAN=0
AC_ARG_ENABLE(pydarshan,
[ --enable-pydarshan enables build/install of pydarshan module and tools],
[if test "x$enableval" = "xyes" ; then
if test "x$DARSHAN_ENABLE_SHARED" != "x1" ; then
AC_MSG_ERROR(--enable-pydarshan requires --enable-shared configure option)
fi
DARSHAN_ENABLE_PYDARSHAN=1
DARSHAN_PYDARSHAN_PATH=${darshan_lib_path}/pydarshan/lib/python`${PYTHON} -c 'import sys; version=sys.version_info@<:@:2@:>@; print("{0}.{1}".format(*version))'`/site-packages
AC_CONFIG_FILES([pydarshan-info.py pydarshan-info.sh])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment