diff options
author | Arnstein Ressem <aressem@yahoo-inc.com> | 2016-10-14 12:47:43 +0000 |
---|---|---|
committer | Arnstein Ressem <aressem@yahoo-inc.com> | 2016-10-14 12:47:43 +0000 |
commit | e89edf777283a0309561acadf3d4bebe174c82a1 (patch) | |
tree | caa70fc2d2629c085926107e9d995acecc9228fb /staging_vespalib | |
parent | 4fd21e20966853f00d5a73ec83bb6927f88df2a0 (diff) |
Add function to only add -mtune=skylake-avx512 for gcc >= 5.3
Diffstat (limited to 'staging_vespalib')
-rw-r--r-- | staging_vespalib/src/vespa/vespalib/hwaccelrated/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/hwaccelrated/CMakeLists.txt b/staging_vespalib/src/vespa/vespalib/hwaccelrated/CMakeLists.txt index 032528482e6..6362cdf6f87 100644 --- a/staging_vespalib/src/vespa/vespalib/hwaccelrated/CMakeLists.txt +++ b/staging_vespalib/src/vespa/vespalib/hwaccelrated/CMakeLists.txt @@ -11,4 +11,4 @@ vespa_add_library(staging_vespalib_vespalib_hwaccelrated OBJECT ) set_source_files_properties(avx.cpp PROPERTIES COMPILE_FLAGS -march=sandybridge) set_source_files_properties(avx2.cpp PROPERTIES COMPILE_FLAGS -march=haswell) -set_source_files_properties(avx512.cpp PROPERTIES COMPILE_FLAGS -march=skylake-avx512) +vespa_workaround_set_gcc_march_skylake_avx512_if_supported(avx512.cpp) |