File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ if(CLR_CMAKE_HOST_OS STREQUAL Linux)
36
36
# "amd64" string. Accept either of the two here.
37
37
if (CMAKE_SYSTEM_PROCESSOR STREQUAL x86_64 OR CMAKE_SYSTEM_PROCESSOR STREQUAL amd64 )
38
38
set (CLR_CMAKE_HOST_UNIX_AMD64 1 )
39
- elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL armv7l )
39
+ elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL armv7l OR CMAKE_SYSTEM_PROCESSOR STREQUAL armv8l )
40
40
set (CLR_CMAKE_HOST_UNIX_ARM 1 )
41
41
set (CLR_CMAKE_HOST_UNIX_ARMV7L 1 )
42
42
elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL arm OR CMAKE_SYSTEM_PROCESSOR STREQUAL armv7-a )
Original file line number Diff line number Diff line change @@ -53,7 +53,8 @@ if(NOT WIN32 AND NOT CLR_CMAKE_TARGET_BROWSER)
53
53
if (CLR_CMAKE_TARGET_ANDROID )
54
54
set (TOOLSET_PREFIX ${ANDROID_TOOLCHAIN_PREFIX} )
55
55
elseif (CMAKE_CROSSCOMPILING AND NOT DEFINED CLR_CROSS_COMPONENTS_BUILD AND (CMAKE_SYSTEM_PROCESSOR STREQUAL armv7l OR
56
- CMAKE_SYSTEM_PROCESSOR STREQUAL aarch64 OR CMAKE_SYSTEM_PROCESSOR STREQUAL arm OR CMAKE_SYSTEM_PROCESSOR STREQUAL s390x ))
56
+ CMAKE_SYSTEM_PROCESSOR STREQUAL aarch64 OR CMAKE_SYSTEM_PROCESSOR STREQUAL arm OR CMAKE_SYSTEM_PROCESSOR STREQUAL s390x OR
57
+ CMAKE_SYSTEM_PROCESSOR STREQUAL armv8l ))
57
58
set (TOOLSET_PREFIX "${TOOLCHAIN} -" )
58
59
else ()
59
60
set (TOOLSET_PREFIX "" )
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ case "$CPUName" in
41
41
arch=x64
42
42
;;
43
43
44
- armv7l)
44
+ armv7l|armv8l )
45
45
if (NAME=" " ; . /etc/os-release; test " $NAME " = " Tizen" ); then
46
46
arch=armel
47
47
else
You can’t perform that action at this time.
0 commit comments