File tree Expand file tree Collapse file tree 9 files changed +42
-24
lines changed
Filter options
Expand file tree Collapse file tree 9 files changed +42
-24
lines changed
Original file line number Diff line number Diff line change 9
9
</Dependency >
10
10
</ProductDependencies >
11
11
<ToolsetDependencies >
12
- <Dependency Name =" Microsoft.DotNet.Arcade.Sdk" Version =" 8.0.0-beta.25114 .5" >
12
+ <Dependency Name =" Microsoft.DotNet.Arcade.Sdk" Version =" 8.0.0-beta.25164 .5" >
13
13
<Uri >https://github.com/dotnet/arcade</Uri >
14
- <Sha >221fba21fbd6a29f17af7a7004f8ef18a51519bd </Sha >
14
+ <Sha >802042c6e779b73b4edb012ee1d5bae02ec8d41c </Sha >
15
15
</Dependency >
16
16
<!-- Intermediate is necessary for source build. -->
17
- <Dependency Name =" Microsoft.SourceBuild.Intermediate.arcade" Version =" 8.0.0-beta.25114 .5" >
17
+ <Dependency Name =" Microsoft.SourceBuild.Intermediate.arcade" Version =" 8.0.0-beta.25164 .5" >
18
18
<Uri >https://github.com/dotnet/arcade</Uri >
19
- <Sha >221fba21fbd6a29f17af7a7004f8ef18a51519bd </Sha >
19
+ <Sha >802042c6e779b73b4edb012ee1d5bae02ec8d41c </Sha >
20
20
<SourceBuild RepoName =" arcade" ManagedOnly =" true" />
21
21
</Dependency >
22
22
<!-- Don't declare a separate xliff-tasks intermediate as Arcade 8.0 does not have xliff intermediate declared. -->
Original file line number Diff line number Diff line change @@ -280,6 +280,8 @@ elseif(TARGET_ARCH_NAME MATCHES "^(arm64|x64)$")
280
280
add_toolchain_linker_flag("-Wl,--rpath-link=${CROSS_ROOTFS} /usr/lib64" )
281
281
add_toolchain_linker_flag("-Wl,--rpath-link=${TIZEN_TOOLCHAIN_PATH} " )
282
282
endif ()
283
+ elseif (TARGET_ARCH_NAME STREQUAL "s390x" )
284
+ add_toolchain_linker_flag("--target=${TOOLCHAIN} " )
283
285
elseif (TARGET_ARCH_NAME STREQUAL "x86" )
284
286
if (EXISTS ${CROSS_ROOTFS} /usr/lib/gcc/i586-alpine-linux-musl)
285
287
add_toolchain_linker_flag("--target=${TOOLCHAIN} " )
@@ -327,6 +329,8 @@ if(TARGET_ARCH_NAME MATCHES "^(arm|armel)$")
327
329
if (TARGET_ARCH_NAME STREQUAL "armel" )
328
330
add_compile_options (-mfloat-abi=softfp)
329
331
endif ()
332
+ elseif (TARGET_ARCH_NAME STREQUAL "s390x" )
333
+ add_compile_options ("--target=${TOOLCHAIN} " )
330
334
elseif (TARGET_ARCH_NAME STREQUAL "x86" )
331
335
if (EXISTS ${CROSS_ROOTFS} /usr/lib/gcc/i586-alpine-linux-musl)
332
336
add_compile_options (--target =${TOOLCHAIN} )
Original file line number Diff line number Diff line change 4
4
5
5
. $PSScriptRoot \pipeline- logging- functions.ps1
6
6
7
+ # Normally - we'd listen to the manifest path given, but 1ES templates will overwrite if this level gets uploaded directly
8
+ # with their own overwriting ours. So we create it as a sub directory of the requested manifest path.
9
+ $ArtifactName = " ${env: SYSTEM_STAGENAME} _${env: AGENT_JOBNAME} _SBOM"
10
+ $SafeArtifactName = $ArtifactName -replace ' ["/:<>\\|?@*"() ]' , ' _'
11
+ $SbomGenerationDir = Join-Path $ManifestDirPath $SafeArtifactName
12
+
13
+ Write-Host " Artifact name before : $ArtifactName "
14
+ Write-Host " Artifact name after : $SafeArtifactName "
15
+
7
16
Write-Host " Creating dir $ManifestDirPath "
17
+
8
18
# create directory for sbom manifest to be placed
9
- if (! (Test-Path - path $ManifestDirPath ))
19
+ if (! (Test-Path - path $SbomGenerationDir ))
10
20
{
11
- New-Item - ItemType Directory - path $ManifestDirPath
12
- Write-Host " Successfully created directory $ManifestDirPath "
21
+ New-Item - ItemType Directory - path $SbomGenerationDir
22
+ Write-Host " Successfully created directory $SbomGenerationDir "
13
23
}
14
24
else {
15
25
Write-PipelineTelemetryError - category ' Build' " Unable to create sbom folder."
16
26
}
17
27
18
28
Write-Host " Updating artifact name"
19
- $artifact_name = " ${env: SYSTEM_STAGENAME} _${env: AGENT_JOBNAME} _SBOM" -replace ' ["/:<>\\|?@*"() ]' , ' _'
20
- Write-Host " Artifact name $artifact_name "
21
- Write-Host " ##vso[task.setvariable variable=ARTIFACT_NAME]$artifact_name "
29
+ Write-Host " ##vso[task.setvariable variable=ARTIFACT_NAME]$SafeArtifactName "
Original file line number Diff line number Diff line change 14
14
scriptroot=" $( cd -P " $( dirname " $source " ) " && pwd ) "
15
15
. $scriptroot /pipeline-logging-functions.sh
16
16
17
+ # replace all special characters with _, some builds use special characters like : in Agent.Jobname, that is not a permissible name while uploading artifacts.
18
+ artifact_name=$SYSTEM_STAGENAME " _" $AGENT_JOBNAME " _SBOM"
19
+ safe_artifact_name=" ${artifact_name// ["/:<>\\|?@*$" ]/ _} "
20
+
17
21
manifest_dir=$1
18
22
19
- if [ ! -d " $manifest_dir " ] ; then
20
- mkdir -p " $manifest_dir "
21
- echo " Sbom directory created." $manifest_dir
23
+ # Normally - we'd listen to the manifest path given, but 1ES templates will overwrite if this level gets uploaded directly
24
+ # with their own overwriting ours. So we create it as a sub directory of the requested manifest path.
25
+ sbom_generation_dir=" $manifest_dir /$safe_artifact_name "
26
+
27
+ if [ ! -d " $sbom_generation_dir " ] ; then
28
+ mkdir -p " $sbom_generation_dir "
29
+ echo " Sbom directory created." $sbom_generation_dir
22
30
else
23
31
Write-PipelineTelemetryError -category ' Build' " Unable to create sbom folder."
24
32
fi
25
33
26
- artifact_name=$SYSTEM_STAGENAME " _" $AGENT_JOBNAME " _SBOM"
27
34
echo " Artifact name before : " $artifact_name
28
- # replace all special characters with _, some builds use special characters like : in Agent.Jobname, that is not a permissible name while uploading artifacts.
29
- safe_artifact_name=" ${artifact_name// ["/:<>\\|?@*$" ]/ _} "
30
35
echo " Artifact name after : " $safe_artifact_name
31
36
export ARTIFACT_NAME=$safe_artifact_name
32
37
echo " ##vso[task.setvariable variable=ARTIFACT_NAME]$safe_artifact_name "
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ parameters:
38
38
enableSbom : true
39
39
PackageVersion : 7.0.0
40
40
BuildDropPath : ' $(Build.SourcesDirectory)/artifacts'
41
+ ManifestDirPath : $(Build.ArtifactStagingDirectory)/sbom
41
42
42
43
jobs :
43
44
- job : ${{ parameters.name }}
@@ -261,4 +262,4 @@ jobs:
261
262
targetPath : ' $(Build.SourcesDirectory)\eng\common\BuildConfiguration'
262
263
artifactName : ' BuildConfiguration'
263
264
displayName : ' Publish build retry configuration'
264
- continueOnError : true
265
+ continueOnError : true
Original file line number Diff line number Diff line change 35
35
PackageName : ${{ parameters.packageName }}
36
36
BuildDropPath : ${{ parameters.buildDropPath }}
37
37
PackageVersion : ${{ parameters.packageVersion }}
38
- ManifestDirPath : ${{ parameters.manifestDirPath }}
38
+ ManifestDirPath : ${{ parameters.manifestDirPath }}/$(ARTIFACT_NAME)
39
39
${{ if ne(parameters.IgnoreDirectories, '') }} :
40
40
AdditionalComponentDetectorArgs : ' --IgnoreDirectories ${{ parameters.IgnoreDirectories }}'
41
41
Original file line number Diff line number Diff line change 42
42
[bool ]$useInstalledDotNetCli = if (Test-Path variable:useInstalledDotNetCli) { $useInstalledDotNetCli } else { $true }
43
43
44
44
# Enable repos to use a particular version of the on-line dotnet-install scripts.
45
- # default URL: https://dotnet.microsoft.com/download /dotnet/scripts/v1/dotnet-install.ps1
45
+ # default URL: https://builds. dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.ps1
46
46
[string ]$dotnetInstallScriptVersion = if (Test-Path variable:dotnetInstallScriptVersion) { $dotnetInstallScriptVersion } else { ' v1' }
47
47
48
48
# True to use global NuGet cache instead of restoring packages to repository-local directory.
@@ -263,7 +263,7 @@ function GetDotNetInstallScript([string] $dotnetRoot) {
263
263
if (! (Test-Path $installScript )) {
264
264
Create- Directory $dotnetRoot
265
265
$ProgressPreference = ' SilentlyContinue' # Don't display the console progress UI - it's a huge perf hit
266
- $uri = " https://dotnet.microsoft.com/download /dotnet/scripts/$dotnetInstallScriptVersion /dotnet-install.ps1"
266
+ $uri = " https://builds. dotnet.microsoft.com/dotnet/scripts/$dotnetInstallScriptVersion /dotnet-install.ps1"
267
267
268
268
Retry({
269
269
Write-Host " GET $uri "
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ warn_as_error=${warn_as_error:-true}
54
54
use_installed_dotnet_cli=${use_installed_dotnet_cli:- true}
55
55
56
56
# Enable repos to use a particular version of the on-line dotnet-install scripts.
57
- # default URL: https://dotnet.microsoft.com/download /dotnet/scripts/v1/dotnet-install.sh
57
+ # default URL: https://builds. dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh
58
58
dotnetInstallScriptVersion=${dotnetInstallScriptVersion:- ' v1' }
59
59
60
60
# True to use global NuGet cache instead of restoring packages to repository-local directory.
@@ -297,7 +297,7 @@ function with_retries {
297
297
function GetDotNetInstallScript {
298
298
local root=$1
299
299
local install_script=" $root /dotnet-install.sh"
300
- local install_script_url=" https://dotnet.microsoft.com/download /dotnet/scripts/$dotnetInstallScriptVersion /dotnet-install.sh"
300
+ local install_script_url=" https://builds. dotnet.microsoft.com/dotnet/scripts/$dotnetInstallScriptVersion /dotnet-install.sh"
301
301
302
302
if [[ ! -a " $install_script " ]]; then
303
303
mkdir -p " $root "
Original file line number Diff line number Diff line change 1
1
{
2
2
"tools" : {
3
- "dotnet" : " 8.0.113 " ,
3
+ "dotnet" : " 8.0.114 " ,
4
4
"runtimes" : {
5
5
"dotnet" : [
6
6
" 8.0.12"
7
7
]
8
8
}
9
9
},
10
10
"msbuild-sdks" : {
11
- "Microsoft.DotNet.Arcade.Sdk" : " 8.0.0-beta.25114 .5"
11
+ "Microsoft.DotNet.Arcade.Sdk" : " 8.0.0-beta.25164 .5"
12
12
}
13
13
}
You can’t perform that action at this time.
0 commit comments