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" 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