forked from ofi-cray/cray-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
71 lines (57 loc) · 2.02 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
AM_CFLAGS = -I$(srcdir)/include
ACLOCAL_AMFLAGS = -I config
bin_PROGRAMS = \
performance/multi-node/rdm_mbw_mr \
performance/multi-node/rdm_pingpong \
performance/multi-node/rdm_one_sided \
performance/multi-node/random_access \
performance/single-node/lock_tests \
performance/single-node/builtin_atomic_tests
dist_bin_SCRIPTS = \
scripts/run_cray_tests.py
noinst_LTLIBRARIES = libcraytests.la
libcraytests_la_SOURCES = \
common/ct_utils.c \
common/ct_print_utils.c
################################################################################
# Multi-node sources
################################################################################
performance_multi_node_rdm_mbw_mr_SOURCES = \
performance/multi-node/rdm_mbw_mr.c
performance_multi_node_rdm_mbw_mr_LDADD = libcraytests.la
performance_multi_node_rdm_pingpong_SOURCES = \
performance/multi-node/rdm_pingpong.c
performance_multi_node_rdm_pingpong_LDADD = libcraytests.la
performance_multi_node_rdm_one_sided_SOURCES = \
performance/multi-node/rdm_one_sided.c
performance_multi_node_rdm_one_sided_LDADD = libcraytests.la
performance_multi_node_random_access_SOURCES = \
performance/multi-node/random_access.c
performance_multi_node_random_access_LDADD = libcraytests.la
################################################################################
# Single-node sources
################################################################################
performance_single_node_lock_tests_SOURCES = \
performance/single-node/lock_tests.c
performance_single_node_lock_tests_LDADD = libcraytests.la
performance_single_node_builtin_atomic_tests_SOURCES = \
performance/single-node/builtin_atomic_tests.c
performance_single_node_builtin_atomic_tests_LDADD = libcraytests.la
EXTRA_DIST = \
ct_utils.h \
ct_tbarrier.h \
ct_print_utils.h
if HAVE_PMI
AM_CFLAGS += -lpmi
if HAVE_CRAY_PMI
AM_CFLAGS += -DCRAY_PMI_COLL
endif
endif
if HAVE_PROFILE
AM_CFLAGS += -lprofiler
if HAVE_CPUPROFILE
AM_CFLAGS += -DCPUPROFILE_ENABLED
endif
endif
# test:
# ./scripts/run_cray_tests.py