Closes #253
This commit is contained in:
Max Howell 2023-04-11 16:59:41 -04:00
parent ff60942840
commit d66af0823e

View file

@ -0,0 +1,36 @@
distributable:
url: https://libisl.sourceforge.io/isl-{{version.raw}}.tar.xz
strip-components: 1
versions:
- 0.26
dependencies:
gnu.org/gmp: ^6
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --with-gmp=system",
test:
dependencies:
tea.xyz/gx/cc: c99
fixture: |
#include <isl/ctx.h>
int main() {
isl_ctx* ctx = isl_ctx_alloc();
isl_ctx_free(ctx);
return 0;
}
script: |
mv $FIXTURE b.c
cc b.c -lisl
./a.out