Skip to content

Commit 4cbcd0c

Browse files
committed
change docker mirror url
1 parent 60c85dc commit 4cbcd0c

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

build-openharmony-arm.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
sudo docker run --rm \
3+
-v ./:/runtime \
4+
-w /runtime \
5+
-e ROOTFS_DIR="/crossrootfs/arm" \
6+
mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net9.0-cross-arm-musl \
7+
bash -c "./build.sh --subset clr.aot+libs --configuration Release -arch arm --cross \
8+
&& mkdir -p ./artifacts/openharmony/arm/sdk/ \
9+
&& mkdir -p ./artifacts/openharmony/arm/framework/ \
10+
&& cp -p ./artifacts/bin/coreclr/linux.arm.Release/aotsdk/* ./artifacts/openharmony/arm/sdk/ \
11+
&& cp -p ./artifacts/bin/runtime/net9.0-linux-Release-arm/*.a ./artifacts/openharmony/arm/framework/ \
12+
&& cp -p ./artifacts/bin/runtime/net9.0-linux-Release-arm/*.dbg ./artifacts/openharmony/arm/framework/"

build-openharmony-arm64.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sudo docker run --rm \
33
-v ./:/runtime \
44
-w /runtime \
55
-e ROOTFS_DIR="/crossrootfs/arm64" \
6-
mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net10.0-cross-arm64-musl \
6+
mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net9.0-cross-arm64-musl \
77
bash -c "./build.sh --subset clr.aot+libs --configuration Release -arch arm64 --cross \
88
&& mkdir -p ./artifacts/openharmony/arm64/sdk/ \
99
&& mkdir -p ./artifacts/openharmony/arm64/framework/ \

build-openharmony-x64.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sudo docker run --rm \
33
-v ./:/runtime \
44
-w /runtime \
55
-e ROOTFS_DIR="/crossrootfs/x64" \
6-
mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net10.0-cross-amd64-musl \
6+
mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net9.0-cross-amd64-musl \
77
bash -c "./build.sh --subset clr.aot+libs --configuration Release -arch x64 --cross \
88
&& mkdir -p ./artifacts/openharmony/x64/sdk/ \
99
&& mkdir -p ./artifacts/openharmony/x64/framework/ \

0 commit comments

Comments
 (0)