Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQiao <35673267+shushanhf@users.noreply.github.com>2022-01-14 09:33:20 +0300
committerGitHub <noreply@github.com>2022-01-14 09:33:20 +0300
commitb7e0a85ab6111b77ad19a1c2db0dedcedded4940 (patch)
treeeabbb2f0169fc55df55ec94d073888c33f3906ec /eng/native/functions.cmake
parent1ba80f698c85b525545f1a13c02eb405588b0461 (diff)
[LoongArch64] add all the coreclr-build-config files (#62889)
Diffstat (limited to 'eng/native/functions.cmake')
-rw-r--r--eng/native/functions.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/eng/native/functions.cmake b/eng/native/functions.cmake
index 87b4d15734b..4e68a9be01e 100644
--- a/eng/native/functions.cmake
+++ b/eng/native/functions.cmake
@@ -4,7 +4,7 @@ function(clr_unknown_arch)
elseif(CLR_CROSS_COMPONENTS_BUILD)
message(FATAL_ERROR "Only AMD64, I386 host are supported for linux cross-architecture component. Found: ${CMAKE_SYSTEM_PROCESSOR}")
else()
- message(FATAL_ERROR "Only AMD64, ARM64 and ARM are supported. Found: ${CMAKE_SYSTEM_PROCESSOR}")
+ message(FATAL_ERROR "Only AMD64, ARM64, LOONGARCH64 and ARM are supported. Found: ${CMAKE_SYSTEM_PROCESSOR}")
endif()
endfunction()
@@ -94,6 +94,10 @@ function(find_unwind_libs UnwindLibs)
find_library(UNWIND_ARCH NAMES unwind-aarch64)
endif()
+ if(CLR_CMAKE_HOST_ARCH_LOONGARCH64)
+ find_library(UNWIND_ARCH NAMES unwind-loongarch64)
+ endif()
+
if(CLR_CMAKE_HOST_ARCH_AMD64)
find_library(UNWIND_ARCH NAMES unwind-x86_64)
endif()