From 5c2e13062c8acc91db3f2860f501844efc6e89fa Mon Sep 17 00:00:00 2001 From: Basil Hess Date: Fri, 22 Oct 2021 02:57:07 +0200 Subject: [PATCH] Disable BIKE build on s390x (big endian) (#1115) --- .CMake/alg_support.cmake | 4 ++-- .travis.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.CMake/alg_support.cmake b/.CMake/alg_support.cmake index c24ba6407..db1088735 100644 --- a/.CMake/alg_support.cmake +++ b/.CMake/alg_support.cmake @@ -27,8 +27,8 @@ if(OQS_DIST_X86_64_BUILD OR OQS_USE_AVX2_INSTRUCTIONS) endif() endif() -# BIKE is not supported on Windows and 32-bit ARM -cmake_dependent_option(OQS_ENABLE_KEM_BIKE "Enable BIKE algorithm family" ON "NOT WIN32; NOT ARCH_ARM32v7; NOT ARCH_X86" OFF) +# BIKE is not supported on Windows, 32-bit ARM and S390X (big endian) +cmake_dependent_option(OQS_ENABLE_KEM_BIKE "Enable BIKE algorithm family" ON "NOT WIN32; NOT ARCH_ARM32v7; NOT ARCH_X86; NOT ARCH_S390X" OFF) cmake_dependent_option(OQS_ENABLE_KEM_bike_l1 "" ON "OQS_ENABLE_KEM_BIKE" OFF) cmake_dependent_option(OQS_ENABLE_KEM_bike_l3 "" ON "OQS_ENABLE_KEM_BIKE" OFF) diff --git a/.travis.yml b/.travis.yml index f6cb2f51e..a280490e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,5 +17,5 @@ jobs: compiler: gcc if: NOT branch =~ /^ghactionsonly-/ script: - - mkdir build && cd build && cmake -DOQS_ENABLE_KEM_BIKE=OFF -GNinja .. && cmake -LA .. && ninja + - mkdir build && cd build && cmake -GNinja .. && cmake -LA .. && ninja - cd build & ninja run_tests