diff options
author | Jason Evans <jasone@canonware.com> | 2016-11-16 10:56:40 -0800 |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2016-11-16 10:58:32 -0800 |
commit | 8e3fb7f4172b6b98d68ae605d0cc69cde3937d94 (patch) | |
tree | f32ca0914133fd6540a25aa49fed88980d3cfcd1 /INSTALL | |
parent | 2a24dc24761b9b5b8f9af30618d2f4fb17d59a59 (diff) | |
download | jemalloc-8e3fb7f4172b6b98d68ae605d0cc69cde3937d94.tar.gz |
Document how to use --cache configure option.
This resolves #494.
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -327,6 +327,21 @@ LDFLAGS="?" PATH="?" 'configure' uses this to find programs. +In some cases it may be necessary to work around configuration results that do +not match reality. For example, OS X 10.12 in conjunction with XCode 8 adds +the os_unfair_lock_*() API, but if XCode 8 is used to build jemalloc on older +versions of OS X, the configure script will determine that os_unfair_lock_*() +is compilable, yet run-time failures will result. To work around this +(ignoring that MACOSX_DEPLOYMENT_TARGET may be the correct fix), create a cache +file (called e.g. darwin.cache) with the following contents to override the +relevant configuration variable defined in configure.ac: + + je_cv_os_unfair_lock=no + +Invoke configure as such: + + ./configure --cache=darwin.cache + === Advanced compilation ======================================================= To build only parts of jemalloc, use the following targets: |