Skip to content

Require C++17#1893

Merged
alexsavulescu merged 43 commits into
masterfrom
olupton/c++17
Jul 6, 2022
Merged

Require C++17#1893
alexsavulescu merged 43 commits into
masterfrom
olupton/c++17

Conversation

@olupton

@olupton olupton commented Jun 30, 2022

Copy link
Copy Markdown
Collaborator

Let's see what breaks...

Based on https://en.cppreference.com/w/cpp/compiler_support/17, this will correspond to requiring ~GCC7 or ~Clang5.

TODO:

@alkino

alkino commented Jun 30, 2022

Copy link
Copy Markdown
Member

When you bump version of nrn, you can in the same time bump the one for InterViews. Normally it's already c++17 ready due to: neuronsimulator/iv#39

@pramodk

pramodk commented Jul 1, 2022

Copy link
Copy Markdown
Member

Document that flex 2.6+ is required (older versions emit the register keyword)

@olupton: Does any of our CI (images) from nrn-build-ci include flex < 2.6?

Edit: Hmm..Ok, I see the failing CIs.

@olupton

olupton commented Jul 1, 2022

Copy link
Copy Markdown
Collaborator Author

Document that flex 2.6+ is required (older versions emit the register keyword)

@olupton: Does any of our CI (images) from nrn-build-ci include flex < 2.6?

macOS-10.15 (regular CI + nrn-build-ci) does: https://github.com/neuronsimulator/nrn/runs/7128845752#step:14:216
So does centos:7 in nrn-build-ci: https://github.com/neuronsimulator/nrn-build-ci/runs/7143554190#step:7:184

@codecov-commenter

codecov-commenter commented Jul 1, 2022

Copy link
Copy Markdown

Codecov Report

Merging #1893 (12530f3) into master (20c3abe) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #1893      +/-   ##
==========================================
- Coverage   47.17%   47.13%   -0.04%     
==========================================
  Files         543      543              
  Lines      112912   112912              
==========================================
- Hits        53264    53219      -45     
- Misses      59648    59693      +45     
Impacted Files Coverage Δ
src/ivoc/apwindow.cpp 4.46% <0.00%> (ø)
src/ivoc/axis.cpp 0.32% <0.00%> (ø)
src/ivoc/epsprint.cpp 7.14% <0.00%> (ø)
src/ivoc/graph.cpp 10.38% <0.00%> (ø)
src/ivoc/idraw.cpp 0.31% <0.00%> (ø)
src/ivoc/ivoc.h 0.00% <ø> (ø)
src/ivoc/ivocmain.cpp 74.28% <ø> (ø)
src/ivoc/ocbox.cpp 22.22% <0.00%> (ø)
src/ivoc/ocdeck.cpp 13.87% <0.00%> (ø)
src/ivoc/pwman.cpp 2.20% <0.00%> (ø)
... and 15 more

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@azure-pipelines

Copy link
Copy Markdown

✔️ 18456416f27b8e0d0bf70b8c9c772d1b5b21c168 -> Azure artifacts URL

@azure-pipelines

Copy link
Copy Markdown

✔️ 58e8ec65c83dd459a96d8ac564460ce802cad037 -> Azure artifacts URL

@azure-pipelines

Copy link
Copy Markdown

✔️ dfdd0a246f99810402323806b92767293a8bdb6b -> Azure artifacts URL

@azure-pipelines

Copy link
Copy Markdown

✔️ ae699d5 -> Azure artifacts URL

@alexsavulescu alexsavulescu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@azure-pipelines

Copy link
Copy Markdown

✔️ 12530f3 -> Azure artifacts URL

@azure-pipelines

Copy link
Copy Markdown

✔️ 655d2b1 -> Azure artifacts URL

@alexsavulescu alexsavulescu requested a review from ohm314 July 6, 2022 09:54
@olupton

olupton commented Jul 6, 2022

Copy link
Copy Markdown
Collaborator Author

LGTM, thanks for the finishing touches @alexsavulescu.

@olupton

olupton commented Jul 6, 2022

Copy link
Copy Markdown
Collaborator Author

✔️ 655d2b1 -> Azure artifacts URL

I checked this URL in https://bbpgitlab.epfl.ch/hpc/personal/neuron-gpu-wheel-testing/-/pipelines/63923 using the test_wheels.sh script with the GPU wheel on BB5.

@ohm314 ohm314 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants