[RISC-V] Set the HAVE_FUNCTIONAL_PTHREAD_ROBUST_MUTEXES_EXITCOD value to 0 in RISCV64...
authorJongHeonChoi <j-h.choi@samsung.com>
Thu, 21 Sep 2023 16:54:05 +0000 (01:54 +0900)
committerGitHub <noreply@github.com>
Thu, 21 Sep 2023 16:54:05 +0000 (09:54 -0700)
https://github.com/dotnet/runtime/pull/92324

eng/native/tryrun.cmake

index fa38d245994543f74bda6f56f3f41896f071c468..a5a8b51ac6d84d349e2da0f84a9e460fd884fa04 100644 (file)
@@ -180,8 +180,6 @@ else()
   message(FATAL_ERROR "Unsupported platform. OS: ${CMAKE_SYSTEM_NAME}, arch: ${TARGET_ARCH_NAME}")
 endif()
 
-if(TARGET_ARCH_NAME MATCHES "^(x86|x64|s390x|armv6|loongarch64|ppc64le)$")
+if(TARGET_ARCH_NAME MATCHES "^(x86|x64|s390x|armv6|loongarch64|riscv64|ppc64le)$")
   set_cache_value(HAVE_FUNCTIONAL_PTHREAD_ROBUST_MUTEXES_EXITCODE 0)
-elseif (TARGET_ARCH_NAME STREQUAL "riscv64")
-  set_cache_value(HAVE_FUNCTIONAL_PTHREAD_ROBUST_MUTEXES_EXITCODE 1)
 endif()