diff --git a/eng/testing/linker/project.csproj.template b/eng/testing/linker/project.csproj.template index f62317e7eba16..9c8e4ff7e06b3 100644 --- a/eng/testing/linker/project.csproj.template +++ b/eng/testing/linker/project.csproj.template @@ -25,11 +25,14 @@ {NetCoreAppMaximumVersion} {UseMonoRuntime} {RuntimeIdentifier} - {PublishAot} {AppHostSourcePath} {SingleFileHostSourcePath} true + + {PublishAot} + true + {MonoAOTCompilerDir} {MonoProjectRoot} @@ -59,14 +62,9 @@ {IlcSdkPath} {IlcFrameworkPath} {IlcFrameworkNativePath} - $(ROOTFS_DIR) {CoreCLRBuildIntegrationDir} - - - - {RuntimeHostConfigurationOptions} @@ -81,28 +79,8 @@ - - - clang - - - - - - - - $(_CC_LDFLAGS.SubString(0, $(_CC_LDFLAGS.IndexOf(';')))) - <_LDFLAGS>$(_CC_LDFLAGS.SubString($([MSBuild]::Add($(_CC_LDFLAGS.IndexOf(';')), 1)))) - lld - - - + diff --git a/eng/testing/linker/trimmingTests.targets b/eng/testing/linker/trimmingTests.targets index 7ff8fccc2c017..c1bf7bae8e875 100644 --- a/eng/testing/linker/trimmingTests.targets +++ b/eng/testing/linker/trimmingTests.targets @@ -151,7 +151,7 @@ + Properties="Configuration=$(Configuration);BuildProjectReferences=false;HostOS=$(HostOS);TargetOS=$(TargetOS);TargetArchitecture=$(TargetArchitecture);_IsPublishing=true" /> - - - - - $(RuntimeIdentifier) - - - x86_64 - aarch64 - arm64 - - - $(CrossCompileArch)-linux-gnu - $(CrossCompileArch)-alpine-linux-musl - $(CrossCompileArch)-unknown-freebsd12 - - - - - - - @@ -61,6 +37,7 @@ BeforeTargets="SetupOSSpecificProps"> clang + $(ROOTFS_DIR) - - - lld - $(ROOTFS_DIR) - - - \ No newline at end of file + diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets index efd3cfddaf2ad..1551672eeb308 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets @@ -64,6 +64,8 @@ The .NET Foundation licenses this file to you under the MIT license. $ORIGIN @executable_path + @rpath/$(TargetName)$(NativeBinaryExt) + libeventpipe-disabled libeventpipe-enabled @@ -92,7 +94,6 @@ The .NET Foundation licenses this file to you under the MIT license. <_AppleTripleAbi Condition="$(_targetOS.EndsWith('simulator'))">simulator $(CrossCompileArch)-apple-$(_AppleTripleOS)$(AppleMinOSVersion)-$(_AppleTripleAbi) - @rpath/$(TargetName)$(NativeBinaryExt) @@ -214,7 +215,7 @@ The .NET Foundation licenses this file to you under the MIT license. - + diff --git a/src/native/managed/compile-native.proj b/src/native/managed/compile-native.proj index 4123d47c34bb2..f8715efce8e82 100644 --- a/src/native/managed/compile-native.proj +++ b/src/native/managed/compile-native.proj @@ -31,10 +31,6 @@ - - - - diff --git a/src/native/managed/native-library.props b/src/native/managed/native-library.props index 41c7d3d6b897d..a38ee419d3282 100644 --- a/src/native/managed/native-library.props +++ b/src/native/managed/native-library.props @@ -9,28 +9,9 @@ Guard - - - - @rpath/$(MSBuildProjectName).dylib - - - - - - - - - true - - - - diff --git a/src/tests/Common/XUnitLogChecker/XUnitLogChecker.csproj b/src/tests/Common/XUnitLogChecker/XUnitLogChecker.csproj index 0075ff8baa97e..0c7731b95696e 100644 --- a/src/tests/Common/XUnitLogChecker/XUnitLogChecker.csproj +++ b/src/tests/Common/XUnitLogChecker/XUnitLogChecker.csproj @@ -5,7 +5,7 @@ $(NetCoreAppToolCurrent) true true - true + true false