Skip to content

Commit eb63c0e

Browse files
authored
Remove all-arch condition in tryrun (#121071)
1 parent 0df3870 commit eb63c0e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

eng/native/tryrun.cmake

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ if(DARWIN AND NOT DEFINED ANDROID_BUILD)
7777
else()
7878
message(FATAL_ERROR "Arch is ${TARGET_ARCH_NAME}. Only arm64 or x64 is supported for OSX cross build!")
7979
endif()
80-
elseif(DEFINED ANDROID_BUILD OR TARGET_ARCH_NAME MATCHES "^(armel|arm|armv6|arm64|loongarch64|riscv64|s390x|ppc64le|x86|x64)$" OR FREEBSD OR ILLUMOS OR TIZEN OR HAIKU)
80+
else()
8181
set_cache_value(HAS_POSIX_SEMAPHORES_EXITCODE 0)
8282
set_cache_value(HAVE_CLOCK_MONOTONIC_COARSE_EXITCODE 0)
8383
set_cache_value(HAVE_CLOCK_MONOTONIC_EXITCODE 0)
@@ -125,8 +125,6 @@ elseif(DEFINED ANDROID_BUILD OR TARGET_ARCH_NAME MATCHES "^(armel|arm|armv6|arm6
125125
elseif(ANDROID_BUILD)
126126
set_cache_value(ONE_SHARED_MAPPING_PER_FILEREGION_PER_PROCESS 0)
127127
endif()
128-
elseif(NOT WIN32)
129-
message(FATAL_ERROR "Unsupported platform. OS: ${CMAKE_SYSTEM_NAME}, arch: ${TARGET_ARCH_NAME}")
130128
endif()
131129

132130
if(TARGET_ARCH_NAME MATCHES "^(x86|x64|s390x|armv6|loongarch64|riscv64|ppc64le)$")

0 commit comments

Comments
 (0)