Skip to content

Commit

Permalink
Enable list_sampler & record_sampler when --enable-ldms-test is given
Browse files Browse the repository at this point in the history
  • Loading branch information
nichamon authored and tom95858 committed Aug 11, 2023
1 parent 9062143 commit 10cf87f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,10 @@ OPTION_DEFAULT_DISABLE([store-app], [ENABLE_STORE_APP])
OPTION_DEFAULT_DISABLE([test_sampler], [ENABLE_TEST_SAMPLER])
OPTION_DEFAULT_DISABLE([list_sampler], [ENABLE_LIST_SAMPLER])
OPTION_DEFAULT_DISABLE([record_sampler], [ENABLE_RECORD_SAMPLER])
dnl test_sampler will also build with --enable-ldms-test
dnl test_sampler, list_sampler and record_sampler will also build with --enable-ldms-test
AM_CONDITIONAL([ENABLE_TEST_SAMPLER_LDMS_TEST], [test "x$ENABLE_LDMS_TEST_FALSE" = "x#" -o "x$ENABLE_TEST_SAMPLER_FALSE" = "x#"])
AM_CONDITIONAL([ENABLE_LIST_SAMPLER_LDMS_TEST], [test "x$ENABLE_LDMS_TEST_FALSE" = "x#" -o "x$ENABLE_LIST_SAMPLER_FALSE" = "x#"])
AM_CONDITIONAL([ENABLE_RECORD_SAMPLER_LDMS_TEST], [test "x$ENABLE_LDMS_TEST_FALSE" = "x#" -o "x$ENABLE_RECORD_SAMPLER_FALSE" = "x#"])
OPTION_DEFAULT_DISABLE([grptest], [ENABLE_GRPTEST])
dnl grptest will also build with --enable-ldms-test
AM_CONDITIONAL([ENABLE_GRPTEST_LDMS_TEST], [test "x$ENABLE_LDMS_TEST_FALSE" = "x#" -o "x$ENABLE_GRPTEST_FALSE" = "x#"])
Expand Down
4 changes: 2 additions & 2 deletions ldms/src/sampler/examples/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ if ENABLE_TEST_SAMPLER_LDMS_TEST
SUBDIRS += test_sampler
endif

if ENABLE_LIST_SAMPLER
if ENABLE_LIST_SAMPLER_LDMS_TEST
SUBDIRS += list_sampler
endif

if ENABLE_RECORD_SAMPLER
if ENABLE_RECORD_SAMPLER_LDMS_TEST
SUBDIRS += record_sampler
endif

0 comments on commit 10cf87f

Please sign in to comment.