From 965b9c75f01a646d9b735bcc9adc0e8a69491248 Mon Sep 17 00:00:00 2001 From: Oleksandr Pavlyk Date: Thu, 23 May 2024 07:31:23 -0500 Subject: [PATCH] Added license headers for pre-unlink/post-link scripts These shell scripts are included in the shipped conda package, and require a license header. --- conda-recipe/dpctl-post-link.sh | 14 ++++++++++++++ conda-recipe/dpctl-pre-unlink.sh | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/conda-recipe/dpctl-post-link.sh b/conda-recipe/dpctl-post-link.sh index 8008c8d798..f6bcf9c21e 100644 --- a/conda-recipe/dpctl-post-link.sh +++ b/conda-recipe/dpctl-post-link.sh @@ -1,5 +1,19 @@ #!/usr/bin/bash +# Copyright 2020-2024 Intel Corporation +# +# Licensed 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. + systemwide_icd=/etc/OpenCL/vendors/intel.icd local_vendors=$PREFIX/etc/OpenCL/vendors icd_fn=$local_vendors/intel-ocl-gpu.icd diff --git a/conda-recipe/dpctl-pre-unlink.sh b/conda-recipe/dpctl-pre-unlink.sh index 63a11c7a36..747a201363 100644 --- a/conda-recipe/dpctl-pre-unlink.sh +++ b/conda-recipe/dpctl-pre-unlink.sh @@ -1,5 +1,19 @@ #!/usr/bin/bash +# Copyright 2020-2024 Intel Corporation +# +# Licensed 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. + local_vendors=$PREFIX/etc/OpenCL/vendors icd_fn=$local_vendors/intel-ocl-gpu.icd