You've already forked linux-packaging-mono
Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
parent
e49d6f06c0
commit
536cd135cc
56
external/corert/buildscripts/build-managed.sh
vendored
56
external/corert/buildscripts/build-managed.sh
vendored
@ -21,7 +21,6 @@ prepare_managed_build()
|
||||
ls "$__dotnetclipath/sdk"
|
||||
}
|
||||
|
||||
|
||||
build_managed_corert()
|
||||
{
|
||||
__buildproj=$__ProjectRoot/build.proj
|
||||
@ -50,6 +49,57 @@ build_managed_corert()
|
||||
fi
|
||||
}
|
||||
|
||||
# TODO It's a temporary decision because of there are no armel tizen nuget packages getting published today
|
||||
|
||||
get_official_cross_builds()
|
||||
{
|
||||
if [ $__CrossBuild == 1 ]; then
|
||||
__corefxsite="https://ci.dot.net/job/dotnet_corefx/job/master/view/Official%20Builds/job/"
|
||||
__coreclrsite="https://ci.dot.net/job/dotnet_coreclr/job/master/view/Official%20Builds/job/"
|
||||
__corefxsource=
|
||||
__coreclrsource=
|
||||
__buildtype=
|
||||
if [ $__BuildType = "Debug" ]; then
|
||||
__buildtype="debug"
|
||||
else
|
||||
__buildtype="release"
|
||||
fi
|
||||
case $__BuildArch in
|
||||
arm)
|
||||
;;
|
||||
arm64)
|
||||
;;
|
||||
armel)
|
||||
ID=
|
||||
if [ -e $ROOTFS_DIR/etc/os-release ]; then
|
||||
source $ROOTFS_DIR/etc/os-release
|
||||
fi
|
||||
if [ "$ID" = "tizen" ]; then
|
||||
__corefxsource="tizen_armel_cross_${__buildtype}/lastSuccessfulBuild/artifact/bin/build.tar.gz"
|
||||
__coreclrsource="armel_cross_${__buildtype}_tizen/lastSuccessfulBuild/artifact/bin/Product/Linux.armel.${__BuildType}/libSystem.Globalization.Native.a"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
if [ -n "${__corefxsource}" ]; then
|
||||
wget "${__corefxsite}${__corefxsource}"
|
||||
export BUILDERRORLEVEL=$?
|
||||
if [ $BUILDERRORLEVEL != 0 ]; then
|
||||
exit $BUILDERRORLEVEL
|
||||
fi
|
||||
tar xvf ./build.tar.gz ./System.Native.a
|
||||
mv ./System.Native.a $__ProjectRoot/bin/Product/Linux.${__BuildArch}.${__BuildType}/packaging/publish1/framework
|
||||
rm -rf ./build.tar.gz
|
||||
fi
|
||||
if [ -n ${__coreclrsource} ]; then
|
||||
wget "${__coreclrsite}${__coreclrsource}"
|
||||
export BUILDERRORLEVEL=$?
|
||||
if [ $BUILDERRORLEVEL != 0 ]; then
|
||||
exit $BUILDERRORLEVEL
|
||||
fi
|
||||
mv ./libSystem.Globalization.Native.a $__ProjectRoot/bin/Product/Linux.${__BuildArch}.${__BuildType}/packaging/publish1/framework
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
if $__buildmanaged; then
|
||||
|
||||
@ -61,5 +111,9 @@ if $__buildmanaged; then
|
||||
|
||||
build_managed_corert
|
||||
|
||||
# Get cross builds from official sites
|
||||
|
||||
get_official_cross_builds
|
||||
|
||||
# Build complete
|
||||
fi
|
||||
|
Reference in New Issue
Block a user