Skip to content

Commit

Permalink
Merge pull request #6556 from STEllAR-GROUP/copyright_year
Browse files Browse the repository at this point in the history
Set copyright year in generated files
  • Loading branch information
hkaiser authored Nov 3, 2024
2 parents 3cfb67a + e26719a commit 6de3916
Show file tree
Hide file tree
Showing 19 changed files with 27 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ if(HPX_WITH_INSTALLED_VERSION)
return()
endif()

# ##############################################################################
string(TIMESTAMP HPX_COPYRIGHT_YEAR "%Y")

# ##############################################################################
# Build all of HPX
# ##############################################################################
Expand Down
6 changes: 6 additions & 0 deletions cmake/HPX_SetupNanobench.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright (c) 2024 Hartmut Kaiser
#
# SPDX-License-Identifier: BSL-1.0
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

include(FetchContent)

fetchcontent_declare(
Expand Down
2 changes: 1 addition & 1 deletion cmake/templates/HPXCacheVariables.cmake.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019 Ste||ar Group
# Copyright (c) 2020-@HPX_COPYRIGHT_YEAR@ STE||AR Group
#
# SPDX-License-Identifier: BSL-1.0
# Distributed under the Boost Software License, Version 1.0. (See accompanying
Expand Down
1 change: 1 addition & 0 deletions cmake/templates/HPXConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Copyright (c) 2020-@HPX_COPYRIGHT_YEAR@ STE||AR Group
# Copyright (c) 2014 Thomas Heller
# Copyright (c) 2015 Andreas Schaefer
#
Expand Down
1 change: 1 addition & 0 deletions cmake/templates/HPXMacros.cmake.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Copyright (c) 2020-@HPX_COPYRIGHT_YEAR@ STE||AR Group
# Copyright (c) 2014 Thomas Heller
# Copyright (c) 2015 Andreas Schaefer
# Copyright (c) 2019 Patrick Diehl
Expand Down
1 change: 1 addition & 0 deletions cmake/templates/cmake_variables.rst.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
..
Copyright (C) 2020-@HPX_COPYRIGHT_YEAR@ STE||AR Group
Copyright (C) 2018 Mikael Simberg
Copyright (C) 2014 Thomas Heller

Expand Down
2 changes: 1 addition & 1 deletion cmake/templates/compatibility_header.hpp.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2020-2022 STE||AR Group
// Copyright (c) 2020-@HPX_COPYRIGHT_YEAR@ STE||AR Group
//
// SPDX-License-Identifier: BSL-1.0
// Distributed under the Boost Software License, Version 1.0. (See accompanying
Expand Down
1 change: 1 addition & 0 deletions cmake/templates/conf.py.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright (c) 2020-@HPX_COPYRIGHT_YEAR@ STE||AR Group
# Copyright (c) 2018 Mikael Simberg
#
# SPDX-License-Identifier: BSL-1.0
Expand Down
1 change: 1 addition & 0 deletions cmake/templates/config_defines_entries_for_modules.cpp.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2020-@HPX_COPYRIGHT_YEAR@ STE||AR Group
// Copyright (c) 2017-2022 Hartmut Kaiser
//
// SPDX-License-Identifier: BSL-1.0
Expand Down
1 change: 1 addition & 0 deletions cmake/templates/config_defines_strings.hpp.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2020-@HPX_COPYRIGHT_YEAR@ STE||AR Group
// Copyright (c) 2017-2019 Hartmut Kaiser
//
// SPDX-License-Identifier: BSL-1.0
Expand Down
2 changes: 1 addition & 1 deletion cmake/templates/global_module_header.hpp.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2019-2022 STE||AR Group
// Copyright (c) 2019-@HPX_COPYRIGHT_YEAR@ STE||AR Group
//
// SPDX-License-Identifier: BSL-1.0
// Distributed under the Boost Software License, Version 1.0. (See accompanying
Expand Down
1 change: 1 addition & 0 deletions cmake/templates/hpx_application.pc.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Copyright (c) 2020-@HPX_COPYRIGHT_YEAR@ STE||AR Group
# Copyright (c) 2018 Christopher Hinz
# Copyright (c) 2014 Thomas Heller
# Copyright (c) 2012 Bryce Adelstein-Lelbach
Expand Down
1 change: 1 addition & 0 deletions cmake/templates/hpx_component.pc.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Copyright (c) 2020-@HPX_COPYRIGHT_YEAR@ STE||AR Group
# Copyright (c) 2018 Christopher Hinz
# Copyright (c) 2014 Thomas Heller
# Copyright (c) 2012 Bryce Adelstein-Lelbach
Expand Down
1 change: 1 addition & 0 deletions cmake/templates/hpxcxx.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#! @Python_EXECUTABLE@
#
# Copyright (c) 2020-@HPX_COPYRIGHT_YEAR@ STE||AR Group
# Copyright (c) 2014 Steven R. Brandt
#
# SPDX-License-Identifier: BSL-1.0
Expand Down
2 changes: 1 addition & 1 deletion cmake/templates/hpxdep_index.html.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright (c) 2022 Hartmut Kaiser
Copyright (c) 2022-@HPX_COPYRIGHT_YEAR@ STE||AR Group

SPDX-License-Identifier: BSL-1.0
Distributed under the Boost Software License, Version 1.0. (See accompanying
Expand Down
1 change: 1 addition & 0 deletions cmake/templates/hpxrun.py.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#! @Python_EXECUTABLE@
#
# Copyright (c) 2020-@HPX_COPYRIGHT_YEAR@ STE||AR Group
# Copyright (c) 2014 Thomas Heller
#
# SPDX-License-Identifier: BSL-1.0
Expand Down
2 changes: 1 addition & 1 deletion cmake/templates/modules_enabled.hpp.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2019 STE||AR Group
// Copyright (c) 2019-@HPX_COPYRIGHT_YEAR@ STE||AR Group
//
// SPDX-License-Identifier: BSL-1.0
// Distributed under the Boost Software License, Version 1.0. (See accompanying
Expand Down
2 changes: 1 addition & 1 deletion libs/core/async_cuda/tests/unit/saxpy.cu
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ void launch_saxpy_kernel(hpx::cuda::experimental::cuda_executor& cudaexec,
#else
auto launch_kernel = cudaLaunchKernel<void>;
#endif
hpx::post(cudaexec, launch_kernel, reinterpret_cast<const void*>(&saxpy),
hpx::post(cudaexec, launch_kernel, reinterpret_cast<void*>(&saxpy),
dim3(blocks), dim3(threads), args, std::size_t(0));
}
4 changes: 2 additions & 2 deletions libs/core/testing/src/performance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ namespace hpx::util {
char const* nanobench_hpx_simple_template() noexcept
{
return R"DELIM(Results:
{{#result}}
{{#result}}
name: {{name}},
executor: {{context(executor)}},
average: {{average(elapsed)}}{{^-last}}
Expand Down Expand Up @@ -238,7 +238,7 @@ average: {{average(elapsed)}}{{^-last}}
using timer = std::chrono::high_resolution_clock;
for (std::size_t i = 0; i != steps; ++i)
{
// For now we don't flush the cache
// For now, we don't flush the cache
//flush_cache();
timer::time_point start = timer::now();
test();
Expand Down

0 comments on commit 6de3916

Please sign in to comment.