summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authormcuma <m.cuma@utah.edu>2022-05-09 23:42:21 -0600
committerGitHub <noreply@github.com>2022-05-10 07:42:21 +0200
commit23b7071bb0031bdbb54bac7dda1dddfe387c3d72 (patch)
tree57ae6a3e101cfdadaff3a546b4223cead8787745 /var
parent359229f5f86521a74590c730fe6bc4359f2fd521 (diff)
downloadspack-23b7071bb0031bdbb54bac7dda1dddfe387c3d72.tar.gz
spack-23b7071bb0031bdbb54bac7dda1dddfe387c3d72.tar.bz2
spack-23b7071bb0031bdbb54bac7dda1dddfe387c3d72.tar.xz
spack-23b7071bb0031bdbb54bac7dda1dddfe387c3d72.zip
wi4mpi: fix a missed conversion to string (#30541)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/wi4mpi/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/wi4mpi/package.py b/var/spack/repos/builtin/packages/wi4mpi/package.py
index b096ed5a99..3c72612e57 100644
--- a/var/spack/repos/builtin/packages/wi4mpi/package.py
+++ b/var/spack/repos/builtin/packages/wi4mpi/package.py
@@ -50,7 +50,7 @@ class Wi4mpi(CMakePackage):
def setup_run_environment(self, env):
env.set('WI4MPI_ROOT', self.prefix)
- env.set('WI4MPI_VERSION', self.version)
+ env.set('WI4MPI_VERSION', str(self.version))
env.set('WI4MPI_CC', self.compiler.cc)
env.set('WI4MPI_CXX', self.compiler.cxx)
env.set('WI4MPI_FC', self.compiler.fc)