From 36bc73fc7c7c5273a137116762711bc01180157e Mon Sep 17 00:00:00 2001 From: weili10 Date: Thu, 29 Jul 2021 15:51:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=89=88=E6=9D=83=E5=A3=B0?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/gen.sh | 16 ++++++++++++++++ scripts/makepatch.sh | 17 +++++++++++++++++ scripts/mkdirs.sh | 16 ++++++++++++++++ 3 files changed, 49 insertions(+) diff --git a/scripts/gen.sh b/scripts/gen.sh index b8c938948e..8a56d900c5 100644 --- a/scripts/gen.sh +++ b/scripts/gen.sh @@ -1,3 +1,19 @@ +#!/bin/bash + +# Copyright (c) 2020, Huawei Technologies Co., Ltd +# All rights reserved. +# +# Licensed under the BSD 3-Clause License (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://opensource.org/licenses/BSD-3-Clause +# +# 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. CUR_DIR=$(dirname $(readlink -f $0)) ROOT_DIR=$CUR_DIR/.. diff --git a/scripts/makepatch.sh b/scripts/makepatch.sh index 4a8041b3cd..db14e8b7d9 100644 --- a/scripts/makepatch.sh +++ b/scripts/makepatch.sh @@ -1 +1,18 @@ +#!/bin/bash + +# Copyright (c) 2020, Huawei Technologies Co., Ltd +# All rights reserved. +# +# Licensed under the BSD 3-Clause License (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://opensource.org/licenses/BSD-3-Clause +# +# 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. + diff -Nur --exclude=.git* --exclude=.jenkins --exclude=android --exclude=OWNERS --exclude=third_party --exclude=README* -Nur pytorch-v1.5.0 pytorch-develop >npu.patch diff --git a/scripts/mkdirs.sh b/scripts/mkdirs.sh index 2ff3f15ae1..b6ddad50f5 100644 --- a/scripts/mkdirs.sh +++ b/scripts/mkdirs.sh @@ -1,3 +1,19 @@ +#!/bin/bash + +# Copyright (c) 2020, Huawei Technologies Co., Ltd +# All rights reserved. +# +# Licensed under the BSD 3-Clause License (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://opensource.org/licenses/BSD-3-Clause +# +# 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. CUR_DIR=$(dirname $(readlink -f $0)) ROOT_DIR=$CUR_DIR/.. -- Gitee