Skip to content

Commit

Permalink
Fix bazel command-line option for C++ standard
Browse files Browse the repository at this point in the history
  • Loading branch information
knoepfel authored and greenc-FNAL committed Jul 18, 2024
1 parent e9c5dff commit 3be849d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/py-tensorflow/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ def build(self, spec, prefix):
"--config=opt",
# Enable verbose output for failures
"--verbose_failures",
"--cxxopt={0}".format(self.spec.variants["cxxstd"].value),
"--cxxopt='-std=c++{0}'".format(self.spec.variants["cxxstd"].value),
]

if spec.satisfies("^bazel@:3.5"):
Expand Down

0 comments on commit 3be849d

Please sign in to comment.