C++17 prep - namespace qualifiers only#2693
C++17 prep - namespace qualifiers only#2693andrjohns merged 37 commits intostan-dev:developfrom andrjohns:feature/cpp17-pr-1
Conversation
|
It looks like the There aren't any issues with Given that the move to c++17 will require upping the minimum |
Will upping Edit: Nvidia has CDN problems and I can't build the image because of the missing Release file in the apt repos, see: NVIDIA/nvidia-docker#1624 Edit: It's now fixed! |
|
Great, thanks! |
|
Hey @andrjohns you can find the new image build at: As soon as your testing is done let me know so we can coordinate on updating the main ci tag. Thanks! |
|
Hey, I think the current Jenkins failure |
# Conflicts: # Jenkinsfile
|
@andrjohns I think you need to import the update to Rtools 4.0 change from the Eigen 3.4 PR to compile with C++17 for some of these tests. imo thats a thing we should just be doing anyway |
|
These Not entirely sure what to make of that |
|
I see that Nic restarted the tests - 🤞🏻 that it's a one-off thing. Locally I have no issue building/cleaning up. @andrjohns is there a plan on how/when we are going to move to C++17. I fully support that move - just wondering. |
|
I'm not entirely sure what in this PR makes the build unstable
Maybe a cache issue of some sort in Jenkins ? If we're sure it's not because of any change in the PR, we can try to open a new PR with these changes as it will create a fresh build env. |
# Conflicts: # .github/workflows/main.yml
|
So it looks like this is compiling now! @andrjohns should we just get rid of the CI changes and then merge? |
|
@SteveBronder sorry for the delay! I've reverted those CI changes, can you approve when you have a minute? |
|
Hey, I think we should leave this PR Jenkinsfile to use |
|
Sounds good to me! I'll add that back in |
Summary
This PR implements a subset of the changes from #2641 to assess whether the test leak-sanitizers errors are still present.
This PR implements only the namespace qualification of
applyandsize, leaving theEigen::Indexandconstexprchanges for a separate PRTests
N/A - Current tests should still pass
Side Effects
C++17 compatibility
Release notes
Added namespace qualifiers to
sizeandapplycalls for c++17 compatibilityChecklist
Math issue Update to Eigen 3.4 #2474
Copyright holder: Andrew Johnson
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
the basic tests are passing
./runTests.py test/unit)make test-headers)make test-math-dependencies)make doxygen)make cpplint)the code is written in idiomatic C++ and changes are documented in the doxygen
the new changes are tested