summaryrefslogtreecommitdiffstats
path: root/functions.cmake
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-10-23 14:09:13 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2017-10-23 14:09:13 +0000
commit5f8005ef21a4c7bcbb907200b1aa40fbcd404952 (patch)
treeed49924141d71ce702fffa66be98765de053284c /functions.cmake
parentb0dcc42babb064beccb7aaaff4e17a6d7c999465 (diff)
We can now remove the workaround that was not working as we require gcc 6 and c++1z everywhere.
Diffstat (limited to 'functions.cmake')
-rw-r--r--functions.cmake9
1 files changed, 0 insertions, 9 deletions
diff --git a/functions.cmake b/functions.cmake
index f3d28bb1a0f..c0e07c1d362 100644
--- a/functions.cmake
+++ b/functions.cmake
@@ -431,15 +431,6 @@ function(vespa_workaround_gcc_bug_67055 SOURCE_FILE)
endif()
endfunction()
-function(vespa_workaround_set_gcc_march_skylake_avx512_if_supported SOURCE_FILE)
- if(CMAKE_COMPILER_IS_GNUCC)
- execute_process(COMMAND ${CMAKE_CPP_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)
- if (GCC_VERSION VERSION_GREATER "5.2")
- set_source_files_properties(${SOURCE_FILE} PROPERTIES COMPILE_FLAGS -march=skylake-avx512)
- endif()
- endif()
-endfunction()
-
macro(__initialize_module)
# Set a couple of useful variables for this module
set(MODULE_ROOT ${CMAKE_CURRENT_BINARY_DIR})