Skip to content

Commit

Permalink
Remove guard for big-endian support (#1531)
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth authored Apr 15, 2024
1 parent 4566f1d commit 86ae10b
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 11 deletions.
7 changes: 0 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -722,13 +722,6 @@ if(MALLOC_FAILURE_TESTING)
endif()

TEST_BIG_ENDIAN(BIG_ENDIAN)
if(BIG_ENDIAN)
if(ENABLE_EXPERIMENTAL_BIG_ENDIAN_SUPPORT)
message(STATUS "Continuing with experimental support on big endian platform")
else()
message(FATAL_ERROR "Big Endian is not supported.")
endif()
endif()

if(OPENSSL_NO_SSE2_FOR_TESTING)
add_definitions(-DOPENSSL_NO_SSE2_FOR_TESTING)
Expand Down
1 change: 0 additions & 1 deletion tests/ci/run_cross_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ set(CMAKE_CXX_COMPILER ${SCRATCH_FOLDER}/${TARGET_PLATFORM}/bin/${TARGET_PLATFOR
set(CMAKE_SYSROOT ${SCRATCH_FOLDER}/${TARGET_PLATFORM}/${TARGET_PLATFORM}/sysroot)
set(CMAKE_SYSTEM_INCLUDE_PATH ${SCRATCH_FOLDER}/${TARGET_PLATFORM}/${TARGET_PLATFORM}/sysroot/usr/include)
set(ENABLE_EXPERIMENTAL_BIG_ENDIAN_SUPPORT true)
set(CMAKE_GENERATOR Ninja)
EOF

Expand Down
1 change: 0 additions & 1 deletion tests/docker_images/linux-ppc/ubuntu-x-tools/ppc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ set(CMAKE_CXX_COMPILER /powerpc-unknown-linux-gnu/bin/powerpc-unknown-linux-gnu-
# Specify the sysroot for the target system
set(CMAKE_SYSROOT /powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu/sysroot)
set(CMAKE_GENERATOR Ninja)
set(ENABLE_EXPERIMENTAL_BIG_ENDIAN_SUPPORT true)
1 change: 0 additions & 1 deletion tests/docker_images/linux-ppc64/ubuntu-x-tools/ppc64.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ set(CMAKE_CXX_COMPILER /powerpc64-unknown-linux-gnu/bin/powerpc64-unknown-linux-
# Specify the sysroot for the target system
set(CMAKE_SYSROOT /powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/sysroot/)
set(CMAKE_GENERATOR Ninja)
set(ENABLE_EXPERIMENTAL_BIG_ENDIAN_SUPPORT true)
1 change: 0 additions & 1 deletion tests/docker_images/linux-s390x/ubuntu-x-tools/s390x.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ set(CMAKE_CXX_COMPILER /s390x-ibm-linux-gnu/bin/s390x-ibm-linux-gnu-g++)
# Specify the sysroot for the target system
set(CMAKE_SYSROOT /s390x-ibm-linux-gnu/s390x-ibm-linux-gnu/sysroot)
set(CMAKE_GENERATOR Ninja)
set(ENABLE_EXPERIMENTAL_BIG_ENDIAN_SUPPORT true)

0 comments on commit 86ae10b

Please sign in to comment.