You've already forked linux-packaging-mono
Imported Upstream version 5.10.0.69
Former-commit-id: fc39669a0b707dd3c063977486506b6793da2890
This commit is contained in:
parent
d8f8abd549
commit
e2950ec768
3
external/corert/cross/arm/sources.list.jessie
vendored
Normal file
3
external/corert/cross/arm/sources.list.jessie
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
# Debian (sid) # UNSTABLE
|
||||
deb http://ftp.debian.org/debian/ sid main contrib non-free
|
||||
deb-src http://ftp.debian.org/debian/ sid main contrib non-free
|
11
external/corert/cross/arm/sources.list.vivid
vendored
Normal file
11
external/corert/cross/arm/sources.list.vivid
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
deb http://ports.ubuntu.com/ubuntu-ports/ vivid main restricted universe
|
||||
deb-src http://ports.ubuntu.com/ubuntu-ports/ vivid main restricted universe
|
||||
|
||||
deb http://ports.ubuntu.com/ubuntu-ports/ vivid-updates main restricted universe
|
||||
deb-src http://ports.ubuntu.com/ubuntu-ports/ vivid-updates main restricted universe
|
||||
|
||||
deb http://ports.ubuntu.com/ubuntu-ports/ vivid-backports main restricted
|
||||
deb-src http://ports.ubuntu.com/ubuntu-ports/ vivid-backports main restricted
|
||||
|
||||
deb http://ports.ubuntu.com/ubuntu-ports/ vivid-security main restricted universe multiverse
|
||||
deb-src http://ports.ubuntu.com/ubuntu-ports/ vivid-security main restricted universe multiverse
|
11
external/corert/cross/arm/sources.list.wily
vendored
Normal file
11
external/corert/cross/arm/sources.list.wily
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
deb http://ports.ubuntu.com/ubuntu-ports/ wily main restricted universe
|
||||
deb-src http://ports.ubuntu.com/ubuntu-ports/ wily main restricted universe
|
||||
|
||||
deb http://ports.ubuntu.com/ubuntu-ports/ wily-updates main restricted universe
|
||||
deb-src http://ports.ubuntu.com/ubuntu-ports/ wily-updates main restricted universe
|
||||
|
||||
deb http://ports.ubuntu.com/ubuntu-ports/ wily-backports main restricted
|
||||
deb-src http://ports.ubuntu.com/ubuntu-ports/ wily-backports main restricted
|
||||
|
||||
deb http://ports.ubuntu.com/ubuntu-ports/ wily-security main restricted universe multiverse
|
||||
deb-src http://ports.ubuntu.com/ubuntu-ports/ wily-security main restricted universe multiverse
|
11
external/corert/cross/arm/sources.list.xenial
vendored
Normal file
11
external/corert/cross/arm/sources.list.xenial
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
deb http://ports.ubuntu.com/ubuntu-ports/ xenial main restricted universe
|
||||
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial main restricted universe
|
||||
|
||||
deb http://ports.ubuntu.com/ubuntu-ports/ xenial-updates main restricted universe
|
||||
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-updates main restricted universe
|
||||
|
||||
deb http://ports.ubuntu.com/ubuntu-ports/ xenial-backports main restricted
|
||||
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-backports main restricted
|
||||
|
||||
deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted universe multiverse
|
||||
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted universe multiverse
|
46
external/corert/cross/armel/tizen-fetch.sh
vendored
46
external/corert/cross/armel/tizen-fetch.sh
vendored
@@ -51,7 +51,7 @@ if [ ! -d $TMPDIR ]; then
|
||||
mkdir -p $TMPDIR
|
||||
fi
|
||||
|
||||
TIZEN_URL=http://download.tizen.org/releases/weekly/tizen
|
||||
TIZEN_URL=http://download.tizen.org/releases/daily/tizen
|
||||
BUILD_XML=build.xml
|
||||
REPOMD_XML=repomd.xml
|
||||
PRIMARY_XML=primary.xml
|
||||
@@ -120,19 +120,21 @@ fetch_tizen_pkgs_init()
|
||||
|
||||
fetch_tizen_pkgs()
|
||||
{
|
||||
PROFILE=$1
|
||||
PACKAGE_XPATH_TPL='string(//*[local-name()="metadata"]/*[local-name()="package"][*[local-name()="name"][text()="_PKG_"]]/*[local-name()="location"]/@href)'
|
||||
ARCH=$1
|
||||
PACKAGE_XPATH_TPL='string(//*[local-name()="metadata"]/*[local-name()="package"][*[local-name()="name"][text()="_PKG_"]][*[local-name()="arch"][text()="_ARCH_"]]/*[local-name()="location"]/@href)'
|
||||
|
||||
PACKAGE_CHECKSUM_XPATH_TPL='string(//*[local-name()="metadata"]/*[local-name()="package"][*[local-name()="name"][text()="_PKG_"]]/*[local-name()="checksum"]/text())'
|
||||
PACKAGE_CHECKSUM_XPATH_TPL='string(//*[local-name()="metadata"]/*[local-name()="package"][*[local-name()="name"][text()="_PKG_"]][*[local-name()="arch"][text()="_ARCH_"]]/*[local-name()="checksum"]/text())'
|
||||
|
||||
for pkg in ${@:2}
|
||||
do
|
||||
Inform "Fetching... $pkg"
|
||||
XPATH=${PACKAGE_XPATH_TPL/_PKG_/$pkg}
|
||||
XPATH=${XPATH/_ARCH_/$ARCH}
|
||||
Xpath_get $XPATH $TMP_PRIMARY
|
||||
PKG_PATH=$XPATH_RESULT
|
||||
|
||||
XPATH=${PACKAGE_CHECKSUM_XPATH_TPL/_PKG_/$pkg}
|
||||
XPATH=${XPATH/_ARCH_/$ARCH}
|
||||
Xpath_get $XPATH $TMP_PRIMARY
|
||||
CHECKSUM=$XPATH_RESULT
|
||||
|
||||
@@ -142,33 +144,33 @@ fetch_tizen_pkgs()
|
||||
|
||||
Debug "Download $PKG_URL to $PKG_PATH"
|
||||
Fetch $PKG_URL $PKG_PATH true
|
||||
|
||||
|
||||
echo "$CHECKSUM $PKG_PATH" | sha256sum -c - > /dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
Error "Fail to fetch $PKG_URL to $PKG_PATH"
|
||||
Debug "Checksum = $CHECKSUM"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
done
|
||||
}
|
||||
|
||||
Inform "Initialize arm base"
|
||||
fetch_tizen_pkgs_init arm base
|
||||
Inform "fetch base common packages"
|
||||
fetch_tizen_pkgs base gcc glibc glibc-devel linux-glibc-devel
|
||||
Inform "fetch base coreclr packages"
|
||||
fetch_tizen_pkgs base lldb lldb-devel libuuid libuuid-devel libgcc libstdc++ libstdc++-devel
|
||||
Inform "fetch base corefx packages"
|
||||
fetch_tizen_pkgs base libcom_err libcom_err-devel zlib zlib-devel libopenssl libopenssl-devel
|
||||
Inform "Initialize base"
|
||||
fetch_tizen_pkgs_init standard base
|
||||
Inform "fetch common packages"
|
||||
fetch_tizen_pkgs armv7l gcc glibc glibc-devel
|
||||
fetch_tizen_pkgs noarch linux-glibc-devel
|
||||
Inform "fetch coreclr packages"
|
||||
fetch_tizen_pkgs armv7l lldb lldb-devel libuuid libuuid-devel libgcc libstdc++ libstdc++-devel libunwind libunwind-devel
|
||||
Inform "fetch corefx packages"
|
||||
fetch_tizen_pkgs armv7l libcom_err libcom_err-devel zlib zlib-devel libopenssl libopenssl-devel
|
||||
|
||||
Inform "initialize arm mobile"
|
||||
fetch_tizen_pkgs_init arm-wayland mobile
|
||||
Inform "fetch mobile common packages"
|
||||
fetch_tizen_pkgs mobile libicu-devel
|
||||
Inform "fetch mobile coreclr packages"
|
||||
fetch_tizen_pkgs mobile libunwind libunwind-devel tizen-release
|
||||
Inform "fetch mobile corefx packages"
|
||||
fetch_tizen_pkgs mobile gssdp gssdp-devel krb5 krb5-devel libcurl libcurl-devel
|
||||
Inform "Initialize unified"
|
||||
fetch_tizen_pkgs_init standard unified
|
||||
Inform "fetch common packages"
|
||||
fetch_tizen_pkgs armv7l libicu icu libicu-devel
|
||||
Inform "fetch coreclr packages"
|
||||
fetch_tizen_pkgs armv7l tizen-release
|
||||
Inform "fetch corefx packages"
|
||||
fetch_tizen_pkgs armv7l gssdp gssdp-devel krb5 krb5-devel libcurl libcurl-devel
|
||||
|
||||
|
||||
|
15
external/corert/cross/armel/tizen/tizen.patch
vendored
15
external/corert/cross/armel/tizen/tizen.patch
vendored
@@ -16,18 +16,3 @@ diff -u -r a/usr/lib/libpthread.so b/usr/lib/libpthread.so
|
||||
OUTPUT_FORMAT(elf32-littlearm)
|
||||
-GROUP ( /lib/libpthread.so.0 /usr/lib/libpthread_nonshared.a )
|
||||
+GROUP ( libpthread.so.0 libpthread_nonshared.a )
|
||||
diff -u -r a/usr/lib/libpthread.so b/usr/lib/libpthread.so
|
||||
--- a/etc/os-release 2016-10-17 23:39:36.000000000 +0900
|
||||
+++ b/etc/os-release 2017-01-05 14:34:39.099867682 +0900
|
||||
@@ -1,7 +1,7 @@
|
||||
NAME=Tizen
|
||||
-VERSION="3.0.0 (Tizen3/Mobile)"
|
||||
+VERSION="4.0.0 (Tizen4/Mobile)"
|
||||
ID=tizen
|
||||
-VERSION_ID=3.0.0
|
||||
-PRETTY_NAME="Tizen 3.0.0 (Tizen3/Mobile)"
|
||||
+VERSION_ID=4.0.0
|
||||
+PRETTY_NAME="Tizen 4.0.0 (Tizen4/Mobile)"
|
||||
ANSI_COLOR="0;36"
|
||||
-CPE_NAME="cpe:/o:tizen:tizen:3.0.0"
|
||||
+CPE_NAME="cpe:/o:tizen:tizen:4.0.0"
|
||||
|
6
external/corert/cross/armel/toolchain.cmake
vendored
6
external/corert/cross/armel/toolchain.cmake
vendored
@@ -23,11 +23,11 @@ set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -target ${TOOLCHAIN}")
|
||||
set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} --sysroot=${CROSS_ROOTFS}")
|
||||
|
||||
if("$ENV{__DistroRid}" MATCHES "tizen.*")
|
||||
add_compile_options(-I$ENV{ROOTFS_DIR}/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include/c++/)
|
||||
add_compile_options(-I$ENV{ROOTFS_DIR}/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include/c++/armv7l-tizen-linux-gnueabi)
|
||||
set(TIZEN_TOOLCHAIN "armv7l-tizen-linux-gnueabi/6.2.1")
|
||||
add_compile_options(-I$ENV{ROOTFS_DIR}/usr/lib/gcc/${TIZEN_TOOLCHAIN}/include/c++/)
|
||||
add_compile_options(-I$ENV{ROOTFS_DIR}/usr/lib/gcc/${TIZEN_TOOLCHAIN}/include/c++/armv7l-tizen-linux-gnueabi)
|
||||
add_compile_options(-Wno-deprecated-declarations) # compile-time option
|
||||
add_compile_options(-D__extern_always_inline=inline)
|
||||
set(TIZEN_TOOLCHAIN "armv7l-tizen-linux-gnueabi/4.9.2")
|
||||
set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -B${CROSS_ROOTFS}/usr/lib/gcc/${TIZEN_TOOLCHAIN}")
|
||||
set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -L${CROSS_ROOTFS}/usr/lib/gcc/${TIZEN_TOOLCHAIN}")
|
||||
else()
|
||||
|
46
external/corert/cross/build-rootfs.sh
vendored
46
external/corert/cross/build-rootfs.sh
vendored
@@ -2,12 +2,14 @@
|
||||
|
||||
usage()
|
||||
{
|
||||
echo "Usage: $0 [BuildArch]"
|
||||
echo "BuildArch can be: arm, arm64"
|
||||
|
||||
echo "Usage: $0 [BuildArch] [LinuxCodeName] [cross]"
|
||||
echo "BuildArch can be: arm(default), armel, arm64, x86"
|
||||
echo "LinuxCodeName - optional, Code name for Linux, can be: trusty(default), vivid, wily, jessie, xenial. If BuildArch is armel, LinuxCodeName is jessie(default) or tizen."
|
||||
echo "cross - optional, it initializes rootfs for cross building, works only for armel tizen now"
|
||||
exit 1
|
||||
}
|
||||
|
||||
__LinuxCodeName=trusty
|
||||
__CrossDir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||
__InitialDir=$PWD
|
||||
__BuildArch=arm
|
||||
@@ -30,14 +32,10 @@ for i in "$@"
|
||||
arm)
|
||||
__BuildArch=arm
|
||||
__UbuntuArch=armhf
|
||||
__UbuntuRepo="http://ports.ubuntu.com/"
|
||||
__UbuntuPackages="build-essential lldb-3.6-dev libunwind8-dev gettext symlinks liblttng-ust-dev libicu-dev"
|
||||
__MachineTriple=arm-linux-gnueabihf
|
||||
;;
|
||||
arm64)
|
||||
__BuildArch=arm64
|
||||
__UbuntuArch=arm64
|
||||
__UbuntuRepo="http://ports.ubuntu.com/"
|
||||
__UbuntuPackages="build-essential libunwind8-dev gettext symlinks liblttng-ust-dev libicu-dev"
|
||||
__MachineTriple=aarch64-linux-gnu
|
||||
;;
|
||||
@@ -47,6 +45,11 @@ for i in "$@"
|
||||
__UbuntuRepo="http://ftp.debian.org/debian/"
|
||||
__LinuxCodeName=jessie
|
||||
;;
|
||||
x86)
|
||||
__BuildArch=x86
|
||||
__UbuntuArch=i386
|
||||
__UbuntuRepo="http://archive.ubuntu.com/ubuntu/"
|
||||
;;
|
||||
lldb3.6)
|
||||
__LLDB_Package="lldb-3.6-dev"
|
||||
;;
|
||||
@@ -82,6 +85,17 @@ for i in "$@"
|
||||
__UbuntuRepo=
|
||||
__Tizen=tizen
|
||||
;;
|
||||
cross)
|
||||
if [ "$__Tizen" != "tizen" ]; then
|
||||
echo "Cross building rootfs is available only for armel tizen."
|
||||
usage;
|
||||
exit 1;
|
||||
fi
|
||||
# Cross building is available for armel tizen only with x86 rootfs
|
||||
echo Building x86 xenial rootfs for armel tizen cross build...
|
||||
$0 x86 xenial
|
||||
echo Building armel rootfs...
|
||||
;;
|
||||
--skipunmount)
|
||||
__SkipUnmount=1
|
||||
;;
|
||||
@@ -95,7 +109,7 @@ if [ "$__BuildArch" == "armel" ]; then
|
||||
fi
|
||||
|
||||
__RootfsDir="$__CrossDir/rootfs/$__BuildArch"
|
||||
__UbuntuPackages="$__UbuntuPackagesBase $__LLDB_Package"
|
||||
__UbuntuPackages+=" ${__LLDB_Package:-}"
|
||||
|
||||
|
||||
if [[ -n "$ROOTFS_DIR" ]]; then
|
||||
@@ -109,16 +123,22 @@ if [ -d "$__RootfsDir" ]; then
|
||||
rm -rf $__RootfsDir
|
||||
fi
|
||||
|
||||
if [ "$__Tizen" == "tizen" ]; then
|
||||
ROOTFS_DIR=$__RootfsDir $__CrossDir/$__BuildArch/tizen-build-rootfs.sh
|
||||
else
|
||||
qemu-debootstrap --arch $__UbuntuArch trusty $__RootfsDir $__UbuntuRepo
|
||||
cp $__CrossDir/$__BuildArch/sources.list $__RootfsDir/etc/apt/sources.list
|
||||
|
||||
if [[ -n $__LinuxCodeName ]]; then
|
||||
qemu-debootstrap --arch $__UbuntuArch $__LinuxCodeName $__RootfsDir $__UbuntuRepo
|
||||
cp $__CrossDir/$__BuildArch/sources.list.$__LinuxCodeName $__RootfsDir/etc/apt/sources.list
|
||||
chroot $__RootfsDir apt-get update
|
||||
chroot $__RootfsDir apt-get -f -y install
|
||||
chroot $__RootfsDir apt-get -y install $__UbuntuPackages
|
||||
chroot $__RootfsDir symlinks -cr /usr
|
||||
|
||||
if [ $__SkipUnmount == 0 ]; then
|
||||
umount $__RootfsDir/*
|
||||
fi
|
||||
elif [ "$__Tizen" == "tizen" ]; then
|
||||
ROOTFS_DIR=$__RootfsDir $__CrossDir/$__BuildArch/tizen-build-rootfs.sh
|
||||
else
|
||||
echo "Unsupported target platform."
|
||||
usage;
|
||||
exit 1
|
||||
fi
|
||||
|
11
external/corert/cross/x86/sources.list.trusty
vendored
Normal file
11
external/corert/cross/x86/sources.list.trusty
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe
|
||||
deb-src http://archive.ubuntu.com/ubuntu/ trusty main restricted universe
|
||||
|
||||
deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe
|
||||
deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe
|
||||
|
||||
deb http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted
|
||||
deb-src http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted
|
||||
|
||||
deb http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
|
||||
deb-src http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
|
11
external/corert/cross/x86/sources.list.vivid
vendored
Normal file
11
external/corert/cross/x86/sources.list.vivid
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
deb http://archive.ubuntu.com/ubuntu/ vivid main restricted universe
|
||||
deb-src http://archive.ubuntu.com/ubuntu/ vivid main restricted universe
|
||||
|
||||
deb http://archive.ubuntu.com/ubuntu/ vivid-updates main restricted universe
|
||||
deb-src http://archive.ubuntu.com/ubuntu/ vivid-updates main restricted universe
|
||||
|
||||
deb http://archive.ubuntu.com/ubuntu/ vivid-backports main restricted
|
||||
deb-src http://archive.ubuntu.com/ubuntu/ vivid-backports main restricted
|
||||
|
||||
deb http://archive.ubuntu.com/ubuntu/ vivid-security main restricted universe multiverse
|
||||
deb-src http://archive.ubuntu.com/ubuntu/ vivid-security main restricted universe multiverse
|
11
external/corert/cross/x86/sources.list.wily
vendored
Normal file
11
external/corert/cross/x86/sources.list.wily
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
deb http://archive.ubuntu.com/ubuntu/ wily main restricted universe
|
||||
deb-src http://archive.ubuntu.com/ubuntu/ wily main restricted universe
|
||||
|
||||
deb http://archive.ubuntu.com/ubuntu/ wily-updates main restricted universe
|
||||
deb-src http://archive.ubuntu.com/ubuntu/ wily-updates main restricted universe
|
||||
|
||||
deb http://archive.ubuntu.com/ubuntu/ wily-backports main restricted
|
||||
deb-src http://archive.ubuntu.com/ubuntu/ wily-backports main restricted
|
||||
|
||||
deb http://archive.ubuntu.com/ubuntu/ wily-security main restricted universe multiverse
|
||||
deb-src http://archive.ubuntu.com/ubuntu/ wily-security main restricted universe multiverse
|
11
external/corert/cross/x86/sources.list.xenial
vendored
Normal file
11
external/corert/cross/x86/sources.list.xenial
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe
|
||||
deb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted universe
|
||||
|
||||
deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe
|
||||
deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe
|
||||
|
||||
deb http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted
|
||||
deb-src http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted
|
||||
|
||||
deb http://archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
|
||||
deb-src http://archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
|
39
external/corert/cross/x86/toolchain.cmake
vendored
Normal file
39
external/corert/cross/x86/toolchain.cmake
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
set(CROSS_ROOTFS $ENV{ROOTFS_DIR})
|
||||
|
||||
set(CMAKE_SYSTEM_NAME Linux)
|
||||
set(CMAKE_SYSTEM_PROCESSOR i686)
|
||||
|
||||
add_compile_options("-m32")
|
||||
add_compile_options("--sysroot=${CROSS_ROOTFS}")
|
||||
add_compile_options("-Wno-error=unused-command-line-argument")
|
||||
|
||||
set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} --sysroot=${CROSS_ROOTFS}")
|
||||
set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -B ${CROSS_ROOTFS}/usr/lib/gcc/i686-linux-gnu")
|
||||
set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -L${CROSS_ROOTFS}/lib/i386-linux-gnu")
|
||||
set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -m32")
|
||||
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${CROSS_LINK_FLAGS}" CACHE STRING "" FORCE)
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${CROSS_LINK_FLAGS}" CACHE STRING "" FORCE)
|
||||
set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${CROSS_LINK_FLAGS}" CACHE STRING "" FORCE)
|
||||
|
||||
set(CMAKE_FIND_ROOT_PATH "${CROSS_ROOTFS}")
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
|
||||
|
||||
set(LLVM_CROSS_DIR "$ENV{LLVM_CROSS_HOME}")
|
||||
if(LLVM_CROSS_DIR)
|
||||
set(WITH_LLDB_LIBS "${LLVM_CROSS_DIR}/lib/" CACHE STRING "")
|
||||
set(WITH_LLDB_INCLUDES "${LLVM_CROSS_DIR}/include" CACHE STRING "")
|
||||
set(LLDB_H "${WITH_LLDB_INCLUDES}" CACHE STRING "")
|
||||
set(LLDB "${LLVM_CROSS_DIR}/lib/liblldb.so" CACHE STRING "")
|
||||
else()
|
||||
set(WITH_LLDB_LIBS "${CROSS_ROOTFS}/usr/lib/i386-linux-gnu" CACHE STRING "")
|
||||
set(CHECK_LLVM_DIR "${CROSS_ROOTFS}/usr/lib/llvm-3.8/include")
|
||||
if(EXISTS "${CHECK_LLVM_DIR}" AND IS_DIRECTORY "${CHECK_LLVM_DIR}")
|
||||
set(WITH_LLDB_INCLUDES "${CHECK_LLVM_DIR}")
|
||||
else()
|
||||
set(WITH_LLDB_INCLUDES "${CROSS_ROOTFS}/usr/lib/llvm-3.6/include")
|
||||
endif()
|
||||
endif()
|
127
external/corert/cross/x86/tryrun.cmake
vendored
Normal file
127
external/corert/cross/x86/tryrun.cmake
vendored
Normal file
@@ -0,0 +1,127 @@
|
||||
SET( REALPATH_SUPPORTS_NONEXISTENT_FILES_EXITCODE
|
||||
1
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( SSCANF_SUPPORT_ll_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( SSCANF_CANNOT_HANDLE_MISSING_EXPONENT_EXITCODE
|
||||
1
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_LARGE_SNPRINTF_SUPPORT_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_SCHED_GET_PRIORITY_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_WORKING_GETTIMEOFDAY_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_WORKING_CLOCK_GETTIME_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_CLOCK_MONOTONIC_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_MMAP_DEV_ZERO_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( ONE_SHARED_MAPPING_PER_FILEREGION_PER_PROCESS_EXITCODE
|
||||
1
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( PTHREAD_CREATE_MODIFIES_ERRNO_EXITCODE
|
||||
1
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( SEM_INIT_MODIFIES_ERRNO_EXITCODE
|
||||
1
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_COMPATIBLE_ACOS_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_COMPATIBLE_ASIN_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_COMPATIBLE_POW_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_VALID_NEGATIVE_INF_POW_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_VALID_POSITIVE_INF_POW_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_COMPATIBLE_ATAN2_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_COMPATIBLE_LOG_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_COMPATIBLE_LOG10_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( UNGETC_NOT_RETURN_EOF_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAS_POSIX_SEMAPHORES_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( GETPWUID_R_SETS_ERRNO_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( FILE_OPS_CHECK_FERROR_OF_PREVIOUS_CALL_EXITCODE
|
||||
1
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_CLOCK_THREAD_CPUTIME_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_SCHED_GETCPU_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_CLOCK_MONOTONIC_COARSE_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_PROCFS_CTL_EXITCODE
|
||||
1
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_PROCFS_MAPS_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_PROCFS_STAT_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_PROCFS_STATUS_EXITCODE
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
||||
|
||||
SET( HAVE_FUNCTIONAL_PTHREAD_ROBUST_MUTEXES
|
||||
0
|
||||
CACHE STRING "Result from TRY_RUN" FORCE)
|
Reference in New Issue
Block a user