Browse Source

Merge pull request #1812 from martin-frbg/issue1806-2

Use KERNEL_DEFINITIONS rather than COMMON_OPTS to pass -march=skylake…
tags/v0.3.4
Martin Kroeker GitHub 7 years ago
parent
commit
2263d3906c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      cmake/system.cmake

+ 1
- 2
cmake/system.cmake View File

@@ -43,8 +43,7 @@ endif ()

if (DEFINED TARGET)
if (${TARGET} STREQUAL "SKYLAKEX" AND NOT NO_AVX512)
set (CCOMMON_OPT "${CCOMMON_OPT} -march=skylake-avx512")
set (FCOMMON_OPT "${FCOMMON_OPT} -march=skylake-avx512")
set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -march=skylake-avx512")
endif()
endif()



Loading…
Cancel
Save