diff --git a/pyscf/lib/CMakeLists.txt b/pyscf/lib/CMakeLists.txt index 7e3baf3403..1dc076da21 100644 --- a/pyscf/lib/CMakeLists.txt +++ b/pyscf/lib/CMakeLists.txt @@ -160,8 +160,10 @@ option(USE_QCINT "Using the qcint library (optimized for x86-64) for gaussian in if(BUILD_LIBCINT) set(LIBCINT_GIT https://github.com/sunqm/libcint.git) # libcint is a portable, cross-platform implementation + set(LIBCINT_VERSION v6.1.1) if (USE_QCINT) set(LIBCINT_GIT https://github.com/sunqm/qcint.git) # qcint is an optimized implementation for x86-64 architecture + set(LIBCINT_VERSION v6.1.2) if(NOT BUILD_MARCH_NATIVE) message(WARNING "The BUILD_MARCH_NATIVE option is not specified! qcint may not compile unless you explicitly pass compiler flags that turn on vectorization!") endif() @@ -169,7 +171,7 @@ if(BUILD_LIBCINT) ExternalProject_Add(libcint GIT_REPOSITORY ${LIBCINT_GIT} - GIT_TAG v6.1.1 + GIT_TAG ${LIBCINT_VERSION} PREFIX ${PROJECT_BINARY_DIR}/deps INSTALL_DIR ${PROJECT_SOURCE_DIR}/deps CMAKE_ARGS -DCMAKE_BUILD_TYPE=RELEASE