Skip to content

Commit 288bc62

Browse files
committed
refactor(toolchain): refine the comments of the main scripts and mark removal of origin scripts in the future.
1 parent 14b3e3d commit 288bc62

File tree

2 files changed

+4
-24
lines changed

2 files changed

+4
-24
lines changed

toolchain/install_abacus_toolchain.sh

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,11 @@
11
#!/bin/bash -e
22

3-
# TODO: Review and if possible fix shellcheck errors.
3+
# TODO: Remove this deprecated script in the future.
44
# shellcheck disable=all
55

66
[ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0
77
SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")" && pwd -P)"
88

9-
# +---------------------------------------------------------------------------+
10-
# | ABACUS: (Atomic-orbital Based Ab-initio Computation at UStc) |
11-
# | -- an open-source package based on density functional theory(DFT) |
12-
# | Copyright 2004-2022 ABACUS developers group |
13-
# | <https://github.com/deepmodeling/abacus-develop> |
14-
# | |
15-
# | SPDX-License-Identifier: GPL-2.0-or-later |
16-
# +---------------------------------------------------------------------------+
17-
#
18-
#
19-
# *****************************************************************************
20-
#> \brief This script will compile and install or link existing tools and
21-
#> libraries ABACUS depends on and generate setup files that
22-
#> can be used to compile and use ABACUS
23-
#> \history Created on Friday, 2023/08/18
24-
# Update for Intel (18.08.2023, MK)
25-
#> \author Zhaoqing Liu (Quantum Misaka) [email protected]
26-
# *****************************************************************************
27-
289
# ------------------------------------------------------------------------
2910
# Work directories and used files
3011
# ------------------------------------------------------------------------

toolchain/install_abacus_toolchain_new.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
#!/bin/bash -e
22

33
# ============================================================================
4-
# ABACUS Toolchain Installation Script (New Version - Enhanced UI)
4+
# ABACUS Toolchain Installation Script (New refractored version)
55
# ============================================================================
66
# This is the new refactored version of the ABACUS toolchain installation script.
7-
# It provides the same functionality as the original script but with improved
8-
# modularity, maintainability, extensibility, and beautiful terminal output.
7+
# It provides the most main functionality as the original script but with
8+
# improved modularity, maintainability, extensibility, and beautiful terminal output.
99
#
1010
# Author: Quantum Misaka by Trae SOLO
1111
# Date: 2025-10-16
12-
# Enhanced: Beautiful terminal UI with harmonious color scheme
1312
# ============================================================================
1413

1514
# Set script name for error reporting

0 commit comments

Comments
 (0)