Stan Hu
5aa555e5bf
Ensure jemalloc is always linked with ruby binary
...
Debian bullseye changed the linker defaults to use `--as-needed`, which
breaks when `--enable-shared` and `--with-jemalloc` are used.
In preparation for updating to bullseye, define `LDFLAGS` with
`--no-as-needed` so that jemalloc will be properly used.
This mirrors the CNG change in
https://gitlab.com/gitlab-org/build/CNG/-/merge_requests/884 .
Relates to https://bugs.ruby-lang.org/issues/18409
2022-02-03 17:32:20 -08:00
Stan Hu
bb1423cd52
Set frame pointer in cflags instead of optargs
...
!401 set `optflags`, but this overrode the default `-O3`. Using cflags
appends to the default CFLAGS.
2021-04-28 15:45:03 -07:00
Stan Hu
1eca8ebf25
Enable frame pointer in Ruby compile options
...
This will make it easier to profile and debug Ruby builds.
This also matches with what we do in production:
https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/4030
2021-04-28 15:07:17 -07:00
Stan Hu
3391b94d39
Clean up jemalloc source dir
2021-04-20 01:54:15 -07:00
Stan Hu
7cde6cc615
Add autoconf to build
2021-04-20 01:14:21 -07:00
Stan Hu
d8636ff0e8
Build ruby with jemalloc
...
This should improve memory usage and test Ruby the way we do in
production.
2021-04-20 00:54:06 -07:00
Kamil Trzciński
d9530f3124
Fix patching ruby
2021-02-01 18:31:37 +01:00
Kamil Trzciński
255e47d887
Fix node-10 support
2021-02-01 17:56:38 +01:00
Kamil Trzciński
f0bf9d8f0c
Fix support for Ruby versions
2021-02-01 17:45:17 +01:00
Kamil Trzciński
d25cb10067
Apply thread allocations patch to Ruby 2.7
...
This makes us to compile Ruby 2.7 manually
and apply relevant patch.
2021-02-01 14:20:17 +01:00
Andrew Newdigate
6725e787b0
Fix for bug that forces all Go binaries to be based on Go 1.8 (the default)
2017-12-21 11:55:07 +00:00
Kamil Trzcinski
aefaed4d90
initial commit
2016-04-15 15:12:47 +02:00