Skip to content

Commit

Permalink
Fixing compilation error in Albany build.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikalash committed Oct 1, 2023
1 parent 140b2d6 commit d4b1def
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions var/spack/repos/builtin/packages/albany/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ def cmake_args(self):
["-DALBANY_TRILINOS_DIR:FILEPATH={0}".format(trilinos_dir), "-DINSTALL_ALBANY:BOOL=ON"]
)

options.extend([
'-DCMAKE_C_COMPILER=%s' % spec['mpi'].mpicc,
'-DCMAKE_CXX_COMPILER=%s' % spec['mpi'].mpicxx
])

options.extend([
"-DENABLE_LANDICE:BOOL=%s" % (
"ON" if "+landice" in spec else "OFF"),
Expand Down

0 comments on commit d4b1def

Please sign in to comment.