File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ build() {
4141 git clone https://github.com/microsoft/vcpkg.git
4242 mv vcpkg $ROOT_DIR /
4343 export VCPKG_FORCE_SYSTEM_BINARIES=1
44+ # On aarch64 musl, vcpkg has no prebuilt binary and builds from source.
45+ # The default bootstrap downloads old curl 7.29.0 headers that lack
46+ # target-independent curlbuild.h, failing on aarch64. Use system curl instead.
47+ sed -i ' s/-DCMAKE_BUILD_TYPE=Release/-DVCPKG_LIBCURL_DLSYM=OFF -DCMAKE_BUILD_TYPE=Release/' \
48+ $ROOT_DIR /vcpkg/scripts/bootstrap.sh
4449 set +e
4550 cmake -B build -DINTEGRATE_VCPKG=ON -DCMAKE_BUILD_TYPE=Release \
4651 -DCMAKE_MAKE_PROGRAM=make \
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ RUN apk add \
2828 abuild \
2929 bash \
3030 curl \
31+ curl-dev \
3132 g++ \
3233 make \
3334 cmake \
You can’t perform that action at this time.
0 commit comments