mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
4196133e22
new file: projects/fftw.org/fftw.c
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
distributable:
|
|
url: https://fftw.org/fftw-{{version}}.tar.gz
|
|
strip-components: 1
|
|
versions:
|
|
url: https://fftw.org/download.html
|
|
match: /fftw-\d+\.\d+\.\d+\.tar\.gz/
|
|
strip:
|
|
- /^fftw-/
|
|
- /\.tar\.gz/
|
|
dependencies:
|
|
open-mpi.org: '*'
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
freedesktop.org/pkg-config: '*'
|
|
script:
|
|
- ./configure --enable-single $ARGS
|
|
- make --jobs {{hw.concurrency}} install
|
|
- make clean
|
|
- ./configure $ARGS
|
|
- make --jobs {{hw.concurrency}} install
|
|
- make clean
|
|
- ./configure --enable-long-double $ARGS
|
|
- make --jobs {{hw.concurrency}} install
|
|
env:
|
|
CC: "{{deps.tea.xyz/gx/cc.prefix}}/bin/clang"
|
|
ARGS:
|
|
- --enable-shared
|
|
- --disable-debug
|
|
- --prefix={{prefix}}
|
|
- --enable-threads
|
|
- --disable-dependency-tracking
|
|
provides:
|
|
- bin/fftw-wisdom
|
|
- bin/fftw-wisdom-to-conf
|
|
- bin/fftwf-wisdom
|
|
- bin/fftwl-wisdom
|
|
test:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
script:
|
|
- fftw-wisdom --version | grep {{version}}
|
|
- cc -o fftw fftw.c -lfftw3
|
|
- ./fftw
|