diff --git a/autogen.sh b/autogen.sh deleted file mode 100755 index 65ee17a72a..0000000000 --- a/autogen.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -# Copyright 2019 Huawei Technologies Co., Ltd -# -# 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. -# ============================================================================ - -git submodule update --init --recursive - - diff --git a/py_filter b/py_filter deleted file mode 100644 index 8301a0a257..0000000000 --- a/py_filter +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -# Copyright 2019 Huawei Technologies Co., Ltd -# -# 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. -# ============================================================================ - -echo "\"\"\"doc\"\"\"" && python3 -m doxypypy.doxypypy -a -c $1 \ No newline at end of file diff --git a/dbg_dump_parser.sh b/scripts/dbg_dump_parser.sh similarity index 98% rename from dbg_dump_parser.sh rename to scripts/dbg_dump_parser.sh index 1d1ec28248..cae3409419 100755 --- a/dbg_dump_parser.sh +++ b/scripts/dbg_dump_parser.sh @@ -81,6 +81,8 @@ function checkopts() # check options checkopts "$@" +CUR_PATH=$(pwd) +cd "`dirname $0`/.." cd build/mindspore/ make -j8 @@ -118,3 +120,5 @@ if [[ "${mode}" == "${MODE_DBG}" || "${mode}" == "${MODE_ALL}" ]]; then echo "MS_IR_FILE=$(pwd)/anf_ir_file.dbg MS_IR_PATH=$(pwd)/pkl_objs.dbg/ pytest -s ${UT_NAME}" MS_IR_FILE=$(pwd)/anf_ir_file.dbg MS_IR_PATH=$(pwd)/pkl_objs.dbg/ pytest -s "${UT_NAME}" fi + +cd $CUR_PATH