-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fix incompatibility issues with manylinux1 platform #320
Conversation
- manylinux1 platform provides gcc 4.8.1 for wider compatibility - gcc 4.8.1 is first gnu compiler supporting `almost all` C++11 except that it lacks const_iterator overload for std::vector::erase and std::vector::insert - in this PR we introduce const_iter_cast thar turns const iterator into non-const-iterator with minimal changes to the code base - change the compatibility to gcc 4.8.2 for cmake as well as json library - change pybind11::literals::operator""_a to namespace pybind11::literals as documented in https://pybind11.readthedocs.io/en/stable/basics.html#keyword-arguments fixes #319
Co-authored-by: Omar Awile <omar.awile@epfl.ch>
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.
perfektus for me
checking jenkins looks like there is some code left for debugging that prints the pythonpath for every test... |
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.
lgtm
that might be just some old builds. I dont see any debug code into latest commits. |
Motivation
We would like to ship nmodl with NEURON manylinux1 wheel during upcoming release 8.0
Changes
almost all
C++11except that it lacks
const_iterator
overload for std::vector::eraseand std::vector::insert
into non-const-iterator to have minimal changes to the code base
pybind11::literals::operator""_a
tonamespace pybind11::literals
as documented in https://pybind11.readthedocs.io/en/stable/basics.html#keyword-arguments
fixes #319
Considerations