diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/rocm-validation-suite/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/rocm-validation-suite/package.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/rocm-validation-suite/package.py b/var/spack/repos/builtin/packages/rocm-validation-suite/package.py index 137b9aa1a5..833cce2fe5 100644 --- a/var/spack/repos/builtin/packages/rocm-validation-suite/package.py +++ b/var/spack/repos/builtin/packages/rocm-validation-suite/package.py @@ -35,9 +35,11 @@ class RocmValidationSuite(CMakePackage): patch('001-fixes-for-rocblas-rocm-smi-install-prefix-path.patch') patch('002-remove-force-setting-hip-inc-path.patch', when='@4.1.0:') patch('003-cmake-change-to-remove-installs-and-sudo.patch', when='@4.1.0:') + patch('004-remove-git-download-yaml-cpp-use-yaml-cpp-recipe.patch', when='@4.3.0:') depends_on('cmake@3.5:', type='build') depends_on('zlib', type='link') + depends_on('yaml-cpp~shared') def setup_build_environment(self, build_env): spec = self.spec @@ -55,5 +57,7 @@ class RocmValidationSuite(CMakePackage): return [ self.define('HIP_INC_DIR', self.spec['hip'].prefix), self.define('ROCM_SMI_DIR', self.spec['rocm-smi-lib'].prefix), - self.define('ROCBLAS_DIR', self.spec['rocblas'].prefix) + self.define('ROCBLAS_DIR', self.spec['rocblas'].prefix), + self.define('YAML_INC_DIR', self.spec['yaml-cpp'].prefix.include), + self.define('YAML_LIB_DIR', self.spec['yaml-cpp'].libs.directories[0]) ] |