diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a0d49c1f9..8be2f709d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + .docker_image: &docker_image variables: GIT_CLONE_PATH: $CI_BUILDS_DIR/gitlab-kitware-sciviz-ci diff --git a/.gitlab/ci/ascent.yml b/.gitlab/ci/ascent.yml index 19e33cf7e..dad36a11d 100644 --- a/.gitlab/ci/ascent.yml +++ b/.gitlab/ci/ascent.yml @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + # Ad-hoc build that runs in the ECP Hardware, concretely in OLCF Ascent. .ascent_gcc_cuda: variables: diff --git a/.gitlab/ci/centos7.yml b/.gitlab/ci/centos7.yml index 03559a06a..c4df79941 100644 --- a/.gitlab/ci/centos7.yml +++ b/.gitlab/ci/centos7.yml @@ -1,3 +1,14 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= # Build on centos7 with CUDA and test on rhel8 and centos7 # gcc 7.3.1 diff --git a/.gitlab/ci/centos8.yml b/.gitlab/ci/centos8.yml index 7e5217a8d..535b028af 100644 --- a/.gitlab/ci/centos8.yml +++ b/.gitlab/ci/centos8.yml @@ -1,3 +1,14 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= # Build on centos8 with serial and test on centos8 # Uses gcc 8.2.1 diff --git a/.gitlab/ci/config/cmake.ps1 b/.gitlab/ci/config/cmake.ps1 index f74821022..f0d323aa6 100755 --- a/.gitlab/ci/config/cmake.ps1 +++ b/.gitlab/ci/config/cmake.ps1 @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + $erroractionpreference = "stop" $version = "3.21.1" diff --git a/.gitlab/ci/config/cmake.sh b/.gitlab/ci/config/cmake.sh index 1de03fe72..17c955099 100755 --- a/.gitlab/ci/config/cmake.sh +++ b/.gitlab/ci/config/cmake.sh @@ -1,6 +1,18 @@ #!/usr/bin/env bash # shellcheck disable=SC2079 +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + set -ex version="${1:-3.23.4}" diff --git a/.gitlab/ci/config/ecpci-amend-commit.sh b/.gitlab/ci/config/ecpci-amend-commit.sh index 912d89015..4c52c50ff 100755 --- a/.gitlab/ci/config/ecpci-amend-commit.sh +++ b/.gitlab/ci/config/ecpci-amend-commit.sh @@ -1,6 +1,18 @@ #!/bin/bash -e # shellcheck disable=SC2155 +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + git rev-parse @ > ./ORIGINAL_COMMIT_SHA git add ./ORIGINAL_COMMIT_SHA diff --git a/.gitlab/ci/config/ecpci-fetch-commit-trace.py b/.gitlab/ci/config/ecpci-fetch-commit-trace.py index 12358ca85..a0605cad3 100755 --- a/.gitlab/ci/config/ecpci-fetch-commit-trace.py +++ b/.gitlab/ci/config/ecpci-fetch-commit-trace.py @@ -1,5 +1,17 @@ #!/usr/bin/env python3 +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + import json import ssl import sys diff --git a/.gitlab/ci/config/ecpci-push-branch.sh b/.gitlab/ci/config/ecpci-push-branch.sh index 41fe9bcab..ae38b0bfc 100755 --- a/.gitlab/ci/config/ecpci-push-branch.sh +++ b/.gitlab/ci/config/ecpci-push-branch.sh @@ -1,3 +1,15 @@ #!/bin/bash -ex +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + git -c http.sslVerify=false push --no-verify -f "$1" "HEAD:refs/heads/${2}" diff --git a/.gitlab/ci/config/ecpci-remove-branch.sh b/.gitlab/ci/config/ecpci-remove-branch.sh index fcb8f37d9..4c208bc97 100755 --- a/.gitlab/ci/config/ecpci-remove-branch.sh +++ b/.gitlab/ci/config/ecpci-remove-branch.sh @@ -1,3 +1,15 @@ #!/bin/bash -ex +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + git -c http.sslVerify=false push --delete "$1" "$2" diff --git a/.gitlab/ci/config/ecpci-wait-commit-status.sh b/.gitlab/ci/config/ecpci-wait-commit-status.sh index b1176ecd9..c774b2393 100755 --- a/.gitlab/ci/config/ecpci-wait-commit-status.sh +++ b/.gitlab/ci/config/ecpci-wait-commit-status.sh @@ -1,6 +1,18 @@ #!/bin/bash -e # shellcheck disable=SC2155 +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + declare -r POLL_INTERVAL_SECONDS="10" function fetch_commit_status() diff --git a/.gitlab/ci/config/google_benchmarks.sh b/.gitlab/ci/config/google_benchmarks.sh index e778c5170..333076225 100755 --- a/.gitlab/ci/config/google_benchmarks.sh +++ b/.gitlab/ci/config/google_benchmarks.sh @@ -1,5 +1,17 @@ #!/bin/bash +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + set -xe readonly version="v1.6.1" diff --git a/.gitlab/ci/config/kokkos.sh b/.gitlab/ci/config/kokkos.sh index 698f03b6a..c3af7174d 100755 --- a/.gitlab/ci/config/kokkos.sh +++ b/.gitlab/ci/config/kokkos.sh @@ -1,4 +1,17 @@ #!/usr/bin/env bash + +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + set -x WORKDIR="$1" diff --git a/.gitlab/ci/config/sccache.sh b/.gitlab/ci/config/sccache.sh index a581fd1db..cdf9031e5 100755 --- a/.gitlab/ci/config/sccache.sh +++ b/.gitlab/ci/config/sccache.sh @@ -1,5 +1,17 @@ #!/bin/sh +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + set -e readonly version="nvcc_v4" diff --git a/.gitlab/ci/config/vcvarsall.ps1 b/.gitlab/ci/config/vcvarsall.ps1 index 57d338632..1813a0c18 100755 --- a/.gitlab/ci/config/vcvarsall.ps1 +++ b/.gitlab/ci/config/vcvarsall.ps1 @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + $erroractionpreference = "stop" cmd /c "`"$env:VCVARSALL`" $VCVARSPLATFORM -vcvars_ver=$VCVARSVERSION & set" | diff --git a/.gitlab/ci/crusher.yml b/.gitlab/ci/crusher.yml index ef3a54d9c..de029b56e 100644 --- a/.gitlab/ci/crusher.yml +++ b/.gitlab/ci/crusher.yml @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + # Ad-hoc build that runs in the ECP Hardware, concretely in OLCF Spock. .crusher_gcc_hip: variables: diff --git a/.gitlab/ci/docker/centos7/cuda10.2/Dockerfile b/.gitlab/ci/docker/centos7/cuda10.2/Dockerfile index f71f5ab0c..afb457f7a 100644 --- a/.gitlab/ci/docker/centos7/cuda10.2/Dockerfile +++ b/.gitlab/ci/docker/centos7/cuda10.2/Dockerfile @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + FROM nvidia/cuda:10.2-devel-centos7 LABEL maintainer "Robert Maynard" diff --git a/.gitlab/ci/docker/centos8/base/Dockerfile b/.gitlab/ci/docker/centos8/base/Dockerfile index eb9b7f363..af21e6dde 100644 --- a/.gitlab/ci/docker/centos8/base/Dockerfile +++ b/.gitlab/ci/docker/centos8/base/Dockerfile @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + FROM centos:8 LABEL maintainer "Robert Maynard" diff --git a/.gitlab/ci/docker/opensuse/Dockerfile b/.gitlab/ci/docker/opensuse/Dockerfile index be11c9404..9143683dc 100644 --- a/.gitlab/ci/docker/opensuse/Dockerfile +++ b/.gitlab/ci/docker/opensuse/Dockerfile @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + FROM opensuse/tumbleweed LABEL maintainer "Vicente Adolfo Bolea Sanchez" diff --git a/.gitlab/ci/docker/rhel8/cuda10.2/Dockerfile b/.gitlab/ci/docker/rhel8/cuda10.2/Dockerfile index 90c7242cd..73caa7749 100644 --- a/.gitlab/ci/docker/rhel8/cuda10.2/Dockerfile +++ b/.gitlab/ci/docker/rhel8/cuda10.2/Dockerfile @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + FROM nvidia/cuda:10.2-devel-ubi8 LABEL maintainer "Robert Maynard" diff --git a/.gitlab/ci/docker/ubuntu1604/base/Dockerfile b/.gitlab/ci/docker/ubuntu1604/base/Dockerfile index 3a010ecf6..dc3ccea68 100644 --- a/.gitlab/ci/docker/ubuntu1604/base/Dockerfile +++ b/.gitlab/ci/docker/ubuntu1604/base/Dockerfile @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + FROM ubuntu:16.04 LABEL maintainer "Robert Maynard" diff --git a/.gitlab/ci/docker/ubuntu1604/cuda9.2/Dockerfile b/.gitlab/ci/docker/ubuntu1604/cuda9.2/Dockerfile index f403ae016..3483d2a3b 100644 --- a/.gitlab/ci/docker/ubuntu1604/cuda9.2/Dockerfile +++ b/.gitlab/ci/docker/ubuntu1604/cuda9.2/Dockerfile @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + FROM nvidia/cuda:9.2-devel-ubuntu16.04 LABEL maintainer "Robert Maynard" diff --git a/.gitlab/ci/docker/ubuntu1804/base/Dockerfile b/.gitlab/ci/docker/ubuntu1804/base/Dockerfile index 9d927e2f2..0c64f536c 100644 --- a/.gitlab/ci/docker/ubuntu1804/base/Dockerfile +++ b/.gitlab/ci/docker/ubuntu1804/base/Dockerfile @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + FROM ubuntu:18.04 LABEL maintainer "Robert Maynard" diff --git a/.gitlab/ci/docker/ubuntu1804/cuda/Dockerfile b/.gitlab/ci/docker/ubuntu1804/cuda/Dockerfile index a1eb81f13..f1f39de8a 100644 --- a/.gitlab/ci/docker/ubuntu1804/cuda/Dockerfile +++ b/.gitlab/ci/docker/ubuntu1804/cuda/Dockerfile @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + FROM nvidia/cuda:11.7.1-devel-ubuntu18.04 LABEL maintainer "Vicente Adolfo Bolea Sanchez " diff --git a/.gitlab/ci/docker/ubuntu1804/kokkos-cuda/Dockerfile b/.gitlab/ci/docker/ubuntu1804/kokkos-cuda/Dockerfile index 1383dc4ff..b3978e335 100644 --- a/.gitlab/ci/docker/ubuntu1804/kokkos-cuda/Dockerfile +++ b/.gitlab/ci/docker/ubuntu1804/kokkos-cuda/Dockerfile @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + FROM nvidia/cuda:11.6.1-devel-ubuntu18.04 LABEL maintainer "Vicente Adolfo Bolea Sanchez" diff --git a/.gitlab/ci/docker/ubuntu2004/base/Dockerfile b/.gitlab/ci/docker/ubuntu2004/base/Dockerfile index 9f88be281..68b27507d 100644 --- a/.gitlab/ci/docker/ubuntu2004/base/Dockerfile +++ b/.gitlab/ci/docker/ubuntu2004/base/Dockerfile @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + FROM ubuntu:20.04 LABEL maintainer "Vicente Adolfo Bolea Sanchez" diff --git a/.gitlab/ci/docker/ubuntu2004/doxygen/Dockerfile b/.gitlab/ci/docker/ubuntu2004/doxygen/Dockerfile index 5438644d3..6ddb98659 100644 --- a/.gitlab/ci/docker/ubuntu2004/doxygen/Dockerfile +++ b/.gitlab/ci/docker/ubuntu2004/doxygen/Dockerfile @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + FROM ubuntu:20.04 LABEL maintainer "Robert Maynard" diff --git a/.gitlab/ci/docker/ubuntu2004/kokkos-hip/Dockerfile b/.gitlab/ci/docker/ubuntu2004/kokkos-hip/Dockerfile index 8cffc8b17..34fb113b7 100644 --- a/.gitlab/ci/docker/ubuntu2004/kokkos-hip/Dockerfile +++ b/.gitlab/ci/docker/ubuntu2004/kokkos-hip/Dockerfile @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + FROM rocm/dev-ubuntu-20.04 LABEL maintainer "Vicente Adolfo Bolea Sanchez" diff --git a/.gitlab/ci/docker/ubuntu2004/kokkos/Dockerfile b/.gitlab/ci/docker/ubuntu2004/kokkos/Dockerfile index e3ff20b35..37d28f1c7 100644 --- a/.gitlab/ci/docker/ubuntu2004/kokkos/Dockerfile +++ b/.gitlab/ci/docker/ubuntu2004/kokkos/Dockerfile @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + FROM ubuntu:20.04 LABEL maintainer "Sujin Philip" diff --git a/.gitlab/ci/docker/update_all.sh b/.gitlab/ci/docker/update_all.sh index 0acb769d9..164cc29ab 100755 --- a/.gitlab/ci/docker/update_all.sh +++ b/.gitlab/ci/docker/update_all.sh @@ -1,5 +1,17 @@ #!/bin/sh +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + set -e set -x diff --git a/.gitlab/ci/doxygen.yml b/.gitlab/ci/doxygen.yml index b8a6271dc..9e24b55e5 100644 --- a/.gitlab/ci/doxygen.yml +++ b/.gitlab/ci/doxygen.yml @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + .doxygen_submit: &doxygen_submit stage: build tags: diff --git a/.gitlab/ci/macos.yml b/.gitlab/ci/macos.yml index e006fadc3..b7ab7978b 100644 --- a/.gitlab/ci/macos.yml +++ b/.gitlab/ci/macos.yml @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + # Ad-hoc build that runs in macos machines build:macos_xcode13: extends: diff --git a/.gitlab/ci/opensuse.yml b/.gitlab/ci/opensuse.yml index 8bda47f3e..912f63b9e 100644 --- a/.gitlab/ci/opensuse.yml +++ b/.gitlab/ci/opensuse.yml @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + build:opensuse_gcc13: tags: - build diff --git a/.gitlab/ci/rhel8.yml b/.gitlab/ci/rhel8.yml index 5908aa322..4a0875f32 100644 --- a/.gitlab/ci/rhel8.yml +++ b/.gitlab/ci/rhel8.yml @@ -1,3 +1,14 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= # Build on rhel8 with serial and test on rhel8 # Uses gcc 8.2.1 diff --git a/.gitlab/ci/ubuntu1604.yml b/.gitlab/ci/ubuntu1604.yml index 6baba14aa..77e3744dc 100644 --- a/.gitlab/ci/ubuntu1604.yml +++ b/.gitlab/ci/ubuntu1604.yml @@ -1,3 +1,14 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= # Build on ubuntu1604 with CUDA 9.2 and test on ubuntu1604 and ubuntu1804 # Uses gcc 5, and build for pascal as CUDA 9.2 doesn't support turing diff --git a/.gitlab/ci/ubuntu1804.yml b/.gitlab/ci/ubuntu1804.yml index f99dbce07..58d94a30f 100644 --- a/.gitlab/ci/ubuntu1804.yml +++ b/.gitlab/ci/ubuntu1804.yml @@ -1,3 +1,14 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= # Build on ubuntu1804 with TBB and OpenMP and test on ubuntu1804 # Uses gcc 9 diff --git a/.gitlab/ci/ubuntu2004.yml b/.gitlab/ci/ubuntu2004.yml index d9ffbefc5..5205c7649 100644 --- a/.gitlab/ci/ubuntu2004.yml +++ b/.gitlab/ci/ubuntu2004.yml @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + build:ubuntu2004_kokkos: tags: - build diff --git a/.gitlab/ci/windows10.yml b/.gitlab/ci/windows10.yml index 888e393d5..e6ea9e8c3 100644 --- a/.gitlab/ci/windows10.yml +++ b/.gitlab/ci/windows10.yml @@ -1,3 +1,15 @@ +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + .windows_build: variables: # Note that shell runners only support runners with a single diff --git a/CMake/VTKmCheckCopyright.cmake b/CMake/VTKmCheckCopyright.cmake index c8e8782a2..1ac435e60 100644 --- a/CMake/VTKmCheckCopyright.cmake +++ b/CMake/VTKmCheckCopyright.cmake @@ -22,8 +22,15 @@ set(FILES_TO_CHECK *.cmake *.h *.h.in + *.hxx *.cxx *.cu + *.py + *.sh + *.ps1 + Dockerfile + *.yaml + *.yml ) set(EXCEPTIONS @@ -150,21 +157,19 @@ endfunction(missing_copyright) # Get an appropriate beginning line comment for the given filename. function(get_comment_prefix var filename) - get_filename_component(base "${filename}" NAME_WE) - get_filename_component(extension "${filename}" EXT) - if (extension STREQUAL ".cmake") + get_filename_component(name "${filename}" NAME) + if(name MATCHES "\\.(cmake|py|sh|ps1|yaml|yml)$" + OR name STREQUAL "CMakeLists.txt" + OR name STREQUAL "Dockerfile" + ) set(${var} "##" PARENT_SCOPE) - elseif (base STREQUAL "CMakeLists" AND extension STREQUAL ".txt") - set(${var} "##" PARENT_SCOPE) - elseif (extension STREQUAL ".txt") + elseif (name MATCHES "\\.(h|h\\.in|hxx|cxx|cu)$") + set(${var} "//" PARENT_SCOPE) + elseif (name MATCHES "\\.txt$") set(${var} "" PARENT_SCOPE) - elseif (extension STREQUAL ".h" OR extension STREQUAL ".h.in" OR extension STREQUAL ".cxx" OR extension STREQUAL ".cu") - set(${var} "//" PARENT_SCOPE) - elseif (extension STREQUAL ".worklet") - set(${var} "//" PARENT_SCOPE) - else (extension STREQUAL ".cmake") - message(SEND_ERROR "Could not identify file type of ${filename}.") - endif (extension STREQUAL ".cmake") + else () + message(FATAL_ERROR "Could not identify file type of `${name}`.") + endif () endfunction(get_comment_prefix) # Check the given file for the appropriate copyright statement. diff --git a/CMakeLists.txt b/CMakeLists.txt index b92561523..39a9b3bc0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -465,11 +465,14 @@ if (VTKm_ENABLE_TESTING) add_test(NAME SystemInformation COMMAND ${CMAKE_COMMAND} "-DVTKm_SOURCE_DIR=${VTKm_SOURCE_DIR}" "-DVTKm_BINARY_DIR=${VTKm_BINARY_DIR}" -P "${VTKm_SOURCE_DIR}/CMake/testing/VTKmSystemInformation.cmake" ) - add_test(NAME CopyrightStatement - COMMAND ${CMAKE_COMMAND} "-DVTKm_SOURCE_DIR=${VTKm_SOURCE_DIR}" -P "${VTKm_SOURCE_DIR}/CMake/VTKmCheckCopyright.cmake" - ) - # increase timeout since on some machines CopyrightStatement test takes a long time. - set_tests_properties(CopyrightStatement PROPERTIES TIMEOUT 300) + if(NOT WIN32) + # Test takes too long on windows + add_test(NAME CopyrightStatement + COMMAND ${CMAKE_COMMAND} "-DVTKm_SOURCE_DIR=${VTKm_SOURCE_DIR}" -P "${VTKm_SOURCE_DIR}/CMake/VTKmCheckCopyright.cmake" + ) + # increase timeout since on some machines CopyrightStatement test takes a long time. + set_tests_properties(CopyrightStatement PROPERTIES TIMEOUT 300) + endif() # Setup the infrastructure to allow VTK-m to run tests against a temporary # installed version of VTK-m. diff --git a/LICENSE.txt b/LICENSE.txt index 58561b095..567a883c7 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -52,6 +52,7 @@ CMake/FindTBB.cmake Utilities vtkm/cont/tbb/internal/parallel_sort.h vtkm/cont/tbb/internal/parallel_radix_sort_tbb.h +vtkm/cont/tbb/internal/ParallelSortTBB.hxx vtkm/cont/tbb/internal/kxsort.h vtkm/thirdparty version.txt diff --git a/examples/contour_tree_distributed/hact_test.sh b/examples/contour_tree_distributed/hact_test.sh index f08a25718..07a707cc9 100755 --- a/examples/contour_tree_distributed/hact_test.sh +++ b/examples/contour_tree_distributed/hact_test.sh @@ -1,4 +1,17 @@ #!/bin/sh + +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + GTCT_DIR=${GTCT_DIR:-${HOME}/devel/parallel-peak-pruning/ContourTree/SweepAndMergeSerial/out} RED="" GREEN="" diff --git a/examples/contour_tree_distributed/hact_test_branch_decomposition.sh b/examples/contour_tree_distributed/hact_test_branch_decomposition.sh index 8a5fb0fc7..c2458e3cc 100755 --- a/examples/contour_tree_distributed/hact_test_branch_decomposition.sh +++ b/examples/contour_tree_distributed/hact_test_branch_decomposition.sh @@ -1,4 +1,17 @@ #!/bin/sh + +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + GTCT_DIR=${GTCT_DIR:-${HOME}/devel/parallel-peak-pruning/ContourTree/SweepAndMergeSerial/out} RED="" GREEN="" diff --git a/examples/contour_tree_distributed/hact_test_volume.sh b/examples/contour_tree_distributed/hact_test_volume.sh index 3a461e961..e10e86607 100755 --- a/examples/contour_tree_distributed/hact_test_volume.sh +++ b/examples/contour_tree_distributed/hact_test_volume.sh @@ -1,4 +1,17 @@ #!/bin/sh + +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + GTCT_DIR=${GTCT_DIR:-${HOME}/devel/parallel-peak-pruning/ContourTree/SweepAndMergeSerial/out} RED="" GREEN="" diff --git a/examples/contour_tree_distributed/split_data_2d.py b/examples/contour_tree_distributed/split_data_2d.py index fb8c9d50e..4bd33afc8 100755 --- a/examples/contour_tree_distributed/split_data_2d.py +++ b/examples/contour_tree_distributed/split_data_2d.py @@ -1,4 +1,17 @@ #!/usr/bin/env python3 + +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + import numpy as np import math import os diff --git a/examples/contour_tree_distributed/split_data_3d.py b/examples/contour_tree_distributed/split_data_3d.py index 83b311c90..e6a723a4f 100755 --- a/examples/contour_tree_distributed/split_data_3d.py +++ b/examples/contour_tree_distributed/split_data_3d.py @@ -1,4 +1,17 @@ #!/usr/bin/env python3 + +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + import numpy as np import math import os diff --git a/examples/contour_tree_distributed/testrun.sh b/examples/contour_tree_distributed/testrun.sh index f07570ef2..30e34819f 100755 --- a/examples/contour_tree_distributed/testrun.sh +++ b/examples/contour_tree_distributed/testrun.sh @@ -1,5 +1,17 @@ #!/bin/sh +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + mkdir -p out DATA_DIR=${DATA_DIR:-${HOME}/devel/parallel-peak-pruning/Data/2D} diff --git a/examples/contour_tree_distributed/testrun_branch_decomposition.sh b/examples/contour_tree_distributed/testrun_branch_decomposition.sh index 5de23883a..5a61e86fa 100755 --- a/examples/contour_tree_distributed/testrun_branch_decomposition.sh +++ b/examples/contour_tree_distributed/testrun_branch_decomposition.sh @@ -1,5 +1,17 @@ #!/bin/sh +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + mkdir -p out DATA_DIR=${DATA_DIR:-${HOME}/devel/parallel-peak-pruning/Data/2D} diff --git a/examples/contour_tree_distributed/testrun_volume.sh b/examples/contour_tree_distributed/testrun_volume.sh index 78af2babd..303a9467e 100755 --- a/examples/contour_tree_distributed/testrun_volume.sh +++ b/examples/contour_tree_distributed/testrun_volume.sh @@ -1,5 +1,17 @@ #!/bin/sh +##============================================================================= +## +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +##============================================================================= + mkdir -p out DATA_DIR=${DATA_DIR:-${HOME}/devel/parallel-peak-pruning/Data/2D}