Skip to content

[ci] Update macOS to 11#17376

Merged
BillyONeal merged 12 commits intomicrosoft:masterfrom
strega-nil:osx-2021-04-16
Apr 29, 2021
Merged

[ci] Update macOS to 11#17376
BillyONeal merged 12 commits intomicrosoft:masterfrom
strega-nil:osx-2021-04-16

Conversation

@strega-nil
Copy link
Contributor

Major new things:

  • update to macOS Big Sur (11.2.3)
  • switch from VirtualBox to Parallels due to ^ (and also ARM)

Minor new things:

  • update from xcode CLT 12 to 12.4

@cenit
Copy link
Contributor

cenit commented Apr 21, 2021

there are not just regressions, but a lot of "CASCADED_DUE_TO_MISSING_DEPENDENCIES".
Please do not overlook them because they were checked previously in CI (vtk, qt, opencv, ...).

Is it possible that they are due to just those 5 regressed ports?

@strega-nil-ms
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@NancyLi1013
Copy link
Contributor

sdformat6 failed with the following error:

CMake Error at /usr/local/lib/cmake/Boost-1.75.0/BoostConfig.cmake:240 (if):
  if given arguments:

    "ALL" "IN_LIST" "Boost_FIND_COMPONENTS"

  Unknown arguments specified
Call Stack (most recent call first):
  /Users/vagrant/Data/work/1/s/scripts/buildsystems/vcpkg.cmake:828 (_find_package)
  /Users/vagrant/Data/downloads/tools/cmake-3.19.2-osx/cmake-3.19.2-macos-universal/CMake.app/Contents/share/cmake-3.19/Modules/FindBoost.cmake:460 (find_package)
  cmake/SearchForStuff.cmake:16 (include)
  CMakeLists.txt:116 (include)

forest failed with wrong hash due to the repository doesn't exist now. Please see #16836.

Billy also set the related triplets as fail in ci.baseline.txt in PR #17331.

Major new things:
* update to macOS Big Sur (11.*)
* switch from VirtualBox to Parallels due to ^ (and also ARM)

Minor new things:
* update from xcode CLT 12 to 12.4

This PR includes new stuff for creating the base box for parallels.
Still to do: using the new box type.
the Vagrantfile for the final VM will only download the azure pipeline stuff

this allows us to keep the versions of brew applications stable
Comment on lines +85 to +93
if ([String]::IsNullOrEmpty($MachineId)) {
$hostname = hostname -s
if ($hostname -match '^VCPKGMM-([0-9]{2})$') {
$MachineId = $matches[1]
} else {
Write-Error "Hostname ($hostname) does not match the expected format (VCPKGMM-NN). Please pass -MachineId in order to give the VM a number."
}
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

} else {
throw '~/vagrant/vcpkg-eg-mac already exists; try re-running with -Force'
vagrant destroy -f
Remove-Item -Recurse -Force -LiteralPath '~/vagrant/vcpkg-eg-mac' | Out-Null
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there ever any concern about this following symlinks or mount points or something and deleting the underlying base box?

Asking for a friend 🤣

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is not, because it removes vagrant/vcpkg-eg-mac, never vagrant itself.

@strega-nil-ms
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@strega-nil-ms
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@NancyLi1013
Copy link
Contributor

sdformat6 failed with the same error as before on osx.

cppgraphqlgen failed with the following error on osx:

FAILED: src/CMakeFiles/graphqlpeg.dir/GraphQLTree.cpp.o 
/Library/Developer/CommandLineTools/usr/bin/c++  -I/Users/vagrant/Data/buildtrees/cppgraphqlgen/src/v3.5.0-ff5eccf561.clean/src/../include -I/Users/vagrant/Data/buildtrees/cppgraphqlgen/src/v3.5.0-ff5eccf561.clean/src/../PEGTL/include -isystem /Users/vagrant/Data/installed/x64-osx/include -fPIC -O3 -DNDEBUG -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -std=gnu++17 -MD -MT src/CMakeFiles/graphqlpeg.dir/GraphQLTree.cpp.o -MF src/CMakeFiles/graphqlpeg.dir/GraphQLTree.cpp.o.d -o src/CMakeFiles/graphqlpeg.dir/GraphQLTree.cpp.o -c /Users/vagrant/Data/buildtrees/cppgraphqlgen/src/v3.5.0-ff5eccf561.clean/src/GraphQLTree.cpp
clang: error: unable to execute command: Abort trap: 6
clang: error: clang frontend command failed due to signal (use -v to see invocation)
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin20.3.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.

Other failures caused by gdk-pixbuf will be fixed in PR #17528.

@BillyONeal BillyONeal merged commit e6cabde into microsoft:master Apr 29, 2021
@strega-nil strega-nil deleted the osx-2021-04-16 branch June 30, 2021 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:infrastructure Pertaining to the CI/Testing infrastrucutre

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants