From 5f11e9f42f49b9e62ee87869277e8da7309ad8d2 Mon Sep 17 00:00:00 2001 From: Yi Zhang Date: Thu, 19 Jan 2023 15:20:30 +0800 Subject: [PATCH] c-api-cpu unused parameter --- tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml b/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml index bb0100adc9318..9d02f56a83cfa 100644 --- a/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml +++ b/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml @@ -45,7 +45,7 @@ jobs: BaseImage: 'centos:7' OnnxruntimeArch: 'x64' OnnxruntimeCFlags: '-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection -O3 -Wl,--strip-all' - OnnxruntimeCXXFlags: '-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection -O3 -Wl,--strip-all' + OnnxruntimeCXXFlags: '-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection -O3 -Wl,--strip-all, -Wno-unused-parameter' OnnxruntimeNodejsBindingArch: 'x64' PoolName: 'Linux-CPU' @@ -55,7 +55,7 @@ jobs: BaseImage: 'arm64v8/centos:7' OnnxruntimeArch: 'aarch64' OnnxruntimeCFlags: '-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -O3 -Wl,--strip-all' - OnnxruntimeCXXFlags: '-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -O3 -Wl,--strip-all' + OnnxruntimeCXXFlags: '-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -O3 -Wl,--strip-all, -Wno-unused-parameter' OnnxruntimeNodejsBindingArch: 'arm64' PoolName: 'aiinfra-linux-ARM64-CPU-2019'