mirror of https://github.com/QMCPACK/qmcpack.git
cmake only once.
This commit is contained in:
parent
ec1f4dba3b
commit
c44f853d5e
|
@ -286,15 +286,6 @@ CTEST_CONFIGURE(
|
|||
)
|
||||
|
||||
|
||||
IF ( DEFINED CMAKE_TOOLCHAIN_FILE )
|
||||
#need to trigger the cmake configuration twice
|
||||
CTEST_CONFIGURE(
|
||||
BUILD ${CTEST_BINARY_DIRECTORY}
|
||||
SOURCE ${CTEST_SOURCE_DIRECTORY}
|
||||
OPTIONS "${CTEST_OPTIONS}"
|
||||
)
|
||||
ENDIF()
|
||||
|
||||
# Run the configure, build and tests
|
||||
CTEST_BUILD()
|
||||
IF ( USE_VALGRIND )
|
||||
|
|
|
@ -29,7 +29,6 @@ mkdir $folder
|
|||
cd $folder
|
||||
if [ ! -f CMakeCache.txt ] ; then
|
||||
cmake $CMAKE_FLAGS ..
|
||||
cmake $CMAKE_FLAGS ..
|
||||
fi
|
||||
make -j24
|
||||
cd ..
|
||||
|
|
Loading…
Reference in New Issue