Skip to content

Commit ae9f528

Browse files
committed
tidy up
1 parent 86c377b commit ae9f528

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

CMakeLists.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -301,20 +301,20 @@ booleanize01(LIBINT_PROFILE)
301301
# See notes at https://github.com/evaleev/libint/blob/master/INSTALL.md#prerequisites
302302

303303
if (LIBINT2_ENABLE_MPFR)
304-
# mpfr detected at appropriate time for library (CMakeLists.txt.export), but prechecking here
304+
# mpfr detected in CMakeLists.txt.export at appropriate time for library, but prechecking here
305305
find_package(Multiprecision MODULE REQUIRED COMPONENTS gmpxx mpfr)
306306
set(LIBINT_HAS_MPFR 1)
307307
else()
308308
find_package(Multiprecision MODULE REQUIRED COMPONENTS gmpxx)
309309
endif()
310310

311311
get_property(_loc TARGET Multiprecision::gmp PROPERTY LOCATION)
312-
message(STATUS "${Cyan}Found GMP${ColourReset}: ${_loc}")
312+
message(VERBOSE "${Cyan}Found GMP${ColourReset}: ${_loc}")
313313
get_property(_loc TARGET Multiprecision::gmpxx PROPERTY LOCATION)
314-
message(STATUS "${Cyan}Found GMPXX${ColourReset}: ${_loc}")
314+
message(VERBOSE "${Cyan}Found GMPXX${ColourReset}: ${_loc}")
315315
if (TARGET Multiprecision::mpfr)
316316
get_property(_loc TARGET Multiprecision::mpfr PROPERTY LOCATION)
317-
message(STATUS "${Cyan}Found MPFR${ColourReset}: ${_loc} (found version ${MPFR_VERSION})")
317+
message(VERBOSE "${Cyan}Found MPFR${ColourReset}: ${_loc} (found version ${MPFR_VERSION})")
318318
endif()
319319

320320
find_package(Boost 1.57 REQUIRED)

INSTALL.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ The Libint build is structured into three parts:
8686

8787
[^2]: Fortran 2003 compiler to enable Fortran bindings generation.
8888

89-
[^3]: [CMake](https://cmake.org/) 3.16 or higher.
89+
[^3]: [CMake](https://cmake.org/) 3.16 or higher for library; 3.19 or higher for generator/compiler. Certain speciality targets (e.g., pylibint for Windows) may require higher.
9090

91-
[^4]: Since Libint2 v2.8 TODO, the GNU toolchain has been replaced by CMake as the sole buildsystem for the Libint2 compiler, `build_libint`. See [update guide](#GNU-Autotools-Update-Guide).
91+
[^4]: Since Libint2 v2.9 TODO, the GNU toolchain has been replaced by CMake as the sole buildsystem for the Libint2 compiler, `build_libint`. See [update guide](#GNU-Autotools-Update-Guide).
9292

93-
[^5]: Since Libint2 v2.8 TODO, the CMake buildsystem for the exported library has been reworked. See [update guide](#GNU-Autotools-Update-Guide).
93+
[^5]: Since Libint2 v2.9 TODO, the CMake buildsystem for the exported library has been reworked. See [update guide](#GNU-Autotools-Update-Guide).
9494

9595
[^6]: Consuming an installed Libint2 library is simplest with CMake by employing `find_package(Libint2)` and `target_link_libraries(... Libint2::...)` commands. To facilitate consumption outside CMake, pkgconfig files are available for the C interface, and more could be provided.
9696

@@ -102,9 +102,9 @@ The Libint build is structured into three parts:
102102

103103
[^10]: Consuming an installed Libint2 library through a C++11 interface requires the Boost Preprocessor (PP) component. Depending on the library *build* environment, a copy may have been bundled/vendored with the install at `CMAKE_INSTALL_PREFIX/CMAKE_INSTALL_INCLUDEDIR/libint2/boost/`.
104104

105-
[^11]: Building the Libint2 library with C++11 API needs the header-only [Eigen](https://eigen.tuxfamily.org/) library. For the compiled C++11 interface, `Libint2::cxx`, Eigen is actually compiled against, but for the header-only target `Libint2::cxx_ho`, Eigen only sets up the usage dependency. A detectable (either through Eigen3Config.cmake or through location-hinting) system installation is required.
105+
[^11]: Building the Libint2 library with C++11 API needs the header-only [Eigen](https://eigen.tuxfamily.org/) library. For the compiled C++11 interface, `Libint2::int-cxx`, Eigen is actually compiled against, but for the header-only target `Libint2::cxx`, Eigen only sets up the usage dependency. A detectable (either through Eigen3Config.cmake or through location-hinting) system installation is required.
106106

107-
[^12]: Consuming an installed Libint2 library through the compiled C++11 interface, `Libint2::int2-cxx` requires [Eigen](https://eigen.tuxfamily.org/). It is *strongly* recommended that the same installation of Eigen be used both to build and consume the `Libint2::int2-cxx` target, especially as regards configuring BLAS and other backends.
107+
[^12]: Consuming an installed Libint2 library through the compiled C++11 interface, `Libint2::int2-cxx` requires [Eigen](https://eigen.tuxfamily.org/). It is *strongly* recommended that the same installation of Eigen be used both to build and consume the `Libint2::int2-cxx` target, especially as regards configuring BLAS and other backends. See `LIBINT2_LOCAL_Eigen3_FIND`.
108108

109109
[^13]: Building the Libint2 compiler or building the Libint2 library with `-D LIBINT2_ENABLE_MPFR=ON` for high-precision testing requires the [GNU Multiple Precision (GMP)](https://gmplib.org/) library. A detectable system installation is required, and it must include C++ support. For Windows, the [MPIR](https://www.mpir.org) project satisfies the requirement.
110110

@@ -116,9 +116,9 @@ The Libint build is structured into three parts:
116116

117117
[^22]: Python used to process files for Fortran binding.
118118

119-
[^23]: Python headers and interpreter needed for Pybind11 module
119+
[^23]: Python headers and interpreter needed for Pybind11 module.
120120

121-
[^24]: [Pybind11](https://github.com/pybind/pybind11) used to export Libint2 C++11 API into a Python module. If a system installation is not detected, source from 2019 is fetched from GitHub.
121+
[^24]: [Pybind11](https://github.com/pybind/pybind11) used to export Libint2 C++11 API into a Python module. If a system installation is not detected, Valeev-group-tweaked source is fetched from GitHub.
122122

123123
-----------------------------------------------------------------------------
124124

src/lib/libint/CMakeLists.txt.export

+3-3
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ if (LIBINT2_ENABLE_MPFR)
8181
set(LIBINT_HAS_MPFR 1)
8282

8383
get_property(_loc TARGET Multiprecision::gmp PROPERTY LOCATION)
84-
message(STATUS "${Cyan}Found GMP${ColourReset}: ${_loc}")
84+
message(VERBOSE "${Cyan}Found GMP${ColourReset}: ${_loc}")
8585
get_property(_loc TARGET Multiprecision::gmpxx PROPERTY LOCATION)
86-
message(STATUS "${Cyan}Found GMPXX${ColourReset}: ${_loc}")
86+
message(VERBOSE "${Cyan}Found GMPXX${ColourReset}: ${_loc}")
8787
get_property(_loc TARGET Multiprecision::mpfr PROPERTY LOCATION)
88-
message(STATUS "${Cyan}Found MPFR${ColourReset}: ${_loc} (found version ${MPFR_VERSION})")
88+
message(VERBOSE "${Cyan}Found MPFR${ColourReset}: ${_loc} (found version ${MPFR_VERSION})")
8989
endif()
9090

9191
#if (LIBINT2_REQUIRE_CXX_API)

0 commit comments

Comments
 (0)