From 1f7f0365bf793ce665dba71eeaeee22682707d9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Sch=C3=BCtt?= Date: Wed, 10 Mar 2021 11:14:52 +0100 Subject: [PATCH] Toolchain: Ignore shellcheck errors for now --- tools/toolchain/install_cp2k_toolchain.sh | 7 +++++++ tools/toolchain/scripts/common_vars.sh | 7 +++++++ tools/toolchain/scripts/generate_arch_files.sh | 6 ++++++ tools/toolchain/scripts/get_openblas_arch.sh | 7 +++++++ tools/toolchain/scripts/signal_trap.sh | 8 ++++++++ tools/toolchain/scripts/stage0/install_cmake.sh | 7 +++++++ tools/toolchain/scripts/stage0/install_gcc.sh | 7 +++++++ tools/toolchain/scripts/stage0/install_stage0.sh | 6 ++++++ tools/toolchain/scripts/stage0/setup_buildtools.sh | 6 ++++++ tools/toolchain/scripts/stage1/install_intelmpi.sh | 7 +++++++ tools/toolchain/scripts/stage1/install_mpich.sh | 7 +++++++ tools/toolchain/scripts/stage1/install_openmpi.sh | 7 +++++++ tools/toolchain/scripts/stage1/install_stage1.sh | 6 ++++++ tools/toolchain/scripts/stage1/install_valgrind.sh | 7 +++++++ tools/toolchain/scripts/stage2/install_acml.sh | 7 +++++++ tools/toolchain/scripts/stage2/install_fftw.sh | 7 +++++++ tools/toolchain/scripts/stage2/install_mathlibs.sh | 6 ++++++ tools/toolchain/scripts/stage2/install_mkl.sh | 7 +++++++ tools/toolchain/scripts/stage2/install_openblas.sh | 7 +++++++ tools/toolchain/scripts/stage2/install_reflapack.sh | 7 +++++++ tools/toolchain/scripts/stage2/install_stage2.sh | 6 ++++++ tools/toolchain/scripts/stage3/install_libint.sh | 7 +++++++ tools/toolchain/scripts/stage3/install_libxc.sh | 7 +++++++ tools/toolchain/scripts/stage3/install_stage3.sh | 6 ++++++ tools/toolchain/scripts/stage4/install_cosma.sh | 7 +++++++ tools/toolchain/scripts/stage4/install_libsmm.sh | 7 +++++++ tools/toolchain/scripts/stage4/install_libxsmm.sh | 7 +++++++ tools/toolchain/scripts/stage4/install_scalapack.sh | 7 +++++++ tools/toolchain/scripts/stage4/install_stage4.sh | 6 ++++++ tools/toolchain/scripts/stage5/install_elpa.sh | 7 +++++++ tools/toolchain/scripts/stage5/install_pexsi.sh | 7 +++++++ tools/toolchain/scripts/stage5/install_ptscotch.sh | 7 +++++++ tools/toolchain/scripts/stage5/install_stage5.sh | 6 ++++++ tools/toolchain/scripts/stage5/install_superlu.sh | 7 +++++++ tools/toolchain/scripts/stage6/install_gsl.sh | 7 +++++++ tools/toolchain/scripts/stage6/install_plumed.sh | 7 +++++++ tools/toolchain/scripts/stage6/install_quip.sh | 7 +++++++ tools/toolchain/scripts/stage6/install_stage6.sh | 6 ++++++ tools/toolchain/scripts/stage7/install_hdf5.sh | 7 +++++++ tools/toolchain/scripts/stage7/install_libvdwxc.sh | 7 +++++++ tools/toolchain/scripts/stage7/install_libvori.sh | 7 +++++++ tools/toolchain/scripts/stage7/install_spglib.sh | 7 +++++++ tools/toolchain/scripts/stage7/install_stage7.sh | 6 ++++++ tools/toolchain/scripts/stage8/install_sirius.sh | 7 +++++++ tools/toolchain/scripts/stage8/install_spfft.sh | 7 +++++++ tools/toolchain/scripts/stage8/install_spla.sh | 7 +++++++ tools/toolchain/scripts/stage8/install_stage8.sh | 6 ++++++ tools/toolchain/scripts/tool_kit.sh | 8 ++++++++ 48 files changed, 326 insertions(+) diff --git a/tools/toolchain/install_cp2k_toolchain.sh b/tools/toolchain/install_cp2k_toolchain.sh index 9fd1a89cc1..14bf7a8c77 100755 --- a/tools/toolchain/install_cp2k_toolchain.sh +++ b/tools/toolchain/install_cp2k_toolchain.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")" && pwd -P)" diff --git a/tools/toolchain/scripts/common_vars.sh b/tools/toolchain/scripts/common_vars.sh index 71a2de77e4..11bbb46a63 100644 --- a/tools/toolchain/scripts/common_vars.sh +++ b/tools/toolchain/scripts/common_vars.sh @@ -1,5 +1,12 @@ # Common variables used by the installation scripts +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 +# shellcheck shell=bash + # directories and files used by the installer ROOTDIR=${ROOTDIR:-"$(pwd -P)"} SCRIPTDIR=${SCRIPTDIR:-"${ROOTDIR}/scripts"} diff --git a/tools/toolchain/scripts/generate_arch_files.sh b/tools/toolchain/scripts/generate_arch_files.sh index d1a8264db7..9259736453 100755 --- a/tools/toolchain/scripts/generate_arch_files.sh +++ b/tools/toolchain/scripts/generate_arch_files.sh @@ -1,5 +1,11 @@ #!/bin/bash -e +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")" && pwd -P)" diff --git a/tools/toolchain/scripts/get_openblas_arch.sh b/tools/toolchain/scripts/get_openblas_arch.sh index d0d2c159e5..59b2afc54d 100755 --- a/tools/toolchain/scripts/get_openblas_arch.sh +++ b/tools/toolchain/scripts/get_openblas_arch.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")" && pwd -P)" diff --git a/tools/toolchain/scripts/signal_trap.sh b/tools/toolchain/scripts/signal_trap.sh index fceaf36507..bc2ea2e7ed 100644 --- a/tools/toolchain/scripts/signal_trap.sh +++ b/tools/toolchain/scripts/signal_trap.sh @@ -1,2 +1,10 @@ # signal trapping + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 +# shellcheck shell=bash + trap 'error_handler ${LINENO}' ERR diff --git a/tools/toolchain/scripts/stage0/install_cmake.sh b/tools/toolchain/scripts/stage0/install_cmake.sh index e27c2efe99..42edd77168 100755 --- a/tools/toolchain/scripts/stage0/install_cmake.sh +++ b/tools/toolchain/scripts/stage0/install_cmake.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage0/install_gcc.sh b/tools/toolchain/scripts/stage0/install_gcc.sh index f231d54319..ec16add5bb 100755 --- a/tools/toolchain/scripts/stage0/install_gcc.sh +++ b/tools/toolchain/scripts/stage0/install_gcc.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage0/install_stage0.sh b/tools/toolchain/scripts/stage0/install_stage0.sh index 832d64b5e7..9c5850138d 100755 --- a/tools/toolchain/scripts/stage0/install_stage0.sh +++ b/tools/toolchain/scripts/stage0/install_stage0.sh @@ -1,5 +1,11 @@ #!/bin/bash -e +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + ./scripts/stage0/install_gcc.sh ./scripts/stage0/setup_buildtools.sh ./scripts/stage0/install_cmake.sh diff --git a/tools/toolchain/scripts/stage0/setup_buildtools.sh b/tools/toolchain/scripts/stage0/setup_buildtools.sh index d53173b0fd..c377a0186b 100755 --- a/tools/toolchain/scripts/stage0/setup_buildtools.sh +++ b/tools/toolchain/scripts/stage0/setup_buildtools.sh @@ -1,5 +1,11 @@ #!/bin/bash -e +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "${SCRIPT_NAME}")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage1/install_intelmpi.sh b/tools/toolchain/scripts/stage1/install_intelmpi.sh index 467aa695a7..785327173c 100755 --- a/tools/toolchain/scripts/stage1/install_intelmpi.sh +++ b/tools/toolchain/scripts/stage1/install_intelmpi.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage1/install_mpich.sh b/tools/toolchain/scripts/stage1/install_mpich.sh index 6ac39ac61d..e2235adcb8 100755 --- a/tools/toolchain/scripts/stage1/install_mpich.sh +++ b/tools/toolchain/scripts/stage1/install_mpich.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage1/install_openmpi.sh b/tools/toolchain/scripts/stage1/install_openmpi.sh index 9e88098dfd..374d704feb 100755 --- a/tools/toolchain/scripts/stage1/install_openmpi.sh +++ b/tools/toolchain/scripts/stage1/install_openmpi.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage1/install_stage1.sh b/tools/toolchain/scripts/stage1/install_stage1.sh index 89c10821a1..f640963dba 100755 --- a/tools/toolchain/scripts/stage1/install_stage1.sh +++ b/tools/toolchain/scripts/stage1/install_stage1.sh @@ -1,5 +1,11 @@ #!/bin/bash -e +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + ./scripts/stage1/install_mpich.sh ./scripts/stage1/install_openmpi.sh ./scripts/stage1/install_intelmpi.sh diff --git a/tools/toolchain/scripts/stage1/install_valgrind.sh b/tools/toolchain/scripts/stage1/install_valgrind.sh index 52b5706471..6fdf7b2016 100755 --- a/tools/toolchain/scripts/stage1/install_valgrind.sh +++ b/tools/toolchain/scripts/stage1/install_valgrind.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage2/install_acml.sh b/tools/toolchain/scripts/stage2/install_acml.sh index 02e995f587..1f7a0e0052 100755 --- a/tools/toolchain/scripts/stage2/install_acml.sh +++ b/tools/toolchain/scripts/stage2/install_acml.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage2/install_fftw.sh b/tools/toolchain/scripts/stage2/install_fftw.sh index 78812539a1..7b205ae07c 100755 --- a/tools/toolchain/scripts/stage2/install_fftw.sh +++ b/tools/toolchain/scripts/stage2/install_fftw.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage2/install_mathlibs.sh b/tools/toolchain/scripts/stage2/install_mathlibs.sh index 233987e31f..69eaf870ad 100755 --- a/tools/toolchain/scripts/stage2/install_mathlibs.sh +++ b/tools/toolchain/scripts/stage2/install_mathlibs.sh @@ -1,5 +1,11 @@ #!/bin/bash -e +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage2/install_mkl.sh b/tools/toolchain/scripts/stage2/install_mkl.sh index 1fcf072e2a..2213cfa6d8 100755 --- a/tools/toolchain/scripts/stage2/install_mkl.sh +++ b/tools/toolchain/scripts/stage2/install_mkl.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage2/install_openblas.sh b/tools/toolchain/scripts/stage2/install_openblas.sh index 85f2dd8b58..6e695ce13d 100755 --- a/tools/toolchain/scripts/stage2/install_openblas.sh +++ b/tools/toolchain/scripts/stage2/install_openblas.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage2/install_reflapack.sh b/tools/toolchain/scripts/stage2/install_reflapack.sh index 74fe212aca..bbc5a0f666 100755 --- a/tools/toolchain/scripts/stage2/install_reflapack.sh +++ b/tools/toolchain/scripts/stage2/install_reflapack.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage2/install_stage2.sh b/tools/toolchain/scripts/stage2/install_stage2.sh index ab01035cf3..80f1f35b4c 100755 --- a/tools/toolchain/scripts/stage2/install_stage2.sh +++ b/tools/toolchain/scripts/stage2/install_stage2.sh @@ -1,5 +1,11 @@ #!/bin/bash -e +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + ./scripts/stage2/install_mathlibs.sh ./scripts/stage2/install_fftw.sh diff --git a/tools/toolchain/scripts/stage3/install_libint.sh b/tools/toolchain/scripts/stage3/install_libint.sh index b5521432a0..d7b087054a 100755 --- a/tools/toolchain/scripts/stage3/install_libint.sh +++ b/tools/toolchain/scripts/stage3/install_libint.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage3/install_libxc.sh b/tools/toolchain/scripts/stage3/install_libxc.sh index c221a956b3..8a6b36d1bd 100755 --- a/tools/toolchain/scripts/stage3/install_libxc.sh +++ b/tools/toolchain/scripts/stage3/install_libxc.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage3/install_stage3.sh b/tools/toolchain/scripts/stage3/install_stage3.sh index 7b8a1b2e2c..6249297247 100755 --- a/tools/toolchain/scripts/stage3/install_stage3.sh +++ b/tools/toolchain/scripts/stage3/install_stage3.sh @@ -1,5 +1,11 @@ #!/bin/bash -e +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + ./scripts/stage3/install_libint.sh ./scripts/stage3/install_libxc.sh diff --git a/tools/toolchain/scripts/stage4/install_cosma.sh b/tools/toolchain/scripts/stage4/install_cosma.sh index b67ae52cf2..ade3f63770 100755 --- a/tools/toolchain/scripts/stage4/install_cosma.sh +++ b/tools/toolchain/scripts/stage4/install_cosma.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage4/install_libsmm.sh b/tools/toolchain/scripts/stage4/install_libsmm.sh index b8660381f9..234afa793d 100755 --- a/tools/toolchain/scripts/stage4/install_libsmm.sh +++ b/tools/toolchain/scripts/stage4/install_libsmm.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage4/install_libxsmm.sh b/tools/toolchain/scripts/stage4/install_libxsmm.sh index 401d6e3887..53414d3568 100755 --- a/tools/toolchain/scripts/stage4/install_libxsmm.sh +++ b/tools/toolchain/scripts/stage4/install_libxsmm.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage4/install_scalapack.sh b/tools/toolchain/scripts/stage4/install_scalapack.sh index a5fe8aa12a..7195d22f7e 100755 --- a/tools/toolchain/scripts/stage4/install_scalapack.sh +++ b/tools/toolchain/scripts/stage4/install_scalapack.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage4/install_stage4.sh b/tools/toolchain/scripts/stage4/install_stage4.sh index fcf9589a25..f9a9eb7f03 100755 --- a/tools/toolchain/scripts/stage4/install_stage4.sh +++ b/tools/toolchain/scripts/stage4/install_stage4.sh @@ -1,5 +1,11 @@ #!/bin/bash -e +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + ./scripts/stage4/install_libsmm.sh ./scripts/stage4/install_libxsmm.sh ./scripts/stage4/install_scalapack.sh diff --git a/tools/toolchain/scripts/stage5/install_elpa.sh b/tools/toolchain/scripts/stage5/install_elpa.sh index ae1780be1c..2ce7bc5d7a 100755 --- a/tools/toolchain/scripts/stage5/install_elpa.sh +++ b/tools/toolchain/scripts/stage5/install_elpa.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage5/install_pexsi.sh b/tools/toolchain/scripts/stage5/install_pexsi.sh index 01cf36d737..e3df3d685a 100755 --- a/tools/toolchain/scripts/stage5/install_pexsi.sh +++ b/tools/toolchain/scripts/stage5/install_pexsi.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage5/install_ptscotch.sh b/tools/toolchain/scripts/stage5/install_ptscotch.sh index 3a18ee80e7..46b988da37 100755 --- a/tools/toolchain/scripts/stage5/install_ptscotch.sh +++ b/tools/toolchain/scripts/stage5/install_ptscotch.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage5/install_stage5.sh b/tools/toolchain/scripts/stage5/install_stage5.sh index 15f4e639e8..d2cd859291 100755 --- a/tools/toolchain/scripts/stage5/install_stage5.sh +++ b/tools/toolchain/scripts/stage5/install_stage5.sh @@ -1,5 +1,11 @@ #!/bin/bash -e +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + ./scripts/stage5/install_elpa.sh ./scripts/stage5/install_ptscotch.sh ./scripts/stage5/install_superlu.sh diff --git a/tools/toolchain/scripts/stage5/install_superlu.sh b/tools/toolchain/scripts/stage5/install_superlu.sh index 7ce7633d85..484b1ac71f 100755 --- a/tools/toolchain/scripts/stage5/install_superlu.sh +++ b/tools/toolchain/scripts/stage5/install_superlu.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage6/install_gsl.sh b/tools/toolchain/scripts/stage6/install_gsl.sh index f3e4164572..a8f3257acf 100755 --- a/tools/toolchain/scripts/stage6/install_gsl.sh +++ b/tools/toolchain/scripts/stage6/install_gsl.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage6/install_plumed.sh b/tools/toolchain/scripts/stage6/install_plumed.sh index 87037f96ec..81d64bf5af 100755 --- a/tools/toolchain/scripts/stage6/install_plumed.sh +++ b/tools/toolchain/scripts/stage6/install_plumed.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage6/install_quip.sh b/tools/toolchain/scripts/stage6/install_quip.sh index b6ae3975b7..b4410b0769 100755 --- a/tools/toolchain/scripts/stage6/install_quip.sh +++ b/tools/toolchain/scripts/stage6/install_quip.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage6/install_stage6.sh b/tools/toolchain/scripts/stage6/install_stage6.sh index 61ad7b532d..738e07ffff 100755 --- a/tools/toolchain/scripts/stage6/install_stage6.sh +++ b/tools/toolchain/scripts/stage6/install_stage6.sh @@ -1,5 +1,11 @@ #!/bin/bash -e +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + ./scripts/stage6/install_quip.sh ./scripts/stage6/install_gsl.sh ./scripts/stage6/install_plumed.sh diff --git a/tools/toolchain/scripts/stage7/install_hdf5.sh b/tools/toolchain/scripts/stage7/install_hdf5.sh index 8b0f138b6f..718bb08911 100755 --- a/tools/toolchain/scripts/stage7/install_hdf5.sh +++ b/tools/toolchain/scripts/stage7/install_hdf5.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage7/install_libvdwxc.sh b/tools/toolchain/scripts/stage7/install_libvdwxc.sh index 46b42330cd..2d3294ba1d 100755 --- a/tools/toolchain/scripts/stage7/install_libvdwxc.sh +++ b/tools/toolchain/scripts/stage7/install_libvdwxc.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" libvdwxc_ver="0.4.0" diff --git a/tools/toolchain/scripts/stage7/install_libvori.sh b/tools/toolchain/scripts/stage7/install_libvori.sh index bfe58d22fe..cdaf312a69 100755 --- a/tools/toolchain/scripts/stage7/install_libvori.sh +++ b/tools/toolchain/scripts/stage7/install_libvori.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + # shellcheck disable=SC1090 [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 diff --git a/tools/toolchain/scripts/stage7/install_spglib.sh b/tools/toolchain/scripts/stage7/install_spglib.sh index b810b61aa7..436ffaf111 100755 --- a/tools/toolchain/scripts/stage7/install_spglib.sh +++ b/tools/toolchain/scripts/stage7/install_spglib.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" spglib_ver="1.16.0" diff --git a/tools/toolchain/scripts/stage7/install_stage7.sh b/tools/toolchain/scripts/stage7/install_stage7.sh index 3e3c9c15a3..3981342755 100755 --- a/tools/toolchain/scripts/stage7/install_stage7.sh +++ b/tools/toolchain/scripts/stage7/install_stage7.sh @@ -1,5 +1,11 @@ #!/bin/bash -e +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + ./scripts/stage7/install_hdf5.sh ./scripts/stage7/install_libvdwxc.sh ./scripts/stage7/install_spglib.sh diff --git a/tools/toolchain/scripts/stage8/install_sirius.sh b/tools/toolchain/scripts/stage8/install_sirius.sh index 84fddb4e71..35bfe461b9 100755 --- a/tools/toolchain/scripts/stage8/install_sirius.sh +++ b/tools/toolchain/scripts/stage8/install_sirius.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage8/install_spfft.sh b/tools/toolchain/scripts/stage8/install_spfft.sh index 1e0e3bf6a5..4bbf30534d 100755 --- a/tools/toolchain/scripts/stage8/install_spfft.sh +++ b/tools/toolchain/scripts/stage8/install_spfft.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage8/install_spla.sh b/tools/toolchain/scripts/stage8/install_spla.sh index f7429cd70c..ec6d0bd06b 100755 --- a/tools/toolchain/scripts/stage8/install_spla.sh +++ b/tools/toolchain/scripts/stage8/install_spla.sh @@ -1,4 +1,11 @@ #!/bin/bash -e + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + [ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0 SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)" diff --git a/tools/toolchain/scripts/stage8/install_stage8.sh b/tools/toolchain/scripts/stage8/install_stage8.sh index 999a39db39..f0ef5a4266 100755 --- a/tools/toolchain/scripts/stage8/install_stage8.sh +++ b/tools/toolchain/scripts/stage8/install_stage8.sh @@ -1,5 +1,11 @@ #!/bin/bash -e +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 + ./scripts/stage8/install_spfft.sh ./scripts/stage8/install_spla.sh ./scripts/stage8/install_sirius.sh diff --git a/tools/toolchain/scripts/tool_kit.sh b/tools/toolchain/scripts/tool_kit.sh index 011627dd52..f9bd6b8f7f 100644 --- a/tools/toolchain/scripts/tool_kit.sh +++ b/tools/toolchain/scripts/tool_kit.sh @@ -1,4 +1,12 @@ # A set of tools used in the toolchain installer, intended to be used + +# TODO: Review and if possible fix shellcheck errors. +# shellcheck disable=SC1003,SC1035,SC1083,SC1090 +# shellcheck disable=SC2001,SC2002,SC2005,SC2016,SC2091,SC2034,SC2046,SC2086,SC2089,SC2090 +# shellcheck disable=SC2124,SC2129,SC2144,SC2153,SC2154,SC2155,SC2163,SC2164,SC2166 +# shellcheck disable=SC2235,SC2237 +# shellcheck shell=bash + # by sourcing this file inside other scripts. SYS_INCLUDE_PATH=${SYS_INCLUDE_PATH:-"/usr/local/include:/usr/include"}