Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
38
Issues
38
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
codes
codes
Commits
3f7aa3d8
Commit
3f7aa3d8
authored
Jul 16, 2015
by
Jonathan Jenkins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix pkg-config usage
parent
6a6765c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
configure.ac
configure.ac
+3
-1
maint/codes-base.pc.in
maint/codes-base.pc.in
+5
-9
No files found.
configure.ac
View file @
3f7aa3d8
...
...
@@ -78,12 +78,14 @@ PKG_CHECK_MODULES_STATIC([ROSS], [ross], [],
AC_ARG_WITH([darshan],[AS_HELP_STRING([--with-darshan],
[Build with the darshan workload support])],
[use_darshan=yes],[use_darshan=no])
DARSHAN_PKG=
if test "x${use_darshan}" = xyes ; then
PKG_CHECK_MODULES_STATIC([DARSHAN], [darshan-util], [],
[AC_MSG_ERROR([Could not find working darshan installation via pkg-config])])
DARSHAN_PKG=darshan-util
fi
AM_CONDITIONAL(USE_DARSHAN, [test "x${use_darshan}" = xyes])
AC_SUBST(DARSHAN_PKG)
# check for Recorder
AM_CONDITIONAL(USE_RECORDER, true)
...
...
maint/codes-base.pc.in
View file @
3f7aa3d8
...
...
@@ -2,18 +2,14 @@ prefix = @prefix@
exec_prefix = @exec_prefix@
libdir=@libdir@
includedir=@includedir@
ross_cflags=@ROSS_CFLAGS@
ross_ldflags=@ROSS_LDFLAGS@
ross_libs=@ROSS_LIBS@
darshan_libs=@DARSHAN_LIBS@
darshan_cflags=@DARSHAN_CFLAGS@
dumpi_cflags=@DUMPI_CFLAGS@
dumpi_libs=@DUMPI_LIBS@
Name: codes-base
Description: Base functionality for CODES storage simulation
Version: @
CODES_BAS
E_VERSION@
Version: @
PACKAG
E_VERSION@
URL: http://trac.mcs.anl.gov/projects/CODES
Requires:
Libs: -L${libdir} -lcodes-base ${ross_ldflags} ${ross_libs} ${darshan_libs} ${dumpi_libs}
Cflags: -I${includedir} ${ross_cflags} ${darshan_cflags} ${dumpi_cflags}
Requires: ross
Requires.private: @DARSHAN_PKG@
Libs: -L${libdir} -lcodes-base ${dumpi_libs}
Cflags: -I${includedir} ${dumpi_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