Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed Jan 30, 2024
1 parent ce98095 commit e9c8bc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion onnxruntime/test/optimizer/conv_add_act_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
5 changes: 3 additions & 2 deletions tools/ci_build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand All @@ -1565,7 +1566,7 @@ def generate_build_tree(
"-fstack-protector-strong",
"-O3",
"-pipe",
"-ggdb3",
"-g",
]
elif config == "Debug":
cflags = ["-g", "-O0"]
Expand All @@ -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
Expand Down

0 comments on commit e9c8bc9

Please sign in to comment.