From 27034c6579bd03bda66270ab24b12632683fd5e2 Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Fri, 30 Jun 2023 22:06:39 +0300 Subject: [PATCH] github.com/ivmai/libatomic_ops (#2325) * github.com/ivmai/libatomic_ops * hboehm.info/gc * Delete package.yml * Delete test.c --- .../ivmai/libatomic_ops/package.yml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 projects/github.com/ivmai/libatomic_ops/package.yml diff --git a/projects/github.com/ivmai/libatomic_ops/package.yml b/projects/github.com/ivmai/libatomic_ops/package.yml new file mode 100644 index 00000000..2ecea19b --- /dev/null +++ b/projects/github.com/ivmai/libatomic_ops/package.yml @@ -0,0 +1,26 @@ +distributable: + url: https://github.com/ivmai/libatomic_ops/releases/download/v{{version}}/libatomic_ops-{{version}}.tar.gz + strip-components: 1 + +versions: + github: ivmai/libatomic_ops + +build: + dependencies: + tea.xyz/gx/cc: c99 + tea.xyz/gx/make: '*' + + script: + - ./configure $ARGS + - make --jobs {{ hw.concurrency }} + - make --jobs {{ hw.concurrency }} check + - make --jobs {{ hw.concurrency }} install + env: + ARGS: + - --prefix="{{prefix}}" + - --disable-dependency-tracking + +test: + dependencies: + freedesktop.org/pkg-config: '*' + script: pkg-config --modversion atomic_ops | grep {{version}} \ No newline at end of file