-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
John Jenkins
committed
Apr 20, 2016
1 parent
18f6754
commit 765932c
Showing
4 changed files
with
97 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# | ||
# Output dist version | ||
# | ||
.phony: distversion | ||
distversion: | ||
@echo $(VERSION) | ||
|
||
# | ||
# Easy way to build unit tests without running them | ||
# | ||
.phony: tests | ||
tests: $(check_PROGRAMS) | ||
|
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,51 @@ | ||
AUTOMAKE_OPTIONS = foreign | ||
ACLOCAL_AMFLAGS = -I m4 | ||
|
||
bin_PROGRAMS = | ||
bin_SCRIPTS = | ||
noinst_LIBRARIES = | ||
noinst_PROGRAMS = | ||
lib_LIBRARIES = | ||
noinst_HEADERS = | ||
TESTS = | ||
XFAIL_TESTS = | ||
check_PROGRAMS = | ||
EXTRA_PROGRAMS = | ||
CLEANFILES = $(bin_SCRIPTS) | ||
MAINTAINERCLEANFILES = | ||
EXTRA_DIST = | ||
BUILT_SOURCES = | ||
include_HEADERS = include/ssg.h | ||
EXTRA_HEADERS = include/ssg-mpi.h | ||
|
||
EXTRA_DIST += prepare.sh | ||
|
||
AM_CPPFLAGS = -I$(top_srcdir)/include | ||
|
||
AM_CFLAGS = | ||
|
||
AM_LIBS = | ||
|
||
if HAVE_MPI | ||
include_HEADERS += include/ssg-mpi.h | ||
endif | ||
|
||
if HAVE_MARGO | ||
include_HEADERS += include/ssg-margo.h | ||
endif | ||
|
||
noinst_HEADERS += \ | ||
ssg-config.h \ | ||
examples/rpc.h | ||
|
||
lib_LIBRARIES += src/libssg.a | ||
src_libssg_a_SOURCES = src/ssg.c | ||
|
||
noinst_PROGRAMS += examples/ssg-example | ||
examples_ssg_example_SOURCES = examples/ssg-example.c examples/rpc.c | ||
examples_ssg_example_LDADD = src/libssg.a | ||
|
||
pkgconfigdir = $(libdir)/pkgconfig | ||
pkgconfig_DATA = maint/ssg.pc | ||
|
||
include Make.rules |
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,29 @@ | ||
/* | ||
* Copyright (c) 2016 UChicago Argonne, LLC | ||
* | ||
* See COPYRIGHT in top-level directory. | ||
*/ | ||
|
||
#pragma once | ||
|
||
// lookup integrated into margo | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
#include <mpi.h> | ||
#include <margo.h> | ||
|
||
#include "ssg.h" | ||
|
||
// a "margo-aware" version of hg_lookup - still looks up everyone in one go | ||
hg_return_t ssg_lookup_margo(ssg_t s, margo_instance_id mid); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
/** | ||
* vim: ft=c sw=4 ts=4 sts=4 tw=80 expandtab | ||
*/ |
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,4 @@ | ||
#!/bin/sh | ||
|
||
echo "Regenerating build files..." | ||
autoreconf -fi |