diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/amd-aocl/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/amd-aocl/package.py | 52 |
1 files changed, 29 insertions, 23 deletions
diff --git a/var/spack/repos/builtin/packages/amd-aocl/package.py b/var/spack/repos/builtin/packages/amd-aocl/package.py index 2eadbb71c4..698f616813 100644 --- a/var/spack/repos/builtin/packages/amd-aocl/package.py +++ b/var/spack/repos/builtin/packages/amd-aocl/package.py @@ -8,29 +8,35 @@ from spack.package import * class AmdAocl(BundlePackage): """AMD Optimizing CPU Libraries (AOCL) - AOCL is a set of numerical - libraries tuned specifically for AMD EPYC processor family. They have a - simple interface to take advantage of the latest hardware innovations. - The tuned implementations of industry standard math libraries enable - fast development of scientific and high performance computing projects""" + libraries tuned specifically for AMD EPYC processor family. They have a + simple interface to take advantage of the latest hardware innovations. + The tuned implementations of industry standard math libraries enable + fast development of scientific and high performance computing projects""" homepage = "https://developer.amd.com/amd-aocl/" - maintainers = ['amd-toolchain-support'] - - version('3.2') - version('3.1') - version('3.0') - version('2.2') - - variant('openmp', default=False, description="Enable OpenMP support.") - - for vers in ['2.2', '3.0', '3.1', '3.2']: - depends_on('amdblis@{0} threads=openmp'.format(vers), when='@{0} +openmp'.format(vers)) - depends_on('amdblis@{0} threads=none'.format(vers), when='@{0} ~openmp'.format(vers)) - depends_on('amdfftw@{0} +openmp'.format(vers), when='@{0} +openmp'.format(vers)) - depends_on('amdfftw@{0} ~openmp'.format(vers), when='@{0} ~openmp'.format(vers)) - depends_on('amdlibflame@{0}'.format(vers), when='@{0}'.format(vers)) - depends_on('amdlibm@{0}'.format(vers), when='@{0}'.format(vers)) - depends_on('amdscalapack@{0} ^amdblis@{0} threads=none'.format(vers), when='@{0} ~openmp'.format(vers)) - depends_on('amdscalapack@{0} ^amdblis@{0} threads=openmp'.format(vers), when='@{0} +openmp'.format(vers)) - depends_on('aocl-sparse@{0}'.format(vers), when='@{0}'.format(vers)) + maintainers = ["amd-toolchain-support"] + + version("3.2") + version("3.1") + version("3.0") + version("2.2") + + variant("openmp", default=False, description="Enable OpenMP support.") + + for vers in ["2.2", "3.0", "3.1", "3.2"]: + depends_on("amdblis@{0} threads=openmp".format(vers), when="@{0} +openmp".format(vers)) + depends_on("amdblis@{0} threads=none".format(vers), when="@{0} ~openmp".format(vers)) + depends_on("amdfftw@{0} +openmp".format(vers), when="@{0} +openmp".format(vers)) + depends_on("amdfftw@{0} ~openmp".format(vers), when="@{0} ~openmp".format(vers)) + depends_on("amdlibflame@{0}".format(vers), when="@{0}".format(vers)) + depends_on("amdlibm@{0}".format(vers), when="@{0}".format(vers)) + depends_on( + "amdscalapack@{0} ^amdblis@{0} threads=none".format(vers), + when="@{0} ~openmp".format(vers), + ) + depends_on( + "amdscalapack@{0} ^amdblis@{0} threads=openmp".format(vers), + when="@{0} +openmp".format(vers), + ) + depends_on("aocl-sparse@{0}".format(vers), when="@{0}".format(vers)) |