mirror of
https://github.com/paboyle/Grid.git
synced 2025-08-16 03:01:54 +01:00
MPI is now working and passing basic tests. Will start to construct a more sensible test suite shortly
since testing requirements now go beyond what a single Grid_main.cc can do. Will need a more organised src tree for this and will require substantial reorg of build system.
This commit is contained in:
14
Makefile.am
14
Makefile.am
@@ -23,8 +23,20 @@ include_HEADERS = Grid.h\
|
||||
# Test code
|
||||
#
|
||||
bin_PROGRAMS = Grid_main
|
||||
|
||||
extra_sources=
|
||||
if BUILD_COMMS_MPI
|
||||
extra_sources+=Grid_mpi.cc
|
||||
endif
|
||||
if BUILD_COMMS_FAKE
|
||||
extra_sources+=Grid_fake.cc
|
||||
endif
|
||||
if BUILD_COMMS_NONE
|
||||
extra_sources+=Grid_fake.cc
|
||||
endif
|
||||
|
||||
Grid_main_SOURCES = \
|
||||
Grid_main.cc\
|
||||
Grid_fake.cc
|
||||
$(extra_sources)
|
||||
|
||||
Grid_main_LDADD = libGrid.a
|
||||
|
Reference in New Issue
Block a user