Skip to content

Commit

Permalink
Toolchain: Upgrade to GCC 13.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Jul 2, 2023
1 parent a35736c commit e112afa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/toolchain/scripts/stage0/install_gcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
[ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0
SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)"

gcc_ver="12.3.0"
gcc_sha256="11275aa7bb34cd8ab101d01b341015499f8d9466342a2574ece93f954d92273b"
gcc_ver="13.1.0"
gcc_sha256="bacd4c614d8bd5983404585e53478d467a254249e0f1bb747c8bc6d787bd4fa2"

source "${SCRIPT_DIR}"/common_vars.sh
source "${SCRIPT_DIR}"/tool_kit.sh
Expand Down
4 changes: 4 additions & 0 deletions tools/toolchain/scripts/stage8/install_sirius.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ case "$with_sirius" in
tar -xzf SIRIUS-${sirius_ver}.tar.gz
cd SIRIUS-${sirius_ver}

# GCC 13 stopped including some common headers.
# https://github.com/electronic-structure/SIRIUS/issues/854
sed -i '1 i\#include <cstdint>' src/*.hpp

rm -Rf build
mkdir build
cd build
Expand Down

0 comments on commit e112afa

Please sign in to comment.