Skip to content

Commit 2a53c12

Browse files
committed
chore: enable -O2 optimizations on postgres
1 parent e9e2d50 commit 2a53c12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ansible/tasks/setup-postgres.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171
- name: Postgres - configure
7272
shell:
73-
cmd: CFLAGS='{{ cflags }}' LLVM_CONFIG=/usr/bin/llvm-config-11 CLANG=/usr/bin/clang-11 ./configure --with-llvm --with-openssl --with-systemd --with-uuid=e2fs --with-libxml --with-icu --with-lz4 --exec-prefix=/usr/lib/postgresql --datarootdir=/var/lib/postgresql
73+
cmd: CFLAGS='{{ cflags }}' LLVM_CONFIG=/usr/bin/llvm-config-11 CLANG=/usr/bin/clang-11 ./configure --with-llvm --with-openssl --with-systemd --with-uuid=e2fs --with-libxml --with-icu --with-lz4 --exec-prefix=/usr/lib/postgresql --datarootdir=/var/lib/postgresql -O2
7474
chdir: /tmp/postgresql-{{ postgresql_release }}
7575

7676
- name: Postgres - build

common.vars.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "15.1.0.55"
1+
postgres-version = "15.1.0.56-rc1.cflags"

0 commit comments

Comments
 (0)