Commit Graph

41 Commits

Author SHA1 Message Date
Jay 2ffd08eeb8
update jemalloc to 5.3.0 (#23)
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2022-05-14 05:19:25 +08:00
Jay 161451ba9b
*: revert name (#25)
I will also publish this crate in the name of jemallocator. Because tikv-jemallocator is already used by several projects, to make less disturbing to dependents, two crates will be published at the same time with only name differences.

The tikv-xxx versions are maintained in the branch tikv-main.

Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2022-04-29 16:06:09 +08:00
Jay e5f53b1441
ci: switch to GitHub actions (#10)
- ppc64le is not checked as there is no ppc64le runners.
- valgrind is removed.
- no_std check is removed

Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2021-08-05 01:08:14 +08:00
Jay 510c5f0b84
*: update project meta (#2)
As we are going to publish the crate to crates.io, we need a different
name and version. Since native library is upgraded, all versions are
bumpped to 0.4.0. To make it clear which version of jemalloc is used, I
attach a build tag 5.2.1.

And the project are upgraded to 2018 version.

Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2020-07-21 19:33:59 +08:00
Jay 21c54a2446
*: update jemalloc and simplify build (#1)
- Remove all cross compilation and reduce supporting platforms
- Remove complicated checks and builds
- Update jemalloc to 5.2.1
- Fix gnzlbg/jemallocator#147

Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2020-07-21 11:18:43 +08:00
Jay Lee a09f18a739
Make CI green again
- disable configure verify check
- update configure file and make clippy happy
- check autoconf version
- fix allow_failures
- i686-apple target are not supported now
- use latest travis syntax
- less verbose and allow non-master check fail
    Upstream doesn't guarantee configure file matches across platform and
    versions. Checking configure file can fail easily
- mute alloc_trait tests
- rich diff
- remove unsupported platform
    i686-apple-darwin is removed from nightly and beta.
- make clippy and rustfmt happy

Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2020-07-17 21:22:46 +08:00
gnzlbg 0b163c7be0 Temporarily disable profiling builds on dev-branch 2019-04-03 20:03:09 +02:00
gnzlbg fe6c514f2f skip jemalloc-ctl tests on x86_64-unknown-linux-musl 2019-02-27 09:39:39 +01:00
gnzlbg 61d4c6ec29 jemalloc-ctl does not build for musl targets 2019-02-27 09:39:39 +01:00
gnzlbg 0a711d8fc1 add jemalloc-ctl 2019-02-27 09:39:39 +01:00
gnzlbg 3392d70bc8 Add jemallocator-global crate 2019-01-15 16:12:53 +01:00
gnzlbg 698010b8bc verify that jemallocator contains no std symbols 2018-11-07 20:38:18 +01:00
gnzlbg 0ec1da9092 Add workaround cargo breaking travis-ci again 2018-11-04 19:06:37 +01:00
gnzlbg fdb5251af2 Run jemalloc tests on CI while building jemalloc-sys
In the following platforms, jemalloc's tests currently fail:

* `{i686,x86_64}-apple-darwin`: due to https://github.com/alexcrichton/jemallocator/issues/85
2018-11-04 19:06:37 +01:00
gnzlbg 74eb0389fd Run x86_64-unknown-linux-gnu tests under valgrind 2018-11-03 21:52:17 +01:00
gnzlbg b2da4a8e60 fix shellcheck 2018-11-03 09:39:37 +01:00
gnzlbg 07764999bd Refactor background threads options
* rename bg_thread feature to background_threads_runtime_support
* add background_threads option to enable background threads at run-time
2018-11-03 09:39:37 +01:00
gnzlbg 8857374154 run {i586,i686}-unknown-linux-gnu test inside docker 2018-10-24 18:10:42 +02:00
gnzlbg ea47897e25 make run.sh POSIX compliant 2018-10-24 18:10:42 +02:00
gnzlbg 43c4c5972c move install commands to travis script 2018-10-24 18:10:42 +02:00
gnzlbg aa420aed20 Document jemalloc-sys; re-enable ctest; add stats feature
* document jemalloc-sys APIs
* document readme for crates.io
* add missing jemalloc apis
* re-enable ctest
* add stats feature
2018-08-13 12:04:37 +02:00
gnzlbg c703480286 add beta build-bots for tier 1 targets 2018-07-11 22:57:18 +02:00
gnzlbg a67a58d1e1 temporarily work around toolchain bug 2018-07-11 18:38:30 +02:00
Simon Sapin 6d0185c384 Also run jemallocator tests with unprefixed symbols 2018-06-25 18:59:27 +02:00
Simon Sapin 980f69c5ba Rename no_prefix feature to unprefixed_malloc_on_supported_platforms 2018-06-25 18:59:27 +02:00
Simon Sapin 3450b53222 Add a test for prefixed vs unprefixed symbols 2018-06-25 18:59:27 +02:00
Simon Sapin 607de93c67 Support stable Rust, move `impl Alloc` behind a feature flag 2018-06-13 19:46:20 +02:00
gnzlbg 5a8a9f085a verify configure only on x86_64-unknown-linux-gnu 2018-05-03 19:06:19 +02:00
gnzlbg 916822031b fix cargo cache 2018-05-03 18:23:38 +02:00
gnzlbg 2276a582e0 use jemalloc submodule 2018-05-03 16:41:15 +02:00
gnzlbg 1babc4eb87 re-add jemalloc submodule 2018-05-03 16:37:24 +02:00
gnzlbg bad4887939 add missing dockerfile 2018-05-03 01:03:38 +02:00
gnzlbg cec5241d26 fixup 2018-05-03 01:00:17 +02:00
gnzlbg 33ef06d560 use custom docker images 2018-05-03 00:43:09 +02:00
gnzlbg 68f60d8803 build jemalloc in OUT_DIR 2018-05-03 00:23:40 +02:00
gnzlbg 7e6a682043 ship configuration files; add build.rs option to verify them 2018-05-02 17:18:59 +02:00
gnzlbg a66d454dff pass -melf_32 flag to i{586,686}-unknown-linux-gnu builds 2018-05-02 16:06:16 +02:00
gnzlbg afa81a7298 disable running jemalloc tests 2018-05-02 14:07:55 +02:00
gnzlbg 350e3960ad verbose output 2018-05-02 13:56:26 +02:00
gnzlbg 8ab02bb7a6 run autogen.sh in a prebuild step
* run autogen.sh in a pre-build step in CI
* build.rs runs autogen.sh + make distclean only if configure is
  not found
2018-05-02 12:53:10 +02:00
gnzlbg b863b6d458 move .travis.yml script to ci/run.sh 2018-05-02 11:33:27 +02:00