Skip to content

Commit c1a613b

Browse files
authored
Merge pull request #2212 from Shaikh-Ubaid/ci_fix_release_often_failure
CI: Provide release flags, exclude -march=native
2 parents 5905252 + cc9737f commit c1a613b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ jobs:
335335
export CXXFLAGS="-Werror"
336336
cmake . -GNinja \
337337
-DCMAKE_BUILD_TYPE=Release \
338+
-DCMAKE_CXX_FLAGS_RELEASE="-Wall -Wextra -O3 -funroll-loops -DNDEBUG" \
338339
-DWITH_LLVM=yes \
339340
-DLFORTRAN_BUILD_ALL=yes \
340341
-DWITH_STACKTRACE=no \

0 commit comments

Comments
 (0)