-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Tracking issue for OS X-specific development cost #4719
Comments
#4717 has demonstrated that we need to reproduce in Bazel the platform-specific compiler flag selection logic that we've had in CMake for a while. Specifically, we need to add flags with clang/OS X spellings and gcc/Linux spellings into respective CROSSTOOL stanzas, where if we only supported one platform we could just Five hours so far today. Update: This was ultimately resolved in #4772. I would guess the additional complexity from supporting Mac was about eight or ten hours of extra headache, in total. |
Spent maybe 2 hours working out OSX details for #4701. |
Grappling with adding IPOPT to Bazel (#4896 with dynamic libraries, #4905 with static libraries). Both approaches work with Linux, and both approaches have their own unique OS X gremlins. Dynamic libraries trigger some kind of deeply confusing loader path problem, which might be a bazel bug and might just be my fault: bazelbuild/bazel#507 (comment) Static libraries get us past that problem, but then we discover that Gave up after about 8 hours of effort. |
I'm estimating #4956 incurred 1 hour of developer time mostly due to context switching overhead. To my knowledge, the Linux compilers chose the correct |
In #4905, I added a new test rule that only works on Linux, leading to build breakage on OS X. I've spent two hours so far this morning trying to figure out how to disable a test on OS X only. |
I spent at least 20 hours developing enough background knowledge to write #5334. |
#5362 broke the build and wasted several people's time because we didn't |
About 5 hours understanding how |
In #5155, we chose to link Bazel builds statically by default, in part because dynamic linking on OS X is different, and a little complicated, and I hadn't figured out how to make it work. I didn't expect anyone to be disk-constrained in 2017, but it turns out some VM users are running out of disk on debug builds as a result of this decision. Not sure how to measure the cost incurred, but it's a cost. |
This issue is for gathering data on PRs that incur OS X-specific development cost. It is not a forum for discussing the implications. Examples of "cost" include:
Developer effort spent resolving OS X-specific issues.
Delayed merge due to discussing or resolving OS X-specific issues.
OS X-specific flakes in pre-merge continuous integration.
Rollbacks or forward fixes due to failures in OS X post-merge continuous integration.
Where possible, please reference an issue or PR.
The text was updated successfully, but these errors were encountered: