-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Revert "[CMake] Remove overriding CMAKE_OSX_SYSROOT
"
#19855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This reverts commit e3a10ab. The MacOS builds on the CI were working by chance as shown at root-project#19854.
We still need to figure out why this is happening and what was happening before |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make sure it also works in the case where xcrun is not available? Then we don't have to re-introduce patches for Nix or other ways to build ROOT on osx that are independent of XCode. I mean just skipping this code block if xcrun can't be found
Test Results 20 files 20 suites 3d 14h 48m 9s ⏱️ For more details on these failures, see this check. Results for commit 4fc2ee9. ♻️ This comment has been updated with latest results. |
Also, if the reason that is was not necessary in our CI to set |
As I said in my comment above, I have no idea who/what is messing with our CI runners so that the |
Which comment above? Maybe you mean the private discussion on mattermost 😃 Or did I miss something? Yes sure, no need to block this PR for this, but can we maybe write at least some notes? So if this code is touched again in the future it's clear what the constraints are and that there is something in the CI that can be improved about not setting the |
Ah I see now, the information is indirectly available via the link to #19854 ! Okay that's maybe alright, but I think directly having it in the code comments or commit messages will be better. Sorry for being pedantic, but we need to minimize the risk that people like me break things in the future again because they are missing the context 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for considering my request about checking if xcrun
is available 🙏
Good now for me, maybe only consider an inline note on why this CMake code block is seemingly not needed in our CI. And that it would be better to avoid setting implicitly required CMake variables in the CI.
Yes, done in the latest commit 👍 |
…19855) * Revert "[CMake] Remove overriding `CMAKE_OSX_SYSROOT`" This reverts commit e3a10ab. The MacOS builds on the CI were working by chance as shown at root-project#19854. * [build] Only use xcrun if it exists * [build] Add TODO and explanation for MacOS build
This reverts commit e3a10ab.
The MacOS builds on the CI were working by chance as shown at #19854.