From d450a51e85368835e8d8eda72c7aebf878af90da Mon Sep 17 00:00:00 2001 From: Jo Shields Date: Tue, 12 Dec 2023 15:44:05 -0500 Subject: [PATCH] Gotta pass CROSSCOMPILE=1 for x64 Macs to build osx-arm64 --- eng/pipelines/templates/jobs/vmr-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/pipelines/templates/jobs/vmr-build.yml b/eng/pipelines/templates/jobs/vmr-build.yml index 46067ab61..37457a9d6 100644 --- a/eng/pipelines/templates/jobs/vmr-build.yml +++ b/eng/pipelines/templates/jobs/vmr-build.yml @@ -263,7 +263,7 @@ jobs: docker run --rm -v "$(sourcesPath):/vmr" -w /vmr $customRunArgs ${{ parameters.container }} ./build.sh --clean-while-building $(additionalBuildArgs) $customBuildArgs $extraBuildProperties else cd $(sourcesPath) - ./build.sh --clean-while-building $(additionalBuildArgs) $customBuildArgs $extraBuildProperties + CROSSCOMPILE=1 ./build.sh --clean-while-building $(additionalBuildArgs) $customBuildArgs $extraBuildProperties fi displayName: Build