Skip to content

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
leomccormack committed Apr 3, 2022
1 parent 7a4e6b7 commit a5e4cf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ The available SAF-related CMake options (and their default values) are:
-DSAF_BUILD_TESTS=1 # build unit testing program
-DSAF_USE_INTEL_IPP=0 # link and use Intel IPP for the FFT, resampler, etc.
-DSAF_ENABLE_SIMD=0 # enable/disable SSE, AVX, and/or AVX-512 support
-DSAF_USE_FAST_MATH_FLAG=1 # enable the -ffast-math compiler flag on clang/gcc
-DSAF_ENABLE_NETCDF=0 # enable the use of NetCDF (requires external libs)
-DSAF_ENABLE_FAST_MATH_FLAG=1 # enable the -ffast-math compiler flag on clang/gcc
```

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:
Expand Down
2 changes: 1 addition & 1 deletion framework/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ endif()
if(UNIX)
target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wextra)
endif()
if(SAF_USE_FAST_MATH_FLAG)
if(SAF_ENABLE_FAST_MATH_FLAG)
if((CMAKE_CXX_COMPILER_ID MATCHES "Clang") OR (CMAKE_CXX_COMPILER_ID MATCHES "GNU"))
add_compile_options(-ffast-math)
endif()
Expand Down

0 comments on commit a5e4cf5

Please sign in to comment.