Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
codes
codes
Commits
c49d786a
Commit
c49d786a
authored
Feb 19, 2014
by
Shane Snyder
Browse files
More autoconf changes to support darshan
parent
e58af845
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile.am
View file @
c49d786a
...
...
@@ -36,7 +36,7 @@ include $(top_srcdir)/src/Makefile.subdir
include
$(top_srcdir)/tests/Makefile.subdir
if
USE_DARSHAN
AM_CPPFLAGS
+=
${DARSHAN_CFLAGS}
"
-DUSE_DARSHAN=1
"
AM_CPPFLAGS
+=
${DARSHAN_CFLAGS}
-DUSE_DARSHAN
=
1
src_libcodes_base_a_SOURCES
+=
src/workload/codes-darshan-io-wrkld.c
tests_workload_codes_workload_test_LDADD
+=
${DARSHAN_LIBS}
tests_workload_codes_workload_mpi_replay_LDADD
+=
${DARSHAN_LIBS}
...
...
configure.ac
View file @
c49d786a
...
...
@@ -96,7 +96,7 @@ if test "x${with_darshan}" != "x" ; then
AC_CHECK_FILE([${with_darshan}/lib/pkgconfig/darshan-util.pc],
AM_CONDITIONAL(USE_DARSHAN, true),
AC_MSG_ERROR(Could not find darshan-util.pc))
DARSHAN_LIBS=`PKG_CONFIG_PATH=${with_darshan}/lib/pkgconfig pkg-config darshan-util --libs`
DARSHAN_LIBS=`PKG_CONFIG_PATH=${with_darshan}/lib/pkgconfig pkg-config darshan-util
--static
--libs`
DARSHAN_CFLAGS=`PKG_CONFIG_PATH=${with_darshan}/lib/pkgconfig pkg-config darshan-util --cflags`
AC_SUBST(DARSHAN_LIBS)
AC_SUBST(DARSHAN_CFLAGS)
...
...
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