Dmitry Ivanov
7c5b99683c
Speed up builds by passing make jobserver to cargo
...
This change brings the following improvements to our build system:
* Now BUILD_TYPE also affects rust apps.
* From now on, cargo will respect `-jN` passed via `make`. However, note
that `rustc` may spawn multiple threads depending on compile flags.
* Cargo is able to cooperate with make to better schedule parallel jobs,
which leads to better build times (-20s in release mode on my machine).
2021-10-12 21:02:39 +03:00
Dmitry Ivanov
bb239b4f69
[Makefile] Set default build type to debug
2021-10-11 17:08:31 +03:00
Dmitry Ivanov
1cd7900790
[Makefile] Make build type detection more precise
...
Previously, typos like `BUILD_TYPE=rlease` would silently
lead to building debug binaries. The current approach is also
more future-proof, since we might add `profile`, `valgrind`
as well as other build types.
2021-10-11 17:03:51 +03:00
MMeent
24580f2493
Improve build system: ( #703 )
...
- Build postgresql with -O2 for releases
- Make make make postgresql with 8 parallel threads
The node is xlarge, so it has 8 vCPU available
2021-10-06 14:37:27 +02:00
Dmitry Rodionov
8c62b11bd5
adjust for review
2021-08-23 17:28:45 +03:00
Dmitry Rodionov
35b60d509f
Add support for code format checking using rustfmt in optional
...
pre-commit hook and in ci pipeline. Found issues can be fixed
automatically via make fmt.
2021-08-23 17:28:45 +03:00
anastasia
949ac54401
Add test of clog (pg_xact) truncation
2021-08-11 05:49:24 +03:00
Dmitry Ivanov
2712eaee15
[postgres] Enable seccomp bpf
2021-07-09 14:59:45 +03:00
anastasia
9b8e82c6cf
Fix makefile for out-of-tree compiling of contrib/zenith
2021-06-07 19:24:20 +03:00
Stas Kelvich
002cd8ed5b
Dockerfile for pageserver.
2021-06-01 16:08:32 +03:00
Stas Kelvich
0b9bbdc4ec
Remove libxml2 and curl from postgres dependencies.
...
As lazyrestore was removed from our postgres main branch.
2021-06-01 16:08:32 +03:00
anastasia
38c4b6f02f
Move postgres code related to zenith pageserver to contrib/zenith.
...
- vendor/postgres changes
- Respective changes in RUST code: upload shared library, use new GUC names.
- Add contrib build to Makefile.
2021-05-13 16:23:21 +03:00
Heikki Linnakangas
41a3772e90
Replace pgbuild.sh with a Makefile
...
This allows building both Zenith and PostgreSQL in one command. The
command is 'make'
Reviewed-by: Arseny Sher <sher-ars@yandex.ru >
2021-04-28 16:54:45 +03:00
Stas Kelvich
9038116714
dockerfile
2021-03-29 15:59:28 +03:00
Stas Kelvich
efe9fdbbe6
Add 'make postgres' Makefile target.
...
That would build postgres and install it into REPO_ROOT/tmp_install where pageserver
integration tests would be able to find it.
2021-03-29 15:59:28 +03:00