Skip to content

Commit a3bd40d

Browse files
pcncdarora
andauthored
chore: enable clang optimizations on Postgres (#584)
* chore: enable `-O2` optimizations on postgres * chore: relocate `-O2` to cflags var * Update common.vars.pkr.hcl --------- Co-authored-by: Div Arora <[email protected]> Co-authored-by: Div Arora <[email protected]>
1 parent e9e2d50 commit a3bd40d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ansible/tasks/setup-postgres.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060

6161
- name: Setting CFLAGS (arm)
6262
set_fact:
63-
cflags: "-moutline-atomics -mtune=native -march=native -mcpu=native -fsigned-char"
63+
cflags: "-moutline-atomics -mtune=native -march=native -mcpu=native -fsigned-char -O2"
6464
when: platform == "arm64"
6565

6666
- name: Setting CFLAGS (x86)

common.vars.pkr.hcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "15.1.0.55"
1+
postgres-version = "15.1.0.56"

0 commit comments

Comments
 (0)