Skip to content

Commit a5e4cf5

Browse files
committed
updated README
1 parent 7a4e6b7 commit a5e4cf5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ The available SAF-related CMake options (and their default values) are:
9898
-DSAF_BUILD_TESTS=1 # build unit testing program
9999
-DSAF_USE_INTEL_IPP=0 # link and use Intel IPP for the FFT, resampler, etc.
100100
-DSAF_ENABLE_SIMD=0 # enable/disable SSE, AVX, and/or AVX-512 support
101-
-DSAF_USE_FAST_MATH_FLAG=1 # enable the -ffast-math compiler flag on clang/gcc
101+
-DSAF_ENABLE_NETCDF=0 # enable the use of NetCDF (requires external libs)
102+
-DSAF_ENABLE_FAST_MATH_FLAG=1 # enable the -ffast-math compiler flag on clang/gcc
102103
```
103104

104105
If using e.g. **SAF_USE_INTEL_MKL_LP64** as the performance library, note that the default header and library search paths may be overridden [according to your setup](docs/PERFORMANCE_LIBRARY_INSTRUCTIONS.md) with:

framework/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ endif()
361361
if(UNIX)
362362
target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wextra)
363363
endif()
364-
if(SAF_USE_FAST_MATH_FLAG)
364+
if(SAF_ENABLE_FAST_MATH_FLAG)
365365
if((CMAKE_CXX_COMPILER_ID MATCHES "Clang") OR (CMAKE_CXX_COMPILER_ID MATCHES "GNU"))
366366
add_compile_options(-ffast-math)
367367
endif()

0 commit comments

Comments
 (0)