mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
37 lines
855 B
YAML
37 lines
855 B
YAML
|
distributable:
|
||
|
url: https://github.com/ivmai/bdwgc/releases/download/v{{version}}/gc-{{version}}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
versions:
|
||
|
github: ivmai/bdwgc
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
tea.xyz/gx/cc: c99
|
||
|
tea.xyz/gx/make: '*'
|
||
|
freedesktop.org/pkg-config: '*'
|
||
|
github.com/ivmai/libatomic_ops: '*'
|
||
|
script:
|
||
|
- ./configure $ARGS
|
||
|
- make --jobs {{ hw.concurrency }}
|
||
|
- make --jobs {{ hw.concurrency }} check
|
||
|
- make --jobs {{ hw.concurrency }} install
|
||
|
|
||
|
env:
|
||
|
ARGS:
|
||
|
- --prefix="{{prefix}}"
|
||
|
- --disable-debug
|
||
|
- --disable-dependency-tracking
|
||
|
- --enable-cplusplus
|
||
|
- --enable-static
|
||
|
- --enable-large-config
|
||
|
|
||
|
test:
|
||
|
dependencies:
|
||
|
tea.xyz/gx/cc: c99
|
||
|
freedesktop.org/pkg-config: '*'
|
||
|
script:
|
||
|
- pkg-config --modversion bdw-gc | grep {{version}}
|
||
|
- cc test.c -lgc -o test
|
||
|
- ./test
|