Skip to content

Commit 797ed35

Browse files
committed
fix: only enable jemalloc on Linux
1 parent e2348bf commit 797ed35

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

recipe/recipe.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ build:
1616
CARGO_PROFILE_RELEASE_STRIP: symbols
1717
CARGO_PROFILE_RELEASE_LTO: fat
1818
content:
19-
- if: unix
19+
- if: linux
2020
then:
21-
- cargo auditable install --locked --no-track --bins --all-features --root ${{ PREFIX }} --path cli
21+
- cargo auditable install --locked --no-track --bins --features jemalloc --root ${{ PREFIX }} --path cli
22+
else if: unix
23+
- cargo auditable install --locked --no-track --bins --root ${{ PREFIX }} --path cli
2224
else:
23-
- cargo auditable install --locked --no-track --bins --all-features --root %LIBRARY_PREFIX% --path cli
25+
- cargo auditable install --locked --no-track --bins --root %LIBRARY_PREFIX% --path cli
2426
- cargo-bundle-licenses --format yaml --output ./THIRDPARTY.yml
2527

2628
requirements:
@@ -31,6 +33,8 @@ requirements:
3133
- cargo-bundle-licenses
3234
- cargo-auditable
3335
- pkg-config
36+
- if: linux
37+
then: make
3438

3539
tests:
3640
- script:

0 commit comments

Comments
 (0)