summaryrefslogtreecommitdiff
path: root/crosscomponents.cmake
diff options
context:
space:
mode:
authorEgor Chesakov <Egor.Chesakov@microsoft.com>2018-03-27 21:12:56 (GMT)
committerEgor Chesakov <Egor.Chesakov@microsoft.com>2018-03-28 17:33:33 (GMT)
commit4585d5ab0cb0cda434be6cfcb89bd1252d2703b3 (patch)
treea6ecc3bb1ffd54b0d3b109ea0933ae51bb4c0b86 /crosscomponents.cmake
parentdb3bb4314c95d4c18f234267c113d461aaa88f70 (diff)
downloadcoreclr-4585d5ab0cb0cda434be6cfcb89bd1252d2703b3.zip
coreclr-4585d5ab0cb0cda434be6cfcb89bd1252d2703b3.tar.gz
coreclr-4585d5ab0cb0cda434be6cfcb89bd1252d2703b3.tar.bz2
Add crossbitness support to ClrJit:
* Add FEATURE_CROSSBITNESS in crosscomponents.cmake * Exclude mscordaccore mscordbi sos from CLR_CROSS_COMPONENTS_LIST when FEATURE_CROSSBITNESS is defined in crosscomponents.cmake * Introduce target_size_t in src/jit/target.h * Use size_t value in genMov32RelocatableImmediate in src/jit/codegen.h src/jit/codegencommon.cpp * Fix definition/declaration inconsistency for emitter::emitIns_R_I in emitarm.cpp * Zero HiVal when GetTree::SetOper GenTreeLngCon->GetTreeIntCon in src/jit/compiler.hpp * Explicity specify roundUp(expr, TARGET_POINTER_SIZE) * Use target_size_t* target in emitOutputDataSec in src/jit/emit.cpp
Diffstat (limited to 'crosscomponents.cmake')
-rw-r--r--crosscomponents.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/crosscomponents.cmake b/crosscomponents.cmake
index be50ffa..cedb1e2 100644
--- a/crosscomponents.cmake
+++ b/crosscomponents.cmake
@@ -1,12 +1,16 @@
add_definitions(-DCROSS_COMPILE)
+if(CLR_CMAKE_PLATFORM_ARCH_AMD64 AND CLR_CMAKE_TARGET_ARCH_ARM)
+ set(FEATURE_CROSSBITNESS 1)
+endif(CLR_CMAKE_PLATFORM_ARCH_AMD64 AND CLR_CMAKE_TARGET_ARCH_ARM)
+
set (CLR_CROSS_COMPONENTS_LIST
crossgen
clrjit
legacyjit
)
-if(NOT CLR_CMAKE_PLATFORM_LINUX)
+if(NOT CLR_CMAKE_PLATFORM_LINUX AND NOT FEATURE_CROSSBITNESS)
list (APPEND CLR_CROSS_COMPONENTS_LIST
mscordaccore
mscordbi