From e9c8bc916b841cf8f638cfd3e6e5921795d97d39 Mon Sep 17 00:00:00 2001 From: Changming Sun Date: Tue, 30 Jan 2024 14:48:45 -0800 Subject: [PATCH] update --- onnxruntime/test/optimizer/conv_add_act_test.cc | 2 +- tools/ci_build/build.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/onnxruntime/test/optimizer/conv_add_act_test.cc b/onnxruntime/test/optimizer/conv_add_act_test.cc index 4cec802407b35..ed62e16ee3991 100644 --- a/onnxruntime/test/optimizer/conv_add_act_test.cc +++ b/onnxruntime/test/optimizer/conv_add_act_test.cc @@ -52,7 +52,7 @@ TEST(ConvAddActivationFusionTests, ConvDepthwise) { #ifdef __wasm__ TEST(ConvAddActivationFusionTests, DISABLED_ConvGemmDirect) { #else -TEST(ConvAddActivationFusionTests, DISABLED_ConvGemmDirect) { +TEST(ConvAddActivationFusionTests, ConvGemmDirect) { #endif // MlasConvAlgorithmGemmDirect TestConvPath({1, 16, 5, 5}, {16, 16, 1, 1}, {1, 16, 5, 5}, 1); diff --git a/tools/ci_build/build.py b/tools/ci_build/build.py index 6b9bc29551ed9..dc56efe628319 100644 --- a/tools/ci_build/build.py +++ b/tools/ci_build/build.py @@ -1555,6 +1555,7 @@ def generate_build_tree( "-O3", "-pipe", ] + # TODO: we should save the debug symbols at somewhere if is_linux() and not args.build_wasm: ldflags += ["-Wl,--strip-all"] elif config == "RelWithDebInfo": @@ -1565,7 +1566,7 @@ def generate_build_tree( "-fstack-protector-strong", "-O3", "-pipe", - "-ggdb3", + "-g", ] elif config == "Debug": cflags = ["-g", "-O0"] @@ -1580,7 +1581,7 @@ def generate_build_tree( "-fstack-protector-strong", "-Os", "-pipe", - "-ggdb3", + "-g", ] if is_linux() and platform.machine() == "x86_64" and not args.build_wasm: # The following flags needs GCC 8 and newer