File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -187,6 +187,12 @@ else()
187187 set (ABACUS_LIBXC_VERSION "no" )
188188endif ()
189189
190+ if (ENABLE_DFTD4)
191+ set (ABACUS_DFTD4_VERSION "yes (v${dftd4_VERSION} )" )
192+ else ()
193+ set (ABACUS_DFTD4_VERSION "no" )
194+ endif ()
195+
190196# Accelerators
191197if (USE_CUDA AND CUDAToolkit_VERSION)
192198 set (ABACUS_CUDA_VERSION "yes (v${CUDAToolkit_VERSION} )" )
@@ -451,6 +457,7 @@ message(" LibRI = ${ABACUS_LIBRI_VERSION}")
451457if (ENABLE_EXX_DEV)
452458 message (" (EXX developing features enabled)" )
453459endif ()
460+ message (" DFT-D4 = ${ABACUS_DFTD4_VERSION} " )
454461message (" RAPIDJSON = ${ABACUS_RAPIDJSON_VERSION} " )
455462message (" PEXSI = ${ABACUS_PEXSI_VERSION} " )
456463message (" CNPY = ${ABACUS_CNPY_VERSION} " )
Original file line number Diff line number Diff line change 5050#define ABACUS_NEP_VERSION "@ABACUS_NEP_VERSION@"
5151#define ABACUS_TENSORFLOW_VERSION "@ABACUS_TENSORFLOW_VERSION@"
5252
53- // --- Testing & Other Libraries ---
54- #define ABACUS_GTEST_VERSION "@ABACUS_GTEST_VERSION@"
55- #define ABACUS_GOOGLEBENCH_VERSION "@ABACUS_GOOGLEBENCH_VERSION@"
53+ // --- Other Libraries ---
54+ #define ABACUS_DFTD4_VERSION "@ABACUS_DFTD4_VERSION@"
5655#define ABACUS_RAPIDJSON_VERSION "@ABACUS_RAPIDJSON_VERSION@"
5756#define ABACUS_PEXSI_VERSION "@ABACUS_PEXSI_VERSION@"
5857#define ABACUS_CNPY_VERSION "@ABACUS_CNPY_VERSION@"
5958
59+ // --- Testing ---
60+ #define ABACUS_GTEST_VERSION "@ABACUS_GTEST_VERSION@"
61+ #define ABACUS_GOOGLEBENCH_VERSION "@ABACUS_GOOGLEBENCH_VERSION@"
62+
6063#endif // SOURCE_IO_BUILD_INFO_H
Original file line number Diff line number Diff line change @@ -162,15 +162,18 @@ void print_build_info()
162162 print_info (" NEP Support" , ABACUS_NEP_VERSION );
163163 print_info (" TensorFlow Support" , ABACUS_TENSORFLOW_VERSION );
164164
165- // --- 11. Testing & Other Libraries ---
166- print_section (" Testing & Other Libraries" );
167- print_info (" GTest Support" , ABACUS_GTEST_VERSION );
168- print_info (" Google Benchmark" , ABACUS_GOOGLEBENCH_VERSION );
165+ // --- 11. Other Libraries ---
166+ print_section (" Other Libraries" );
167+ print_info (" DFT-D4 Support" , ABACUS_DFTD4_VERSION );
169168 print_info (" RapidJSON Support" , ABACUS_RAPIDJSON_VERSION );
170169 print_info (" PEXSI Support" , ABACUS_PEXSI_VERSION );
171170 print_info (" cnpy Support" , ABACUS_CNPY_VERSION );
172171
173- std::cout << " ----------------------------------------------------" << std::endl;
172+ // --- 11. Testing ---
173+ print_section (" Testing" );
174+ print_info (" GTest Support" , ABACUS_GTEST_VERSION );
175+ print_info (" Google Benchmark" , ABACUS_GOOGLEBENCH_VERSION );
176+
174177 std::cout << std::endl;
175178}
176179
You can’t perform that action at this time.
0 commit comments