diff options
author | arjun-raj-kuppala <60718144+arjun-raj-kuppala@users.noreply.github.com> | 2021-04-17 00:00:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-17 09:00:44 +0200 |
commit | 181341c8b3a4f301773fe2658107c94bc79b57f3 (patch) | |
tree | fa4b5b34c847badfb41d8cd1d936caf00f47b082 | |
parent | a4157173a02c655c371922312161075f52e8f09a (diff) | |
download | spack-181341c8b3a4f301773fe2658107c94bc79b57f3.tar.gz spack-181341c8b3a4f301773fe2658107c94bc79b57f3.tar.bz2 spack-181341c8b3a4f301773fe2658107c94bc79b57f3.tar.xz spack-181341c8b3a4f301773fe2658107c94bc79b57f3.zip |
AMD ROCm 4.1 release: Add new package - hipfft (#23061)
-rw-r--r-- | var/spack/repos/builtin/packages/hipfft/package.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hipfft/package.py b/var/spack/repos/builtin/packages/hipfft/package.py new file mode 100644 index 0000000000..77b9724b30 --- /dev/null +++ b/var/spack/repos/builtin/packages/hipfft/package.py @@ -0,0 +1,27 @@ +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + + +from spack import * + + +class Hipfft(CMakePackage): + """hipFFT is an FFT marshalling library. Currently, + hipFFT supports either rocFFT or cuFFT as backends.""" + + homepage = "https://github.com/ROCmSoftwarePlatform/hipFFT" + url = "https://github.com/ROCmSoftwarePlatform/hipFFT/archive/refs/tags/rocm-4.1.0.tar.gz" + + maintainers = ['arjun-raj-kuppala', 'sreekolam'] + + version('4.1.0', sha256='885ffd4813f2c271150f1b8b386f0af775b38fc82b96ce6fd94eb4ba0c0180be') + + depends_on('hip@4.1.0') + depends_on('hip-rocclr@4.1.0') + depends_on('rocfft@4.1.0') + depends_on('rocm-cmake@4.1.0', type='build') + + def setup_build_environment(self, env): + env.set('CXX', self.spec['hip'].hipcc) |