Skip to content

Commit fa85f48

Browse files
authored
Update build-openharmony-arm64.sh
1 parent fdd6cd9 commit fa85f48

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/build-openharmony-arm64.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/usr/bin/env bash
22
docker run --rm \
3-
-v ../runtime:/runtime \
4-
-v ../package:/package \
3+
-v "$(dirname $(pwd))/runtime:/runtime" \
4+
-v "$(dirname $(pwd))/package:/package" \
55
-e ROOTFS_DIR="/crossrootfs/arm64" \
66
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 /package/runtime.linux-musl-arm64.microsoft.dotnet.ilcompiler/sdk/ \
99
&& mkdir -p /package/runtime.linux-musl-arm64.microsoft.dotnet.ilcompiler/framework/ \
1010
&& cp -p ./artifacts/bin/coreclr/linux.arm64.Release/aotsdk/* /package/runtime.linux-musl-arm64.microsoft.dotnet.ilcompiler/sdk/ \
1111
&& cp -p ./artifacts/bin/runtime/net9.0-linux-Release-arm64/*.a /package/runtime.linux-musl-arm64.microsoft.dotnet.ilcompiler/framework/ \
12-
&& cp -p ./artifacts/bin/runtime/net9.0-linux-Release-arm64/*.dbg /package/runtime.linux-musl-arm64.microsoft.dotnet.ilcompiler/framework/"
12+
&& cp -p ./artifacts/bin/runtime/net9.0-linux-Release-arm64/*.dbg /package/runtime.linux-musl-arm64.microsoft.dotnet.ilcompiler/framework/"

0 commit comments

Comments
 (0)