HomePhabricator

[CMAKE] Don't require jemalloc for systems where it's the default

Description

[CMAKE] Don't require jemalloc for systems where it's the default

Summary:
On these system there is no need to pull jemalloc as a 3rd party lib
since it's the built-in default. This fixes the build on FreeBSD.

Test Plan:
Build on Linux and check jemalloc is required by default.

cmake -GNinja .. -DUSE_JEMALLOC=OFF

Check disabling jemalloc manually still works as expected.

Build on FreeBSD and check the build succeeds (tested without Qt as per our documentation).

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D6544

Details

Provenance
FabienAuthored on Jun 12 2020, 09:04
FabienPushed on Jun 12 2020, 16:00
Reviewer
Restricted Project
Differential Revision
D6544: [CMAKE] Don't require jemalloc for systems where it's the default
Parents
rABC09768becd9a8: Fix single parameter constructors not marked "explicit"
Branches
Unknown
Tags
Unknown