Browse Source

Disable CryptoPP's asm, as Homebrew GCC doesn't like it.

default_compile_flags
vector-of-bool 4 years ago
parent
commit
34aa29feeb
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      tests/deps/use-cryptopp/gcc.tc.jsonc
  2. +1
    -1
      tests/deps/use-cryptopp/msvc.tc.jsonc

+ 1
- 1
tests/deps/use-cryptopp/gcc.tc.jsonc View File

@@ -3,5 +3,5 @@
"cxx_compiler": "g++-9",
"cxx_version": "c++17",
// All required for Crypto++ intrinsics:
"flags": "-msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpclmul -maes -mavx -mavx2 -msha -Wa,-q",
"flags": "-msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpclmul -maes -mavx -mavx2 -msha -Wa,-q -DCRYPTOPP_DISABLE_ASM=1",
}

+ 1
- 1
tests/deps/use-cryptopp/msvc.tc.jsonc View File

@@ -1,4 +1,4 @@
{
"compiler_id": 'msvc',
"flags": "/std:c++17"
"flags": "/std:c++17 /DCRYPTOPP_DISABLE_ASM=1"
}

Loading…
Cancel
Save