Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
codes
codes
Commits
b073000d
Commit
b073000d
authored
Feb 17, 2014
by
Shane Snyder
Browse files
Update codes-base build to use darshan-util.pc
parent
9a410d55
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
b073000d
...
...
@@ -100,16 +100,6 @@ if test "x${with_darshan}" != "x" ; then
DARSHAN_CFLAGS=`PKG_CONFIG_PATH=${with_darshan}/lib/pkgconfig pkg-config darshan-util --cflags`
AC_SUBST(DARSHAN_LIBS)
AC_SUBST(DARSHAN_CFLAGS)
# darshan_headers="${with_darshan}/include"
# AC_CHECK_FILE([$darshan_headers/darshan-logutils.h],
# AM_CONDITIONAL(USE_DARSHAN, true),
# AC_MSG_ERROR(Could not find darshan-logutils.h at: $darshan_headers))
# DARSHAN_CPPFLAGS="-DUSE_DARSHAN=1 -DDARSHAN_CONFIG_H=\\\"${with_darshan}/include/darshan-util-config.h\\\" -I${with_darshan}/include"
# DARSHAN_LDFLAGS="-L${with_darshan}/lib"
# DARSHAN_LIBS="-ldarshan-util -lz"
# AC_SUBST(DARSHAN_CPPFLAGS)
# AC_SUBST(DARSHAN_LDFLAGS)
# AC_SUBST(DARSHAN_LIBS)
else
AM_CONDITIONAL(USE_DARSHAN, false)
fi
...
...
maint/codes-base.pc.in
View file @
b073000d
...
...
@@ -6,13 +6,12 @@ ross_cflags=@ROSS_CFLAGS@
ross_ldflags=@ROSS_LDFLAGS@
ross_libs=@ROSS_LIBS@
darshan_libs=@DARSHAN_LIBS@
darshan_cflags=@DARSHAN_CPPFLAGS@
darshan_ldflags=@DARSHAN_LDFLAGS@
darshan_cflags=@DARSHAN_CFLAGS@
Name: codes-base
Description: Base functionality for CODES storage simulation
Version: @CODES_BASE_VERSION@
URL: http://trac.mcs.anl.gov/projects/CODES
Requires:
Libs: -L${libdir} -lcodes-base ${ross_ldflags} ${ross_libs}
${darshan_ldflags}
${darshan_libs}
Libs: -L${libdir} -lcodes-base ${ross_ldflags} ${ross_libs} ${darshan_libs}
Cflags: -I${includedir} ${ross_cflags} ${darshan_cflags}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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