diff options
| author | Andres Freund | 2022-03-18 22:42:33 +0000 |
|---|---|---|
| committer | Andres Freund | 2022-03-18 22:42:33 +0000 |
| commit | 4a288a37f9b7bfd13c4f5cd8b545ac856f975813 (patch) | |
| tree | 8551a60f891c367de96afe3442b259440ea1be75 | |
| parent | 225fb558cd42fe05b5ac55b7586cc1d16fd2f0ea (diff) | |
ci: compile with -Og where applicable.
To improve performance of check-world, and improve debugging, without
significantly slower builds (they're cached anyway).
This makes freebsd check-world run in 8.5 minutes rather than 15 minutes.
Author: Justin Pryzby <[email protected]>
Reviewed-By: Andres Freund <[email protected]>
Discussion: https://postgr.es/m/[email protected]
| -rw-r--r-- | .cirrus.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index 3e3a7c81e49..6929a0d65aa 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -107,7 +107,7 @@ task: \ CC="ccache cc" \ CXX="ccache c++" \ - CFLAGS="-O0 -ggdb" + CFLAGS="-Og -ggdb" EOF build_script: su postgres -c "gmake -s -j${BUILD_JOBS} world-bin" upload_caches: ccache @@ -201,8 +201,8 @@ task: CC="ccache gcc" \ CXX="ccache g++" \ CLANG="ccache clang" \ - CFLAGS="-O0 -ggdb" \ - CXXFLAGS="-O0 -ggdb" + CFLAGS="-Og -ggdb" \ + CXXFLAGS="-Og -ggdb" EOF build_script: su postgres -c "make -s -j${BUILD_JOBS} world-bin" upload_caches: ccache @@ -315,8 +315,8 @@ task: CC="ccache cc" \ CXX="ccache c++" \ CLANG="ccache ${brewpath}/llvm/bin/ccache" \ - CFLAGS="-O0 -ggdb" \ - CXXFLAGS="-O0 -ggdb" \ + CFLAGS="-Og -ggdb" \ + CXXFLAGS="-Og -ggdb" \ \ LLVM_CONFIG=${brewpath}/llvm/bin/llvm-config \ PYTHON=python3 |
