Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The documentation says that the 'test' target exists, yet make can't find tests: make: don't know how to make test. Sto #1492

Open
yurivict opened this issue Jan 18, 2025 · 0 comments

Comments

@yurivict
Copy link

The documentation here says that the 'test' target exists.

We configue axom with these cmake arguments:
-DCONDUIT_DIR=/usr/local -DHDF5_DIR=/usr/local -DBLT_CXX_STD=c++14 -DLUA_DIR=/usr/local -DFREEBSD_LUA_VER_STR=54 -DFREEBSD_LUA_VER=5.4 -DMFEM_DIR=/usr/local -DENABLE_MPI=ON -DENABLE_OPENMP:BOOL=false -DCMAKE_C_COMPILER:STRING="cc" -DCMAKE_CXX_COMPILER:STRING="c++" -DCMAKE_C_FLAGS:STRING="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " -DCMAKE_C_FLAGS_DEBUG:STRING="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " -DCMAKE_C_FLAGS_RELEASE:STRING="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG" -DCMAKE_CXX_FLAGS:STRING="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " -DCMAKE_CXX_FLAGS_DEBUG:STRING="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " -DCMAKE_CXX_FLAGS_RELEASE:STRING="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG" -DCMAKE_EXE_LINKER_FLAGS:STRING=" -lexecinfo -fstack-protector-strong " -DCMAKE_MODULE_LINKER_FLAGS:STRING=" -lexecinfo -fstack-protector-strong " -DCMAKE_SHARED_LINKER_FLAGS:STRING=" -lexecinfo -fstack-protector-strong " -DCMAKE_INSTALL_PREFIX:PATH="/usr/local" -DCMAKE_AUTOGEN_PARALLEL:STRING="7" -DCMAKE_BUILD_TYPE:STRING="Release" -DTHREADS_HAVE_PTHREAD_ARG:BOOL=YES -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=YES -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DFETCHCONTENT_FULLY_DISCONNECTED:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DAXOM_ENABLE_DOCS:BOOL=OFF -DAXOM_ENABLE_EXAMPLES:BOOL=OFF -DAXOM_ENABLE_TESTS:BOOL=OFF -DAXOM_ENABLE_EXAMPLES:BOOL=OFF -DMPIEXEC_EXECUTABLE:FILEPATH="/usr/local/bin/mpiexec" -DMPI_HOME:PATH="/usr/local"

Then we build axom.

Then we re-configure:
cd /usr/ports/science/axom/work/.build && /usr/bin/env -i HOME=/usr/ports/science/axom/work MACHINE_ARCH=amd64 PWD="${PWD}" GIT_CEILING_DIRECTORIES=/usr/ports/science/axom/work __MAKE_CONF=/nonexistent OSVERSION=1402501 PATH=/usr/local/libexec/ccache:/usr/ports/science/axom/work/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin TERM=xterm-256color XDG_DATA_HOME=/usr/ports/science/axom/work XDG_CONFIG_HOME=/usr/ports/science/axom/work XDG_CACHE_HOME=/usr/ports/science/axom/work/.cache HOME=/usr/ports/science/axom/work PATH=/usr/local/libexec/ccache:/usr/ports/science/axom/work/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/usr/ports/science/axom/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/tmp/.ccache" /usr/local/bin/cmake -DCONDUIT_DIR=/usr/local -DHDF5_DIR=/usr/local -DBLT_CXX_STD=c++14 -DLUA_DIR=/usr/local -DFREEBSD_LUA_VER_STR=54 -DFREEBSD_LUA_VER=5.4 -DMFEM_DIR=/usr/local -DENABLE_MPI=ON -DENABLE_OPENMP:BOOL=false -DCMAKE_C_COMPILER:STRING="cc" -DCMAKE_CXX_COMPILER:STRING="c++" -DCMAKE_C_FLAGS:STRING="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " -DCMAKE_C_FLAGS_DEBUG:STRING="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " -DCMAKE_C_FLAGS_RELEASE:STRING="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG" -DCMAKE_CXX_FLAGS:STRING="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " -DCMAKE_CXX_FLAGS_DEBUG:STRING="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " -DCMAKE_CXX_FLAGS_RELEASE:STRING="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG" -DCMAKE_EXE_LINKER_FLAGS:STRING=" -lexecinfo -fstack-protector-strong " -DCMAKE_MODULE_LINKER_FLAGS:STRING=" -lexecinfo -fstack-protector-strong " -DCMAKE_SHARED_LINKER_FLAGS:STRING=" -lexecinfo -fstack-protector-strong " -DCMAKE_INSTALL_PREFIX:PATH="/usr/local" -DCMAKE_AUTOGEN_PARALLEL:STRING="7" -DCMAKE_BUILD_TYPE:STRING="Release" -DTHREADS_HAVE_PTHREAD_ARG:BOOL=YES -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=YES -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DFETCHCONTENT_FULLY_DISCONNECTED:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DAXOM_ENABLE_DOCS:BOOL=OFF -DAXOM_ENABLE_EXAMPLES:BOOL=OFF -DAXOM_ENABLE_TESTS:BOOL=OFF -DAXOM_ENABLE_EXAMPLES:BOOL=OFF -DMPIEXEC_EXECUTABLE:FILEPATH="/usr/local/bin/mpiexec" -DMPI_HOME:PATH="/usr/local" -DAXOM_ENABLE_TESTS:BOOL=ON -DAXOM_ENABLE_EXAMPLES:BOOL=ON /usr/ports/science/axom/work/axom-0.10.1/src && /usr/bin/env -i HOME=/usr/ports/science/axom/work MACHINE_ARCH=amd64 PWD="${PWD}" GIT_CEILING_DIRECTORIES=/usr/ports/science/axom/work __MAKE_CONF=/nonexistent OSVERSION=1402501 PATH=/usr/local/libexec/ccache:/usr/ports/science/axom/work/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin TERM=xterm-256color LUA_MODLIBDIR=/usr/local/lib/lua/5.4 LUA_MODSHAREDIR=/usr/local/share/lua/5.4 LUA_MODDOCSDIR=/usr/local/share/doc/lua54 LUA_INCDIR=/usr/local/include/lua54 LUA_LIBDIR=/usr/local/lib LUA_VER=5.4 LUA_VER_STR=54 XDG_DATA_HOME=/usr/ports/science/axom/work XDG_CONFIG_HOME=/usr/ports/science/axom/work XDG_CACHE_HOME=/usr/ports/science/axom/work/.cache HOME=/usr/ports/science/axom/work PATH=/usr/local/libexec/ccache:/usr/ports/science/axom/work/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/usr/ports/science/axom/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -lexecinfo -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/tmp/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" /usr/bin/make -j7 DESTDIR=/usr/ports/science/axom/work/stage all && /usr/bin/env -i HOME=/usr/ports/science/axom/work MACHINE_ARCH=amd64 PWD="${PWD}" GIT_CEILING_DIRECTORIES=/usr/ports/science/axom/work __MAKE_CONF=/nonexistent OSVERSION=1402501 PATH=/usr/local/libexec/ccache:/usr/ports/science/axom/work/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin TERM=xterm-256color LUA_MODLIBDIR=/usr/local/lib/lua/5.4 LUA_MODSHAREDIR=/usr/local/share/lua/5.4 LUA_MODDOCSDIR=/usr/local/share/doc/lua54 LUA_INCDIR=/usr/local/include/lua54 LUA_LIBDIR=/usr/local/lib LUA_VER=5.4 LUA_VER_STR=54 XDG_DATA_HOME=/usr/ports/science/axom/work XDG_CONFIG_HOME=/usr/ports/science/axom/work XDG_CACHE_HOME=/usr/ports/science/axom/work/.cache HOME=/usr/ports/science/axom/work PATH=/usr/local/libexec/ccache:/usr/ports/science/axom/work/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/usr/ports/science/axom/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -lexecinfo -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/tmp/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" CTEST_PARALLEL_LEVEL=7 /usr/bin/make DESTDIR=/usr/ports/science/axom/work/stage all test

Then we build again.

The make test fails:

make: don't know how to make test. Stop

Version: 0.10.1
FreeBSD 14.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant