From 28e29248e24fc46ad72fd634156d4221b317432a Mon Sep 17 00:00:00 2001 From: "Jonathan M. Waldrop" Date: Thu, 20 Nov 2025 11:14:34 -0600 Subject: [PATCH 1/2] GHA workflow update; C++-20 compliance --- .github/workflows/pull_request.yaml | 6 +++--- CMakeLists.txt | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 4a2a027..07b2fd2 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -32,16 +32,16 @@ jobs: test_library: uses: NWChemEx/.github/.github/workflows/test_nwx_library.yaml@master with: - compilers: '["gcc-11", "clang-14"]' + compilers: '["gcc-14", "clang-19"]' integration_tests: uses: NWChemEx/.github/.github/workflows/test_nwx_library.yaml@master with: - compilers: '["gcc-11", "clang-14"]' + compilers: '["gcc-14", "clang-19"]' repo_toolchain: '.github/integration_testing.cmake' # tamm_tests: # uses: NWChemEx/.github/.github/workflows/test_nwx_library.yaml@master # with: - # compilers: '["gcc-11"]' + # compilers: '["gcc-14"]' # repo_toolchain: '.github/tamm_testing.cmake' diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f8a07e..59e15e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,6 +20,7 @@ cmake_minimum_required(VERSION 3.14) #include(get_version_from_git) #get_version_from_git(scf_version "${CMAKE_CURRENT_LIST_DIR}") project(scf VERSION "1.0.0" LANGUAGES CXX) +set(CMAKE_CXX_STANDARD 20) include(cmake/get_nwx_cmake.cmake) include(nwx_versions) include(get_cmaize) From 01f361f1d65f37716b9dd2cb6893e389ba9dc322 Mon Sep 17 00:00:00 2001 From: "Jonathan M. Waldrop" Date: Thu, 20 Nov 2025 13:06:46 -0600 Subject: [PATCH 2/2] Update compilers in pull_request.yaml to clang-18 --- .github/workflows/pull_request.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 07b2fd2..b5e19ce 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -32,12 +32,12 @@ jobs: test_library: uses: NWChemEx/.github/.github/workflows/test_nwx_library.yaml@master with: - compilers: '["gcc-14", "clang-19"]' + compilers: '["gcc-14", "clang-18"]' integration_tests: uses: NWChemEx/.github/.github/workflows/test_nwx_library.yaml@master with: - compilers: '["gcc-14", "clang-19"]' + compilers: '["gcc-14", "clang-18"]' repo_toolchain: '.github/integration_testing.cmake' # tamm_tests: