Skip to content

Updating to latest #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 104 commits into from
Jan 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
becbc32
Disable hugeexpr1 test under JitStress modes
RussKeldorph Jan 6, 2017
1e63ca0
Update PInvoke inlining restrictions for CoreRT
jkotas Dec 3, 2016
3ac388f
Change fields order in GenTreeBoundsChk.
Jan 7, 2017
c586863
Remove lazy initialization of Task.CompletedTask (#8846)
stephentoub Jan 8, 2017
cc169ea
Remove AVX/SSE transition penalties
Dec 12, 2016
188b465
Fix x86/Linux Release Build Error (#8852)
parjong Jan 9, 2017
727481c
Add two missing #ifdef related with FEATURE_CORRUPTING_EXCEPTIONS (#8…
parjong Jan 9, 2017
ee20dca
Merge pull request #8830 from RussKeldorph/hugeexprx86
RussKeldorph Jan 9, 2017
05327a2
Fix some problems with the ubuntu dasm output
sbomer Nov 30, 2016
b9d79c8
Enable HighEntropyVA in mscorlib.dll
Jan 9, 2017
03444f0
Update CoreClr, CoreFx to beta-24909-02, beta-24909-02, respectively …
dotnet-bot Jan 9, 2017
474e27a
Encapsulate live var analysis in its own class.
pgavlin Jan 9, 2017
53ef803
Fix some comments.
pgavlin Jan 9, 2017
2736139
Format code and improve a function name.
pgavlin Jan 9, 2017
97b9927
Merge pull request #8854 from JohnChen0/heva
Jan 9, 2017
b2c6ab7
Enable PInvoke analyzer for S.P.CoreLib.dll
Jan 9, 2017
f4d2709
Merge pull request #8856 from pgavlin/LVAThroughput
pgavlin Jan 9, 2017
01f8e7d
Merge pull request #8858 from sandreenko/CoreRT-PInvoke
Jan 9, 2017
f8b89a1
JIT: Add BinaryTrees benchmark variant
AndyAyersMS Jan 10, 2017
b6bfb1d
Remove array allocation from CTS.CreateLinkedTokenSource
stephentoub Jan 10, 2017
163983e
Default gcAllowVeryLargeObjects to true (#8853)
mikedn Jan 10, 2017
0fa2c31
Merge pull request #8859 from JohnChen0/pinvoke
Jan 10, 2017
2c866c5
Reduce SeekUnroll iter count
michellemcdaniel Jan 9, 2017
7dd3478
Merge pull request #8861 from adiaaida/updateSeekUnroll
michellemcdaniel Jan 10, 2017
ee9a848
Add x86 Release PR Trigger
michellemcdaniel Jan 10, 2017
4b2c59b
Do not rerun LVA if only live-out has changed.
pgavlin Jan 9, 2017
0252523
Match CoreFX update of arm-softfp -> armel (#8875)
AndyAyersMS Jan 10, 2017
5916343
Merge pull request #8874 from adiaaida/addx86ReleasePRTrigger
michellemcdaniel Jan 10, 2017
414c600
SetReversePInvokeFrameSlot into gcInfo for reversePInvoke
Jan 9, 2017
9cc5505
Format code.
pgavlin Jan 10, 2017
d4e7542
don't copy LclVarDsc
Jan 10, 2017
6fc1618
Simplify HeapPhiArg
JosephTremoulet Dec 30, 2016
933257e
remove unnecessary check in CalleeSavedFltRegs
Jan 10, 2017
ec54d18
Merge pull request #8867 from AndyAyersMS/BinaryTreesVariant
AndyAyersMS Jan 10, 2017
8acbaf9
Fix handling of PutArgStk
CarolEidt Jan 10, 2017
c6c5b6c
Merge pull request #8876 from pgavlin/LVAThroughput
pgavlin Jan 10, 2017
3fdc10a
fix format error
Jan 10, 2017
589bf0a
Updates based on PR review.
CarolEidt Jan 10, 2017
7bb5229
[x86/Linux] Introduce UNIX_X86_ABI definition (#8863)
seanshpark Jan 10, 2017
b1586fb
[x86/Linux] Fix generic context(hidden arg) position (#8848)
seanshpark Jan 10, 2017
09c95bf
Merge pull request #8881 from CarolEidt/FixPutArgStk
CarolEidt Jan 11, 2017
2fc4478
[x86/Linux] Fix WIN64EXCEPTIONS build error (#8629)
parjong Jan 11, 2017
c0627f8
rename, use getSIMDInstructionSet()
Jan 11, 2017
decdf7d
Add Microsoft.NETCore.Native package (2nd attempt) (#8882)
Jan 11, 2017
8adfff0
Merge pull request #8862 from sandreenko/ReversePInvoke-encoding-in-gc
Jan 11, 2017
f2a2d9e
JIT: Finally Optimizations
AndyAyersMS Dec 1, 2016
ec2f1de
fix comments, assertion failure in crossgen mscorlib
Jan 11, 2017
eecbbbf
fix format error
Jan 11, 2017
b2b63a8
Merge pull request #8868 from stephentoub/linkedcts_array
stephentoub Jan 11, 2017
1eef9df
Fix deserialization of EnumEqualityComparer
stephentoub Jan 11, 2017
bf04736
[ARM32/Linux] Fix cross-architecture build error: T_CONTEXT (#8888)
hseok-oh Jan 11, 2017
b345a55
Merge pull request #8892 from stephentoub/enumeq_ser
stephentoub Jan 11, 2017
f00766b
Add parameterless overloads of TrimStart/TrimEnd (#8834)
Jan 11, 2017
fb3270f
Merge pull request #8880 from JosephTremoulet/SimplifyHeapPhiArg
JosephTremoulet Jan 11, 2017
fd96716
Fix #8860.
pgavlin Jan 11, 2017
5b24a58
Fix the GC total memory test.
pgavlin Jan 11, 2017
c516432
Copy lvExactSize to shadowVar
michellemcdaniel Jan 11, 2017
334cf4e
Remove bogus fgCurHeapDef guard
JosephTremoulet Jan 11, 2017
c3673af
Merge pull request #8551 from AndyAyersMS/FinallyCloning
AndyAyersMS Jan 11, 2017
baa9980
Merge pull request #8570 from sbomer/dasm_automation
sbomer Jan 11, 2017
0bedde3
Initial implementation of two field span.
jkotas Dec 7, 2016
8c5993d
Rewrite CalleeSavedRegisters for x86 (#8871)
parjong Jan 11, 2017
3d5e08f
use assert insteaf of if statement
Jan 11, 2017
08058f9
Merge pull request #8900 from adiaaida/fix8550
michellemcdaniel Jan 11, 2017
fdc3ce4
Merge pull request #8899 from pgavlin/FixTotalMemoryTest
pgavlin Jan 11, 2017
d7f2872
Format code.
pgavlin Jan 11, 2017
4692866
Merge pull request #8897 from pgavlin/GH8860.1
pgavlin Jan 11, 2017
f345c1d
Add optional argument to skip unmount for rootfs
gkhanna79 Jan 12, 2017
4bce446
Fix pull request title automation
DrewScoggins Jan 12, 2017
7cdeeda
Add clang 3.7 support and remove __FakePrologName to fix build (#8904)
maartenmensink Jan 12, 2017
79be18f
Merge pull request #8907 from DrewScoggins/PullRequestFix
DrewScoggins Jan 12, 2017
f2b0e13
Fix issue #8139 amd64 decoder bug. (#8901)
Jan 12, 2017
ec7c0b2
Fix initialization of resolution sets
CarolEidt Jan 7, 2017
d4fd78e
Merge pull request #8879 from russellhadley/span-intrinsics
russellhadley Jan 12, 2017
bf2fd1c
Merge pull request #8905 from JosephTremoulet/OneMoreHeapUse
JosephTremoulet Jan 12, 2017
0981bb4
Add more comments to document remove AVX/SSE transition penalty logic
Jan 12, 2017
22ddf51
Update CoreClr, CoreFx to beta-24911-02, beta-24911-08, respectively …
dotnet-bot Jan 12, 2017
b6d69f5
fix format
Jan 12, 2017
d187267
Merge pull request #8588 from litian2025/AVX_SSE
sivarv Jan 12, 2017
033b11d
[x86/Linux] Port 'ExceptionTracker::ProcessOSExceptionNotification' (…
parjong Jan 12, 2017
d69811c
Merge pull request #8840 from CarolEidt/Fix8824
CarolEidt Jan 12, 2017
a33f44f
Merge pull request #8909 from gkhanna79/Docker1404
gkhanna79 Jan 12, 2017
3a44fd4
Fix putArgStk dstCount and ConsumeReg errors
CarolEidt Jan 12, 2017
431e183
Update CoreClr to beta-24912-04
dotnet-bot Jan 12, 2017
01a9eaa
Prefer using Array.Length as upper for loop limit (#8923)
mikedn Jan 12, 2017
0adb691
Merge pull request #8806 from sandreenko/array-bounds-check
Jan 12, 2017
b775947
Merge pull request #8928 from CarolEidt/Fix8898
CarolEidt Jan 12, 2017
eb4a102
Merge pull request #8931 from dotnet-bot/master-UpdateDependencies
gkhanna79 Jan 13, 2017
7a4db67
JIT: remove match accounting from inliner state machine
AndyAyersMS Jan 13, 2017
f6e1fc5
Remove #if false blocks (#8933)
danmoseley Jan 13, 2017
0ee13af
Fix Mutex.ReleaseMutex exception type for compatibility (#8941)
Jan 13, 2017
9d01c0e
Merge pull request #8935 from AndyAyersMS/FixSmAssert
AndyAyersMS Jan 13, 2017
396c957
Use a fixed version of CoreFX for testing
ellismg Jan 13, 2017
0ee3c26
Stop build from leaving localpkg cache in src
wtgodbe Jan 13, 2017
b3136bb
Merge pull request #8934 from wtgodbe/localpkg
wtgodbe Jan 13, 2017
d2d4a79
Fixes to make runtime work on ARM64 Linux (#8947)
janvorli Jan 13, 2017
de31af9
Merge pull request #8938 from ellismg/fix-corefx-hash-and-artifacts-f…
ellismg Jan 13, 2017
590ff45
Check if xsave is enabled by OS before calling xgetbv in XmmYmmStateS…
Jan 14, 2017
626a286
Enable thread interrupt in finally blocks
Jan 14, 2017
6870583
Enable Standalone GC builds in the CI on OSX and Linux (#8950)
swgillespie Jan 14, 2017
4367c8d
Remove invalid asserts in threads.cpp, DoAppropriateWaitWorker(int, ...)
Jan 14, 2017
496c33f
Merge pull request #8953 from kouvel/InterruptInFinally
jkotas Jan 14, 2017
8c2db15
Remove mscorpe cruft (#8957)
mikedn Jan 16, 2017
094a2a0
Remove unused mscoree files and code (#8956)
mikedn Jan 16, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BuildToolsVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.27-prerelease-01205-03
1.0.27-prerelease-01209-01
4 changes: 3 additions & 1 deletion Documentation/botr/clr-abi.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ For x86, all handlers are generated within the method body, typically in lexical

JIT64 attempts to speed the normal control flow by 'inlining' a called finally along the 'normal' control flow (i.e., leaving a try body in a non-exceptional manner via C# fall-through). Because the VM semantics for non-rude Thread.Abort dictate that handlers will not be aborted, the JIT must mark these 'inlined' finally bodies. These show up as special entries at the end of the EH tables and are marked with `COR_ILEXCEPTION_CLAUSE_FINALLY | COR_ILEXCEPTION_CLAUSE_DUPLICATED`, and the try_start, try_end, and handler_start are all the same: the start of the cloned finally.

JIT32 and RyuJIT currently do not implement finally cloning.
RyuJit also implements finally cloning, for all supported architectures. However, the implementation does not yet handle the thread abort case; cloned finally bodies are not guaranteed to remain intact and are not reported to the runtime. Because of this, finally cloning is disabled for VMs that support thread abort (desktop clr).

JIT32 does not implement finally cloning.

## Invoking Finallys/Non-local exits

Expand Down
451 changes: 451 additions & 0 deletions Documentation/design-docs/finally-optimizations.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions clrdefinitions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ if (CLR_CMAKE_PLATFORM_UNIX)
add_definitions(-DUNIX_AMD64_ABI)
elseif (CLR_CMAKE_PLATFORM_UNIX_ARM)
add_definitions(-DUNIX_ARM_ABI)
elseif (CLR_CMAKE_PLATFORM_UNIX_X86)
add_definitions(-DUNIX_X86_ABI)
endif()

endif(CLR_CMAKE_PLATFORM_UNIX)
Expand Down
16 changes: 13 additions & 3 deletions cross/build-rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

usage()
{
echo "Usage: $0 [BuildArch] [UbuntuCodeName] [lldbx.y]"
echo "Usage: $0 [BuildArch] [UbuntuCodeName] [lldbx.y] [--skipunmount]"
echo "BuildArch can be: arm(default), armel, arm64, x86"
echo "UbuntuCodeName - optional, Code name for Ubuntu, can be: trusty(default), vivid, wily, xenial. If BuildArch is armel, UbuntuCodeName is jessie(default) or tizen."
echo "lldbx.y - optional, LLDB version, can be: lldb3.6(default), lldb3.8"
echo "--skipunmount - optional, will skip the unmount of rootfs folder."

exit 1
}
Expand All @@ -20,6 +21,7 @@ __UbuntuRepo="http://ports.ubuntu.com/"
__UbuntuPackagesBase="build-essential libunwind8-dev gettext symlinks liblttng-ust-dev libicu-dev"
__LLDB_Package="lldb-3.6-dev"
__UnprocessedBuildArgs=
__SkipUnmount=0

for i in "$@"
do
Expand Down Expand Up @@ -83,6 +85,9 @@ for i in "$@"
__UbuntuRepo=
__Tizen=tizen
;;
--skipunmount)
__SkipUnmount=1
;;
*)
__UnprocessedBuildArgs="$__UnprocessedBuildArgs $i"
;;
Expand All @@ -101,7 +106,9 @@ if [[ -n "$ROOTFS_DIR" ]]; then
fi

if [ -d "$__RootfsDir" ]; then
umount $__RootfsDir/*
if [ $__SkipUnmount == 0 ]; then
umount $__RootfsDir/*
fi
rm -rf $__RootfsDir
fi

Expand All @@ -112,7 +119,10 @@ if [[ -n $__UbuntuCodeName ]]; then
chroot $__RootfsDir apt-get -f -y install
chroot $__RootfsDir apt-get -y install $__UbuntuPackages
chroot $__RootfsDir symlinks -cr /usr
umount $__RootfsDir/*

if [ $__SkipUnmount == 0 ]; then
umount $__RootfsDir/*
fi
elif [ "$__Tizen" == "tizen" ]; then
ROOTFS_DIR=$__RootfsDir $__CrossDir/$__BuildArch/tizen-build-rootfs.sh
else
Expand Down
8 changes: 4 additions & 4 deletions dependencies.props
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Source of truth for dependency tooling: the commit hash of the dotnet/versions master branch as of the last auto-upgrade. -->
<PropertyGroup>
<CoreFxCurrentRef>ef2f3c2b059e208ac188399cc10204861f9dfb70</CoreFxCurrentRef>
<CoreClrCurrentRef>ef2f3c2b059e208ac188399cc10204861f9dfb70</CoreClrCurrentRef>
<CoreFxCurrentRef>50316aab6400fcb2894d608f997d6483962b6642</CoreFxCurrentRef>
<CoreClrCurrentRef>fd19adfd7d3f4d5ef6d3a4c20deffbf6bee3108f</CoreClrCurrentRef>
</PropertyGroup>

<!-- Auto-upgraded properties for each build info dependency. -->
<PropertyGroup>
<CoreFxExpectedPrerelease>beta-24906-02</CoreFxExpectedPrerelease>
<CoreFxExpectedPrerelease>beta-24911-08</CoreFxExpectedPrerelease>
</PropertyGroup>

<!-- Full package version strings that are used in other parts of the build. -->
<PropertyGroup>
<CoreClrPackageVersion>1.2.0-beta-24906-01</CoreClrPackageVersion>
<CoreClrPackageVersion>1.2.0-beta-24912-04</CoreClrPackageVersion>
<XunitPackageVersion>2.2.0-beta2-build3300</XunitPackageVersion>
</PropertyGroup>

Expand Down
2 changes: 2 additions & 0 deletions dir.props
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@
<MinOSForArch>win7</MinOSForArch>
<MinOSForArch Condition="'$(PackagePlatform)' == 'arm'">win8</MinOSForArch>
<MinOSForArch Condition="'$(PackagePlatform)' == 'arm64'">win10</MinOSForArch>
<!-- This property must be set to disable local package installation -->
<SkipInstallLocallyBuiltPackages>true</SkipInstallLocallyBuiltPackages>

<!-- Define packaging attributes for cross target components -->
<HasCrossTargetComponents Condition="'$(TargetsWindows)' == 'true' and ('$(PackagePlatform)' =='arm64' or '$(PackagePlatform)' =='arm')">true</HasCrossTargetComponents>
Expand Down
42 changes: 33 additions & 9 deletions netci.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ def static addNonPRTriggers(def job, def branch, def isPR, def architecture, def
// addEmailPublisher(job, 'dotnetgctests@microsoft.com')
break
case 'standalone_gc':
assert (os == 'Windows_NT')
assert (os == 'Ubuntu' || os == 'Windows_NT' || os == 'OSX')
assert (configuration == 'Release' || configuration == 'Checked')
// TODO: Add once external email sending is available again
// addEmailPublisher(job, 'dotnetgctests@microsoft.com')
Expand Down Expand Up @@ -1216,6 +1216,10 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
if (configuration == 'Checked') {
Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} Build and Test")
}
else if (configuration == 'Release') {
Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} Build and Test",
"(?i).*test\\W+${os}\\W+${architecture}\\W+${configuration}.*")
}
break
case 'pri1':
if (configuration == 'Release') {
Expand Down Expand Up @@ -1537,6 +1541,11 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
"(?i).*test\\W+${os}\\W+${arch}\\W+${jit}\\W+${configuration}\\W+${scenario}.*")
}
break
case 'standalone_gc':
if (configuration == 'Release' || configuration == 'Checked') {
Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} Standalone GC", "(?i).*test\\W+${os}\\W+${configuration}\\W+${scenario}.*")
}
break
case 'minopts':
Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${arch} ${jit} ${configuration} Build and Test (Jit - MinOpts)",
"(?i).*test\\W+${os}\\W+${arch}\\W+${jit}\\W+${configuration}\\W+${scenario}.*")
Expand Down Expand Up @@ -1740,6 +1749,11 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
"(?i).*test\\W+${os}\\W+${arch}\\W+${jit}\\W+${configuration}\\W+${scenario}.*")
}
break
case 'standalone_gc':
if (configuration == 'Release' || configuration == 'Checked') {
Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} Standalone GC", "(?i).*test\\W+${os}\\W+${configuration}\\W+${scenario}.*")
}
break
default:
println("Unknown scenario: ${os} ${arch} ${jit} ${scenario}");
assert false
Expand Down Expand Up @@ -1877,7 +1891,7 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
}
if (scenario == 'gcstress15_pri1r2r')
{
gcstressStr = 'gcstresslevel 0xF'
gcstressStr = 'gcstresslevel 0xF'
}

if (scenario == 'jitdiff')
Expand All @@ -1898,6 +1912,7 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
if (enableCorefxTesting) {
def workspaceRelativeFxRoot = "_/fx"
def absoluteFxRoot = "%WORKSPACE%\\_\\fx"

buildCommands += "python %WORKSPACE%\\tests\\scripts\\run-corefx-tests.py -arch ${arch} -build_type ${configuration} -fx_root ${absoluteFxRoot} -fx_branch ${branch} -env_script ${stepScriptLocation}"

setTestJobTimeOut(newJob, scenario)
Expand Down Expand Up @@ -1934,7 +1949,7 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
// 10s of thousands of files around.
buildCommands += "powershell -Command \"Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::CreateFromDirectory('.\\bin\\tests\\${osGroup}.${arch}.${configuration}', '.\\bin\\tests\\tests.zip')\"";

if (!Constants.jitStressModeScenarios.containsKey(scenario) && scenario != 'jitdiff') {
if (!Constants.jitStressModeScenarios.containsKey(scenario)) {
// For windows, pull full test results and test drops for x86/x64.
// No need to pull for stress mode scenarios (downstream builds use the default scenario)
Utilities.addArchival(newJob, "bin/Product/**,bin/tests/tests.zip")
Expand Down Expand Up @@ -2024,19 +2039,24 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
Utilities.addArchival(newJob, "format.patch", "", true, false)
break
}

def standaloneGc = ''
if (scenario == 'standalone_gc') {
standaloneGc = 'buildstandalonegc'
}

if (!enableCorefxTesting) {
// We run pal tests on all OS but generate mscorlib (and thus, nuget packages)
// only on supported OS platforms.
if ((os == 'FreeBSD') || (os == 'OpenSUSE13.2'))
{
buildCommands += "./build.sh skipmscorlib verbose ${lowerConfiguration} ${arch}"
buildCommands += "./build.sh skipmscorlib verbose ${lowerConfiguration} ${arch} ${standaloneGc}"
}
else
{
def bootstrapRid = Utilities.getBoostrapPublishRid(os)
def bootstrapRidEnv = bootstrapRid != null ? "__PUBLISH_RID=${bootstrapRid} " : ''
buildCommands += "${bootstrapRidEnv}./build.sh verbose ${lowerConfiguration} ${arch}"
buildCommands += "${bootstrapRidEnv}./build.sh verbose ${lowerConfiguration} ${arch} ${standaloneGc}"
}
buildCommands += "src/pal/tests/palsuite/runpaltests.sh \${WORKSPACE}/bin/obj/${osGroup}.${arch}.${configuration} \${WORKSPACE}/bin/paltestout"

Expand All @@ -2063,6 +2083,7 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
// Build and text corefx
def workspaceRelativeFxRoot = "_/fx"
def absoluteFxRoot = "\$WORKSPACE/${workspaceRelativeFxRoot}"

buildCommands += "python \$WORKSPACE/tests/scripts/run-corefx-tests.py -arch ${arch} -build_type ${configuration} -fx_root ${absoluteFxRoot} -fx_branch ${branch} -env_script ${scriptFileName}"

setTestJobTimeOut(newJob, scenario)
Expand Down Expand Up @@ -2113,7 +2134,7 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
--mountPath=${armrootfs_mountpath} \\
--buildConfig=${lowerConfiguration} \\
--testRootDir=./bin/tests/Windows_NT.x64.${configuration} \\
--coreFxNativeBinDir=./bin/Linux.arm-softfp.${configuration} \\
--coreFxNativeBinDir=./bin/Linux.armel.${configuration} \\
--coreFxBinDir=\"./bin/Linux.AnyCPU.${configuration};./bin/Unix.AnyCPU.${configuration};./bin/AnyOS.AnyCPU.${configuration}\" \\
--testDirFile=./tests/testsRunningInsideARM.txt"""

Expand Down Expand Up @@ -2348,7 +2369,7 @@ combinedScenarios.each { scenario ->
}
break
case 'standalone_gc':
if (os != 'Windows_NT') {
if (os != 'Windows_NT' && os != 'Ubuntu' && os != 'OSX') {
return
}

Expand Down Expand Up @@ -2446,7 +2467,7 @@ combinedScenarios.each { scenario ->
copyArtifacts("${corefxFolder}/linuxarmemulator_softfp_cross_${lowerConfiguration}") {
includePatterns('bin/build.tar.gz')
buildSelector {
latestSuccessful(true)
latestSaved()
}
}
}
Expand Down Expand Up @@ -2766,6 +2787,9 @@ combinedScenarios.each { scenario ->
// Get corefx
shell("git clone https://github.com/dotnet/corefx fx")

// CoreFX is changing their output format and scripts, pick a stable version until all that work has landed.
shell("git -C ./fx checkout 551fe49174378adcbf785c0ab12fc69355cef6e8")

// Build Linux corefx
shell("./fx/build-native.sh -release -buildArch=x64 -os=Linux")
shell("./fx/build-managed.sh -release -buildArch=x64 -osgroup=Linux -skiptests")
Expand Down Expand Up @@ -2831,7 +2855,7 @@ combinedScenarios.each { scenario ->
copyArtifacts("${corefxFolder}/${osJobName}_release") {
includePatterns('bin/build.tar.gz')
buildSelector {
latestSuccessful(true)
latestSaved()
}
}

Expand Down
4 changes: 2 additions & 2 deletions perf.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def static getOSGroup(def os) {
{
parameters
{
stringParam('BenchviewCommitName', '%ghprbPullTitle%', 'The name that you will be used to build the full title of a run in Benchview. The final name will be of the form <branch> private BenchviewCommitName')
stringParam('BenchviewCommitName', '\${ghprbPullTitle}', 'The name that you will be used to build the full title of a run in Benchview. The final name will be of the form <branch> private BenchviewCommitName')
}
}
def configuration = 'Release'
Expand Down Expand Up @@ -107,7 +107,7 @@ def static getOSGroup(def os) {
{
parameters
{
stringParam('BenchviewCommitName', '\$ghprbPullTitle', 'The name that you will be used to build the full title of a run in Benchview. The final name will be of the form <branch> private BenchviewCommitName')
stringParam('BenchviewCommitName', '\${ghprbPullTitle}', 'The name that you will be used to build the full title of a run in Benchview. The final name will be of the form <branch> private BenchviewCommitName')
}
}
def osGroup = getOSGroup(os)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />

<PropertyGroup>
<!-- This property must be set to the same value as $(PackageOutputPath) for the nuspecs and nupkgs to be binplaced to the intended location. -->
<OutputPath>$(PackageOutputPath)</OutputPath>
</PropertyGroup>

<!-- We always build the identity/redirection package. However, the platform specific runtime-*.nupkg is built based upon the target OS we are building the product for. -->
<ItemGroup>
<Project Include="Microsoft.NETCore.Native.pkgproj">
</Project>
<Project Condition="'$(TargetsLinux)' == 'true' and '$(DistroRid)' == 'linux-x64'" Include="linux/Microsoft.NETCore.Native.pkgproj">
<OSGroup>Linux</OSGroup>
<Platform>amd64</Platform>
</Project>
<Project Condition="'$(TargetsLinux)' == 'true' and '$(DistroRid)' == 'debian.8-x64'" Include="debian/Microsoft.NETCore.Native.pkgproj">
<OSGroup>Linux</OSGroup>
<Platform>amd64</Platform>
</Project>
<Project Condition="'$(TargetsLinux)' == 'true' and '$(DistroRid)' == 'fedora.23-x64'" Include="fedora/23/Microsoft.NETCore.Native.pkgproj">
<OSGroup>Linux</OSGroup>
<Platform>amd64</Platform>
</Project>
<Project Condition="'$(TargetsLinux)' == 'true' and '$(DistroRid)' == 'fedora.24-x64'" Include="fedora/24/Microsoft.NETCore.Native.pkgproj">
<OSGroup>Linux</OSGroup>
<Platform>amd64</Platform>
</Project>
<Project Condition="'$(TargetsLinux)' == 'true' and '$(DistroRid)' == 'opensuse.13.2-x64'" Include="opensuse/13.2/Microsoft.NETCore.Native.pkgproj">
<OSGroup>Linux</OSGroup>
<Platform>amd64</Platform>
</Project>
<Project Condition="'$(TargetsLinux)' == 'true' and '$(DistroRid)' == 'opensuse.42.1-x64'" Include="opensuse/42.1/Microsoft.NETCore.Native.pkgproj">
<OSGroup>Linux</OSGroup>
<Platform>amd64</Platform>
</Project>
<Project Condition="'$(TargetsLinux)' == 'true' and $(DistroRid.StartsWith('rhel.7'))" Include="rhel/Microsoft.NETCore.Native.pkgproj">
<OSGroup>Linux</OSGroup>
<Platform>amd64</Platform>
</Project>
<Project Condition="'$(TargetsLinux)' == 'true' and '$(DistroRid)' == 'ubuntu.14.04-x64'" Include="ubuntu/14.04/Microsoft.NETCore.Native.pkgproj">
<OSGroup>Linux</OSGroup>
<Platform>amd64</Platform>
</Project>
<Project Condition="'$(TargetsLinux)' == 'true' and '$(DistroRid)' == 'ubuntu.16.04-x64'" Include="ubuntu/16.04/Microsoft.NETCore.Native.pkgproj">
<OSGroup>Linux</OSGroup>
<Platform>amd64</Platform>
</Project>
<Project Condition="'$(TargetsLinux)' == 'true' and '$(DistroRid)' == 'ubuntu.16.10-x64'" Include="ubuntu/16.10/Microsoft.NETCore.Native.pkgproj">
<OSGroup>Linux</OSGroup>
<Platform>amd64</Platform>
</Project>
<Project Condition="'$(TargetsLinux)' == 'true' and '$(DistroRid)' == 'alpine.3.4.3-x64'" Include="alpine/3.4.3/Microsoft.NETCore.Native.pkgproj">
<OSGroup>Linux</OSGroup>
<Platform>amd64</Platform>
</Project>
<Project Condition="'$(TargetsOSX)' == 'true'" Include="osx/Microsoft.NETCore.Native.pkgproj">
<OSGroup>OSX</OSGroup>
<Platform>amd64</Platform>
</Project>
</ItemGroup>

<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
</Project>
Loading