Skip to content
Snippets Groups Projects
Commit bf36ad8f authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Update ignore filters for automatic builds

parent 982447e8
No related branches found
No related tags found
No related merge requests found
build/aclocal.m4 build/aclocal.m4
build/autom4te.cache build/autom4te.cache
build/aux/* build/build_aux/*
build/config.* build/config.*
build/configure build/configure
build/configure~ build/configure~
build/cluster/* build/cluster/*
build/error.log
build/libtool build/libtool
build/Makefile build/Makefile
build/Makefile.in build/Makefile.in
...@@ -15,5 +16,5 @@ build/libnptm/* ...@@ -15,5 +16,5 @@ build/libnptm/*
containers/singularity/*.sif containers/singularity/*.sif
doc/build/* doc/build/*
src/*/.deps src/*/.deps
src/*/objects/* src/*/.dirstamp
src/*/dynobjects/* src/*/*.o
\ No newline at end of file
AUTOMAKE_OPTIONS=subdir-objects AUTOMAKE_OPTIONS=subdir-objects
lib_LTLIBRARIES=libnptm.la LDADD=libnptm/libnptm.la -L/usr/lib64 $(HDF5_LDFLAGS)
libnptm_la_SOURCES=../src/libnptm/algebraic.cpp ../src/libnptm/clu_subs.cpp ../src/libnptm/Commons.cpp ../src/libnptm/Configuration.cpp ../src/libnptm/file_io.cpp ../src/libnptm/lapack_calls.cpp ../src/libnptm/logging.cpp ../src/libnptm/magma_calls.cpp ../src/libnptm/Parsers.cpp ../src/libnptm/sph_subs.cpp ../src/libnptm/tfrfme.cpp ../src/libnptm/TransitionMatrix.cpp ../src/libnptm/tra_subs.cpp ../src/libnptm/types.cpp lib_LTLIBRARIES=libnptm/libnptm.la
bin_PROGRAMS=edfb_clu clu np_cluster edfb_sph sph np_sphere frfme lffft np_trapping libnptm_libnptm_la_SOURCES=../src/libnptm/algebraic.cpp ../src/libnptm/clu_subs.cpp ../src/libnptm/Commons.cpp ../src/libnptm/Configuration.cpp ../src/libnptm/file_io.cpp ../src/libnptm/lapack_calls.cpp ../src/libnptm/logging.cpp ../src/libnptm/magma_calls.cpp ../src/libnptm/Parsers.cpp ../src/libnptm/sph_subs.cpp ../src/libnptm/tfrfme.cpp ../src/libnptm/TransitionMatrix.cpp ../src/libnptm/tra_subs.cpp ../src/libnptm/types.cpp
edfb_clu_SOURCES=../src/cluster/edfb_clu.f bin_PROGRAMS=cluster/edfb_clu cluster/clu cluster/np_cluster sphere/edfb_sph sphere/sph sphere/np_sphere trapping/frfme trapping/lffft trapping/np_trapping
clu_SOURCES=../src/cluster/clu.f cluster_edfb_clu_SOURCES=../src/cluster/edfb_clu.f
np_cluster_SOURCES=../src/cluster/np_cluster.cpp ../src/cluster/cluster.cpp cluster_clu_SOURCES=../src/cluster/clu.f
edfb_sph_SOURCES=../src/sphere/edfb_sph.f cluster_np_cluster_SOURCES=../src/cluster/np_cluster.cpp ../src/cluster/cluster.cpp
sph_SOURCES=../src/sphere/sph.f sphere_edfb_sph_SOURCES=../src/sphere/edfb_sph.f
np_sphere_SOURCES=../src/sphere/np_sphere.cpp ../src/sphere/sphere.cpp sphere_sph_SOURCES=../src/sphere/sph.f
frfme_SOURCES=../src/trapping/frfme.f sphere_np_sphere_SOURCES=../src/sphere/np_sphere.cpp ../src/sphere/sphere.cpp
lffft_SOURCES=../src/trapping/lffft.f trapping_frfme_SOURCES=../src/trapping/frfme.f
np_trapping_SOURCES=../src/trapping/np_trapping.cpp ../src/trapping/cfrfme.cpp ../src/trapping/clffft.cpp trapping_lffft_SOURCES=../src/trapping/lffft.f
check_PROGRAMS=test_TEDF test_TTMS trapping_np_trapping_SOURCES=../src/trapping/np_trapping.cpp ../src/trapping/cfrfme.cpp ../src/trapping/clffft.cpp
test_TEDF_SOURCES=../src/testing/test_TEDF.cpp check_PROGRAMS=testing/test_TEDF testing/test_TTMS
test_TTMS_SOURCES=../src/testing/test_TTMS.cpp testing_test_TEDF_SOURCES=../src/testing/test_TEDF.cpp
testing_test_TTMS_SOURCES=../src/testing/test_TTMS.cpp
# CAPABILITY TESTING MACROS # CAPABILITY TESTING MACROS
m4_define(
[M4_HDF5_LIB],
[cat > nptm_test_hdf5.cpp <<EOF
#include <hdf5.h>
int main(int argc, char **argv) {
hid_t file_id = 0;
herr_t status = H5Iis_valid(file_id);
return (int)status;
}
EOF
$CXX -o nptm_test_hdf5 nptm_test_hdf5.cpp -I$HDF5_INCLUDE -L$HDF5_LIB -lhdf5 > /dev/null 2>>error.log
export TEST_HDF5_LIB=$?
rm nptm_test_hdf5.cpp
if test "x$TEST_HDF5_LIB" = "x0"; then
rm nptm_test_hdf5
fi]
)
# END CAPABILITY TESTING MACROS # END CAPABILITY TESTING MACROS
# autoconf setup initialization # autoconf setup initialization
...@@ -9,7 +26,7 @@ AC_INIT([np_tmcode], [8.04], [giovanni.lamura@inaf.it]) ...@@ -9,7 +26,7 @@ AC_INIT([np_tmcode], [8.04], [giovanni.lamura@inaf.it])
AC_CONFIG_SRCDIR([../src/libnptm/TransitionMatrix.cpp]) AC_CONFIG_SRCDIR([../src/libnptm/TransitionMatrix.cpp])
# Auxiliary build folder # Auxiliary build folder
AC_CONFIG_AUX_DIR([aux]) AC_CONFIG_AUX_DIR([build_aux])
# automake initialization # automake initialization
AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AM_INIT_AUTOMAKE([-Wall -Werror foreign])
...@@ -23,14 +40,19 @@ AC_PROG_CXX([mpicxx g++ clang]) ...@@ -23,14 +40,19 @@ AC_PROG_CXX([mpicxx g++ clang])
LT_INIT LT_INIT
# Environment setup # Environment setup
FFLAGS="-std=legacy -O3"
CXXFLAGS="-O3 -ggdb -Wno-format-contains-nul"
SUBDIRS="cluster libnptm sphere testing trapping"
AS_IF( AS_IF(
[test "x$HDF5_INCLUDE" = "x"], [test "x$HDF5_INCLUDE" = "x"],
[export HDF5_INCLUDE=/usr/include/hdf5/serial], [export HDF5_INCLUDE=/usr/include/hdf5/serial],
[AC_MSG_NOTICE(["HDF5_INCLUDE=$HDF5_INCLUDE"])] [AC_MSG_NOTICE(["HDF5_INCLUDE=$HDF5_INCLUDE"])]
) )
AS_IF(
[test "x$HDF5_LIB" = "x"],
[export HDF5_LIB=/usr/lib/x86_64-linux-gnu/hdf5/serial],
[AC_MSG_NOTICE(["HDF5_LIB=$HDF5_LIB"])]
)
FFLAGS="-std=legacy -O3"
CXXFLAGS="-O3 -ggdb -Wno-format-contains-nul -I $HDF5_INCLUDE"
SUBDIRS="cluster libnptm sphere testing trapping"
# Check for required headers # Check for required headers
AC_CHECK_HEADER( AC_CHECK_HEADER(
...@@ -39,6 +61,15 @@ AC_CHECK_HEADER( ...@@ -39,6 +61,15 @@ AC_CHECK_HEADER(
AC_MSG_ERROR(["Could not find HDF5 headers!]), AC_MSG_ERROR(["Could not find HDF5 headers!]),
) )
# Check for required libraries
M4_HDF5_LIB
AS_IF(
[test "x$TEST_HDF5_LIB" = "x0"],
[export HDF5_LDFLAGS="-L${HDF5_LIB} -lhdf5"],
[AC_MSG_ERROR(["HDF5 library not found!"])]
)
AC_SUBST([HDF5_LDFLAGS])
# Send output to Makefiles # Send output to Makefiles
AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([Makefile])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment