Packages that require new OSX SDKs
See original GitHub issueIssue:
We have moved from C++14 to C++17 and there are now a couple of issues when building our library on conda-forge. I’ll focus for now on the OSX issue only. When compiling our Python bindings using pybind11
, with clang 9.0.0, we get errors with a note as this:
note: 'operator delete' has been explicitly marked unavailable here
_LIBCPP_OVERRIDABLE_FUNC_VIS _LIBCPP_AVAILABILITY_SIZED_NEW_DELETE void operator delete(void* __p, std::size_t __sz) _NOEXCEPT;
We have already investigated this issue in the web, and we now add the compile options -fno-aligned-allocation -fno-sized-deallocation
, which have been enough to solve the exact same issue in our own machines (making sure clang 9.0.0
from conda-forge is used). However, the issue is not resolved with these options when compiling in a conda-forge environment. Full build log available in this Azure link.
@isuruf has pointed out that this is due to an older SDK and a newer one could be provided as a solution.
The full build log (with all env and conda system info) in this text file:
Issue Analytics
- State:
- Created 4 years ago
- Comments:22 (19 by maintainers)
Top GitHub Comments
Thanks @beckermr
fixed.