1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-12-22 20:35:44 +01:00

precompile TREXIO Fortran module to execute tests in parallel

This commit is contained in:
q-posev 2021-06-22 17:55:56 +02:00
parent d637f9b738
commit 7293bae058

View File

@ -34,6 +34,7 @@
ACLOCAL_AMFLAGS = -I m4
CLEANFILES = trexio.mod
BUILT_SOURCES = trexio.mod
VERSION_MAJOR = @VERSION_MAJOR@
VERSION_MINOR = @VERSION_MINOR@
@ -100,7 +101,7 @@ TESTS_F = \
TESTS = $(TESTS_C) $(TESTS_F)
check_PROGRAMS = $(TESTS)
# specify common options for all tests
# specify common LDADD options for all tests
LDADD = src/libtrexio.la
# in principal, specifying -no-install (see below) is not mandatory
@ -126,6 +127,8 @@ test_trexio_f = $(srcdir)/tests/trexio_f.f90
$(test_trexio_f): $(trexio_f)
cp $(trexio_f) $(test_trexio_f)
trexio.mod: tests/trexio_f.o
tests_test_f_SOURCES = $(test_trexio_f) tests/test_f.f90
tests_test_f_LDFLAGS = -no-install
@ -154,7 +157,7 @@ if TREXIO_DEVEL
CLEANFILES += $(SOURCES) $(trexio_f) $(trexio_h)
BUILT_SOURCES = $(SOURCES) $(trexio_f) $(test_trexio_f)
BUILT_SOURCES += $(SOURCES) $(trexio_f) $(test_trexio_f)
$(SOURCES): $(trexio_f)