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
Matthieu Dorier
codes
Commits
1a56a92c
Commit
1a56a92c
authored
Nov 21, 2013
by
Shane Snyder
Browse files
fixed linker error caused when not using --with-darshan flag
parent
32e58d09
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
1a56a92c
...
...
@@ -97,7 +97,7 @@ if test "x${with_darshan}" != "x" ; then
AC_CHECK_FILE([$darshan_headers/darshan-io-events.h],
AM_CONDITIONAL(USE_DARSHAN, true),
AC_MSG_ERROR(Could not find darshan-io-events.h at: $darshan_headers))
DARSHAN_CPPFLAGS="-I${with_darshan}/include"
DARSHAN_CPPFLAGS="
-DUSE_DARSHAN=1
-I${with_darshan}/include"
AC_SUBST(DARSHAN_CPPFLAGS)
else
AM_CONDITIONAL(USE_DARSHAN, false)
...
...
src/workload/codes-workload.c
View file @
1a56a92c
...
...
@@ -15,10 +15,17 @@
*/
extern
struct
codes_workload_method
test_workload_method
;
extern
struct
codes_workload_method
bgp_io_workload_method
;
#ifdef USE_DARSHAN
extern
struct
codes_workload_method
darshan_io_workload_method
;
#endif
static
struct
codes_workload_method
*
method_array
[]
=
{
&
test_workload_method
,
&
bgp_io_workload_method
,
&
darshan_io_workload_method
,
NULL
};
{
&
test_workload_method
,
&
bgp_io_workload_method
,
#ifdef USE_DARSHAN
&
darshan_io_workload_method
,
#endif
NULL
};
/* This shim layer is responsible for queueing up reversed operations and
* re-issuing them so that the underlying workload generator method doesn't
...
...
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