Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3247 from grondo/hostlist
add hostlist library for encoding/decoding RFC29 hostlists
- Loading branch information
Showing
18 changed files
with
3,642 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
prefix=@prefix@ | ||
exec_prefix=@exec_prefix@ | ||
libdir=@libdir@ | ||
includedir=@includedir@ | ||
|
||
Name: flux-hostlist | ||
Description: Flux Resource Manager Hostlist Library | ||
Version: @PACKAGE_VERSION@ | ||
Libs: -L${libdir} -lflux-hostlist | ||
Cflags: -I${includedir} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ global: | ||
hostlist_*; | ||
__asan*; | ||
local: *; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
AM_CFLAGS = \ | ||
-I$(top_srcdir) \ | ||
$(WARNING_CFLAGS) \ | ||
$(CODE_COVERAGE_CFLAGS) | ||
|
||
AM_LDFLAGS = \ | ||
$(CODE_COVERAGE_LIBS) | ||
|
||
noinst_LTLIBRARIES = \ | ||
libhostlist.la | ||
|
||
fluxinclude_HEADERS = \ | ||
hostlist.h | ||
|
||
libhostlist_la_SOURCES = \ | ||
util.h \ | ||
util.c \ | ||
hostname.h \ | ||
hostname.c \ | ||
hostrange.h \ | ||
hostrange.c \ | ||
hostlist.h \ | ||
hostlist.c | ||
|
||
libhostlist_la_CPPFLAGS = \ | ||
$(AM_CPPFLAGS) | ||
libhostlist_la_LDFLAGS = \ | ||
-avoid-version -module -shared -export-dynamic \ | ||
$(AM_LDFLAGS) | ||
|
||
|
||
TESTS = \ | ||
test_util.t \ | ||
test_hostname.t \ | ||
test_hostrange.t \ | ||
test_hostlist.t | ||
|
||
check_PROGRAMS = \ | ||
$(TESTS) | ||
|
||
TEST_EXTENSIONS = .t | ||
T_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \ | ||
$(top_srcdir)/config/tap-driver.sh | ||
|
||
test_hostname_t_SOURCES = \ | ||
test/hostname.c | ||
test_hostname_t_CPPFLAGS = \ | ||
$(AM_CPPFLAGS) | ||
test_hostname_t_LDADD = \ | ||
$(top_builddir)/src/common/libtap/libtap.la \ | ||
$(top_builddir)/src/common/libhostlist/libhostlist.la | ||
|
||
test_util_t_SOURCES = \ | ||
test/util.c | ||
test_util_t_CPPFLAGS = \ | ||
$(AM_CPPFLAGS) | ||
test_util_t_LDADD = \ | ||
$(top_builddir)/src/common/libtap/libtap.la \ | ||
$(top_builddir)/src/common/libhostlist/libhostlist.la | ||
|
||
test_hostrange_t_SOURCES = \ | ||
test/hostrange.c | ||
test_hostrange_t_CPPFLAGS = \ | ||
$(AM_CPPFLAGS) | ||
test_hostrange_t_LDADD = \ | ||
$(top_builddir)/src/common/libtap/libtap.la \ | ||
$(top_builddir)/src/common/libhostlist/libhostlist.la | ||
|
||
test_hostlist_t_SOURCES = \ | ||
test/hostlist.c | ||
test_hostlist_t_CPPFLAGS = \ | ||
$(AM_CPPFLAGS) | ||
test_hostlist_t_LDADD = \ | ||
$(top_builddir)/src/common/libtap/libtap.la \ | ||
$(top_builddir)/src/common/libhostlist/libhostlist.la |
Oops, something went wrong.