gromacs: fix the value used for the ITT directory (#47795)
This commit is contained in:
parent
83624551e0
commit
eecd4afe58
@ -27,6 +27,7 @@ class Gromacs(CMakePackage, CudaPackage):
|
||||
url = "https://ftp.gromacs.org/gromacs/gromacs-2022.2.tar.gz"
|
||||
list_url = "https://ftp.gromacs.org/gromacs"
|
||||
git = "https://gitlab.com/gromacs/gromacs.git"
|
||||
|
||||
maintainers("mabraham", "eirrgang", "junghans")
|
||||
|
||||
license("GPL-2.0-or-later", when="@:4.5")
|
||||
@ -627,7 +628,7 @@ def cmake_args(self):
|
||||
options.append("-DGMX_USE_ITT=on")
|
||||
options.append(
|
||||
"-DITTNOTIFY_INCLUDE_DIR=%s"
|
||||
% join_path(self.spec["intel-oneapi-vtune"].package.headers)
|
||||
% self.spec["intel-oneapi-vtune"].package.headers.directories[0]
|
||||
)
|
||||
|
||||
if self.spec.satisfies("~nblib"):
|
||||
|
Loading…
Reference in New Issue
Block a user