diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5ed29a411..c4ec818767 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -147,9 +147,22 @@ jobs: fetch-depth: 0 - name: Run check run: | + base_regexp_single_date="/Copyright (c) .* PLACEHOLDER/s/ \([0-9]\+\)[-0-9]*/ \\1-$(date +%Y)/" + base_regexp_data_range="/Copyright (c) .* PLACEHOLDER/s/$(date +%Y)-$(date +%Y)/$(date +%Y)/" + + regexp_intel_single_date=$(echo "$base_regexp_single_date" | sed 's/PLACEHOLDER/Intel Corporation/') + regexp_intel_data_range=$(echo "$base_regexp_data_range" | sed 's/PLACEHOLDER/Intel Corporation/') + regexp_uxl_single_date=$(echo "$base_regexp_single_date" | sed 's/PLACEHOLDER/UXL Foundation Contributors/') + regexp_uxl_data_range=$(echo "$base_regexp_data_range" | sed 's/PLACEHOLDER/UXL Foundation Contributors/') + + echo "$regexp_intel_single_date" + echo "$regexp_intel_data_range" + echo "$regexp_uxl_data_range" + echo "$regexp_uxl_single_date" + sed -i \ - -e "/Copyright (c) .* Intel Corporation/s/ \([0-9]\+\)[-0-9]*/ \\1-$(date +%Y)/" \ - -e "/Copyright (c) .* Intel Corporation/s/$(date +%Y)-$(date +%Y)/$(date +%Y)/" \ + -e "$regexp_intel_single_date" -e "$regexp_intel_data_range" \ + -e "$regexp_uxl_single_date" -e "$regexp_uxl_data_range" \ $(git diff --diff-filter=d --name-only ${{ github.event.pull_request.base.sha }}) git checkout -- third-party-programs.txt git diff > years.diff diff --git a/include/oneapi/tbb/blocked_nd_range.h b/include/oneapi/tbb/blocked_nd_range.h index 0d499d54a4..7bc63af9cb 100644 --- a/include/oneapi/tbb/blocked_nd_range.h +++ b/include/oneapi/tbb/blocked_nd_range.h @@ -33,6 +33,8 @@ namespace tbb { namespace detail { namespace d1 { +// Dummy change + /* The blocked_nd_range_impl uses make_index_sequence to automatically generate a ctor with exactly N arguments of the type tbb::blocked_range. Such ctor provides an opportunity