diff --git a/scripts/gen.sh b/scripts/gen.sh index b8c938948e20792b7c2e545b1c7a4b5e844cf9f1..8a56d900c5bd94cc16b4149282fb874b41e240e2 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 4a8041b3cd329d3bf71ba00446ab48070ebadf77..db14e8b7d988c45d6fb1920be5220381a53be78d 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 2ff3f15ae109c91767785111bf0ed6c3fd26f190..b6ddad50f5ad2c5bd45e76dbf5710f8ecd92795c 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/..