Skip to content

Commit 859ec22

Browse files
authored
Update README.md
1 parent 846d71a commit 859ec22

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

README.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,31 @@ On MacOS:
3737
# install libjudy dependency:
3838
brew install traildb/judy/judy
3939

40+
### Installing with [PIE](https://github.com/php/pie)
41+
42+
Make sure to install [dependencies](#dependencies), and then:
43+
44+
pie install arnaud-lb/memprof
45+
46+
> **Note** If libjudy is installed in a non-standard path (not /usr or /usr/local), you need to specify it via the `--with-judy-dir` option.
47+
>
48+
> Example on MacOS:
49+
> ```
50+
> pecl install memprof --with-judy-dir=$(brew --prefix traildb/judy/judy)
51+
> ```
52+
4053
### Installing with PECL
4154
4255
Make sure to install [dependencies](#dependencies), and then:
4356
4457
pecl install memprof
4558
46-
On MacOS:
47-
JUDY_DIR=$(brew --prefix traildb/judy/judy) pecl install memprof
48-
49-
> **Note** If libjudy is installed in a non-standard path (not /usr or /usr/local), please use the manual installation method bellow.
59+
> **Note** If libjudy is installed in a non-standard path (not /usr or /usr/local), you need to specify it via the `JUDY_DEV` environment variable.
60+
>
61+
> Example on MacOS:
62+
> ```
63+
> JUDY_DIR=$(brew --prefix traildb/judy/judy) pecl install memprof
64+
> ```
5065
5166
### Installing manually
5267

0 commit comments

Comments
 (0)