pantry/projects/github.com/numactl/numactl/package.yml
2023-10-01 20:41:57 -04:00

26 lines
549 B
YAML

distributable:
url: https://github.com/numactl/numactl/archive/refs/tags/v{{ version }}/numactl-{{ version }}.tar.gz
strip-components: 1
versions:
github: numactl/numactl
platforms: linux
build:
dependencies:
gnu.org/autoconf: 2
gnu.org/automake: 1
gnu.org/libtool: 2
gnu.org/m4: 1
script: |
./autogen.sh
./configure --prefix={{ prefix }}
make --jobs {{ hw.concurrency }} install
env:
ACLOCAL_PATH: ${{ deps.gnu.org/libtool.prefix }}/share/aclocal
test:
script: |
cc -lnuma mynode.c
./a.out