You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CMakeLists.txt
+5-10Lines changed: 5 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -69,14 +69,14 @@ option(USE_DEPRECATED_IO "THIS OPTION HAS NO EFFECT AND WILL BE REMOVED IN A
69
69
70
70
if(32BIT)
71
71
list(APPEND kinds "r4")
72
+
message(STATUS"Building library with 4-byte real defaults (with mixed precision real support for most modules).")
72
73
endif()
73
74
if(64BIT)
74
75
list(APPEND kinds "r8")
76
+
message(STATUS"Building library with 8-byte real defaults (with mixed precision real support for most modules).")
75
77
endif()
76
78
if(NOT kinds)
77
-
message(STATUS"Single Precision 32BIT: ${32BIT}")
78
-
message(STATUS"Double Precision 64BIT: ${64BIT}")
79
-
message(STATUS"No kind specified, building default double precision (with mixed precision support). Real size will not be included in built library name.")
79
+
message(STATUS"Building library with 8-byte real defaults (with mixed precision 4-byte real support for most modules). Real size will not be included in built library name.")
80
80
endif()
81
81
82
82
# Find dependencies
@@ -272,11 +272,6 @@ if(LARGEFILE)
272
272
list(APPEND fms_defs use_LARGEFILE)
273
273
endif()
274
274
275
-
# Precision-based compiler definitions
276
-
if(32BIT)
277
-
list(APPEND r4_defs OVERLOAD_R4 OVERLOAD_R8)
278
-
endif()
279
-
280
275
# Add platform specific compiler definitions
281
276
if(APPLE)
282
277
list(APPEND fms_defs __APPLE__)
@@ -287,7 +282,7 @@ include(fms_compiler_flags)
287
282
288
283
# If netCDF was not built with HDF5 parallel I/O features, set up the macro -DNO_NC_PARALLEL4
289
284
IF(NOT NetCDF_PARALLEL)
290
-
MESSAGE(WARNING "netCDF was not build with HDF5 parallel I/O features, so collective netcdf io is not allowed")
285
+
MESSAGE(WARNING "netCDF was not build with HDF5 parallel I/O features, so parallel netcdf io is not allowed")
0 commit comments