mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
3de2fce436
* Create package.yml * Create test.c * concurrency issues on install --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
29 lines
609 B
YAML
29 lines
609 B
YAML
distributable:
|
|
url: https://github.com/jemalloc/jemalloc/releases/download/{{version}}/jemalloc-{{version}}.tar.bz2
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: jemalloc/jemalloc
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
gnu.org/autoconf: '*'
|
|
docbook.org: '*'
|
|
script: |
|
|
./configure $ARGS
|
|
make --jobs {{ hw.concurrency }}
|
|
make install
|
|
env:
|
|
ARGS:
|
|
- --prefix="{{prefix}}"
|
|
- --disable-debug
|
|
- --with-jemalloc-prefix=
|
|
|
|
test:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
script: |
|
|
cc test.c -L {{prefix}}/lib -ljemalloc -o test
|
|
./test
|