Skip to content
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

Switch to c++14 #155

Merged
merged 7 commits into from
Apr 17, 2021
Merged

Switch to c++14 #155

merged 7 commits into from
Apr 17, 2021

Conversation

simogasp
Copy link
Member

Switching to c++14 standard.
That automatically requires raising the minimum version of the compilers (gcc >= 5, clang >= 3.4, msvc >= 2017) and the cuda sdk >= 9.0.

Copy link
Member

@griwodz griwodz left a comment

Choose a reason for hiding this comment

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

Works for me and looks complete for me. I tried also pgc++, but it incompatible with TBB.

@@ -5,6 +5,9 @@ if(NOT CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
include(GNUInstallDirs)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}")

set(CMAKE_CXX_STANDARD 14)
Copy link
Member

Choose a reason for hiding this comment

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

Is the CCTAG_CXX_STANDARD variable automatically visible in src/applications/CMakeLists.txt. It would be convenient if it could be reused here.

Copy link
Member

Choose a reason for hiding this comment

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

bad comment, because this is in the standalone branch, withdrawing it

@simogasp
Copy link
Member Author

@fabiencastan can we merge?

@simogasp simogasp merged commit cad8271 into develop Apr 17, 2021
@simogasp simogasp deleted the dev/c++14 branch April 17, 2021 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants