summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Balykov <g.balykov@samsung.com>2020-07-14 18:54:53 +0300
committerAlexander Soldatov/AI Compiler Lab /SRR/Staff Engineer/Samsung Electronics <soldatov.a@samsung.com>2020-07-23 16:00:54 +0300
commitc223bcdc33090c8d4de73b61443789184373b59b (patch)
tree5e9ec2b16bfe52570760250fb9104d0602be9127
parentfe59f017c6fd449df2dab61b1d5c85c29336062a (diff)
downloadcoreclr-c223bcdc33090c8d4de73b61443789184373b59b.tar.gz
coreclr-c223bcdc33090c8d4de73b61443789184373b59b.tar.bz2
coreclr-c223bcdc33090c8d4de73b61443789184373b59b.zip
[Tizen] Add flag skipstressdependencies to skip build of x64 specific .so for stress testing
-rwxr-xr-xbuild-test.sh22
1 files changed, 15 insertions, 7 deletions
diff --git a/build-test.sh b/build-test.sh
index 5234e2fb2a..538f0c32c1 100755
--- a/build-test.sh
+++ b/build-test.sh
@@ -154,13 +154,15 @@ generate_layout()
# Make sure to copy over the pulled down packages
cp -r $__BinDir/* $CORE_ROOT/ > /dev/null
- if [ "$__BuildOS" != "OSX" ]; then
- nextCommand="\"$__TestDir/setup-stress-dependencies.sh\" --arch=$__BuildArch --outputDir=$CORE_ROOT"
- echo "Resolve runtime dependences via $nextCommand"
- eval $nextCommand
- if [ $? != 0 ]; then
- echo "${__MsgPrefix}Error: setup-stress-dependencies failed."
- exit 1
+ if [ $__SkipStressDependencies == 0 ]; then
+ if [ "$__BuildOS" != "OSX" ]; then
+ nextCommand="\"$__TestDir/setup-stress-dependencies.sh\" --arch=$__BuildArch --outputDir=$CORE_ROOT"
+ echo "Resolve runtime dependences via $nextCommand"
+ eval $nextCommand
+ if [ $? != 0 ]; then
+ echo "${__MsgPrefix}Error: setup-stress-dependencies failed."
+ exit 1
+ fi
fi
fi
@@ -579,6 +581,7 @@ usage()
echo "msbuildonunsupportedplatform - build managed binaries even if distro is not officially supported."
echo "priority1 - include priority=1 tests in the build"
echo "skipgenerateversion - disable version generation even if MSBuild is supported."
+ echo "skipstressdependencies - disable build of libcoredistools.so for x64."
exit 1
}
@@ -685,6 +688,7 @@ __SkipNative=0
__SkipManaged=0
__SkipConfigure=0
__SkipGenerateVersion=0
+__SkipStressDependencies=0
__ConfigureOnly=0
__CrossBuild=0
__ClangMajorVersion=0
@@ -938,6 +942,10 @@ while :; do
__SkipGenerateVersion=1
;;
+ skipstressdependencies)
+ __SkipStressDependencies=1
+ ;;
+
*)
__UnprocessedBuildArgs+=("$1")
;;