From 83b28911cbc4a49521c69d8c4330a7234436b2fa Mon Sep 17 00:00:00 2001 From: Leonard Lausen Date: Fri, 17 Jan 2020 13:23:53 +0000 Subject: [PATCH] Don't relicense FindCUDAToolkit.cmake (#17334) https://www.apache.org/legal/src-headers.html#3party recommends to license small changes based on the original license. Thus I re-license my changes to FindCUDAToolkit.cmake under the BSD license used by CMake (see file header). --- LICENSE | 2 ++ cmake/Modules/FindCUDAToolkit.cmake | 19 ------------------- .../apache_rat_license_check/rat-excludes | 1 + tools/license_header.py | 3 ++- 4 files changed, 5 insertions(+), 20 deletions(-) diff --git a/LICENSE b/LICENSE index 877e458ef7dd..8918793a6e95 100644 --- a/LICENSE +++ b/LICENSE @@ -326,6 +326,8 @@ Copyright 2005-2015, Google Inc. 8. OpenMP Testsuite - For details, see, 3rdparty/openmp/testsuite/LICENSE Copyright (c) 2011, 2012 University of Houston System + 9. CMake FindCUDAToolkit.cmake - For details, see, cmake/Modules/FindCUDAToolkit.cmake + Copyright 2000-2019 Kitware, Inc. and Contributors ======================================================================================= diff --git a/cmake/Modules/FindCUDAToolkit.cmake b/cmake/Modules/FindCUDAToolkit.cmake index 1d9af2f548d0..d37c44d9c782 100644 --- a/cmake/Modules/FindCUDAToolkit.cmake +++ b/cmake/Modules/FindCUDAToolkit.cmake @@ -1,22 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -# Original license notice, prior to modification by MXNet Contributors: -# # Copyright 2000-2019 Kitware, Inc. and Contributors # All rights reserved. # diff --git a/tests/nightly/apache_rat_license_check/rat-excludes b/tests/nightly/apache_rat_license_check/rat-excludes index 4297fa6bdec4..cc0001fd92d7 100755 --- a/tests/nightly/apache_rat_license_check/rat-excludes +++ b/tests/nightly/apache_rat_license_check/rat-excludes @@ -75,3 +75,4 @@ include/* searchtools_custom.js theme.conf LICENSE.binary.dependencies +cmake/Modules/FindCUDAToolkit.cmake diff --git a/tools/license_header.py b/tools/license_header.py index 2e3a03451369..668a74b2817f 100755 --- a/tools/license_header.py +++ b/tools/license_header.py @@ -76,7 +76,7 @@ # Docs Jekyll website under different licenses 'docs/static_site', - + # Code shared with project by author - see file for details 'src/operator/special_functions-inl.h', @@ -98,6 +98,7 @@ 'docs/_static/js/clipboard.js', 'docs/_static/js/clipboard.min.js', 'docs/static_site/src/assets/js/clipboard.js', + 'cmake/Modules/FindCUDAToolkit.cmake', # Licensed under 2-Clause BSD in header 'example/ssd/dataset/pycocotools/coco.py',