From c8acf9d6afead6a2d95fd2efaa6ca21a1cb7950d Mon Sep 17 00:00:00 2001 From: David Rohr Date: Sat, 10 Aug 2024 06:55:04 +0200 Subject: [PATCH 1/2] Fixes for ONNXRuntime for compilation with gcc 14.2 --- onnxruntime.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onnxruntime.sh b/onnxruntime.sh index a8a177edcd..90f4e00d48 100644 --- a/onnxruntime.sh +++ b/onnxruntime.sh @@ -35,8 +35,8 @@ cmake "$SOURCEDIR/cmake" ${PROTOBUF_ROOT:+-DProtobuf_PROTOC_EXECUTABLE=$PROTOBUF_ROOT/bin/protoc} \ ${RE2_ROOT:+-DRE2_INCLUDE_DIR=${RE2_ROOT}/include} \ ${BOOST_ROOT:+-DBOOST_INCLUDE_DIR=${BOOST_ROOT}/include} \ - -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-unknown-warning -Wno-unknown-warning-option -Wno-error=unused-but-set-variable -Wno-error=deprecated" \ - -DCMAKE_C_FLAGS="$CFLAGS -Wno-unknown-warning -Wno-unknown-warning-option -Wno-error=unused-but-set-variable -Wno-error=deprecated" + -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-unknown-warning -Wno-unknown-warning-option -Wno-error=unused-but-set-variable -Wno-error=deprecated -Wno-error=maybe-uninitialized -Wno-error=template-id-cdtor" \ + -DCMAKE_C_FLAGS="$CFLAGS -Wno-unknown-warning -Wno-unknown-warning-option -Wno-error=unused-but-set-variable -Wno-error=deprecated -Wno-error=maybe-uninitialized -Wno-error=template-id-cdtor" cmake --build . -- ${JOBS:+-j$JOBS} install From fbe74cb9f544161ddc62d2687899134eee8cb1cc Mon Sep 17 00:00:00 2001 From: David Rohr Date: Thu, 5 Sep 2024 12:18:06 +0200 Subject: [PATCH 2/2] Bump to GCC 14.2 --- gcc-toolchain.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc-toolchain.sh b/gcc-toolchain.sh index 05997b4523..5c68ae4f56 100644 --- a/gcc-toolchain.sh +++ b/gcc-toolchain.sh @@ -1,6 +1,6 @@ package: GCC-Toolchain version: "%(tag_basename)s" -tag: v13.2.0-alice1 +tag: v14.2.0-alice2 source: https://github.com/alisw/gcc-toolchain prepend_path: "LD_LIBRARY_PATH": "$GCC_TOOLCHAIN_ROOT/lib64"