We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7168e0 commit eafade6Copy full SHA for eafade6
CMakeLists.txt
@@ -140,6 +140,13 @@ if (IqsNative)
140
endif()
141
142
143
+################################################################################
144
+# Enable compiler optimizations to fix GCC performance.
145
146
+if (CMAKE_CXX_COMPILER_ID MATCHES GNU)
147
+ add_compile_options(-O3)
148
+endif()
149
+
150
################################################################################
151
# Locate MKL if it is already configured through Intel (mklvars.sh) scripts.
152
# - Follow the Intel compiler documentation to ensure that all of the
0 commit comments