name = 'FFTW'
version = '3.3.10'
local_amd_fftw_ver = '3.2'
versionsuffix = '-amd'

homepage = 'https://developer.amd.com/amd-aocl/fftw/'
description = """FFTW is a C subroutine library for computing the discrete Fourier transform (DFT)
in one or more dimensions, of arbitrary input size, and of both real and complex data.
AMD FFTW includes selective kernels and routines optimized for the AMD EPYC™ processor family."""

toolchain = {'name': 'gompi', 'version': '2021b'}
toolchainopts = {'pic': True}

source_urls = ['https://github.com/amd/amd-fftw/archive/']
sources = [{
    'download_filename': '%s.tar.gz' % local_amd_fftw_ver,
    'filename': 'amd-fftw-%s.tar.gz' % local_amd_fftw_ver,
}]
checksums = ['31cab17a93e03b5b606e88dd6116a1055b8f49542d7d0890dbfcca057087b8d0']

configopts = '--enable-amd-opt'

# asi selzou, kdyztak zakomentovat
runtest = 'check'

moduleclass = 'numlib'
