Skip to content

Commit

Permalink
fix spack_setup_clingo option
Browse files Browse the repository at this point in the history
  • Loading branch information
chapman39 committed Dec 20, 2024
1 parent c57d045 commit 6493b5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uberenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ def setup_paths_and_dirs(self):

UberEnv.setup_paths_and_dirs(self)

# Next to uberenv.py (backwards compatility)
# Next to uberenv.py (backwards compatibility)
spack_configs_path = pabs(pjoin(self.uberenv_path,"spack_config"))

# In project config file
Expand Down Expand Up @@ -880,7 +880,7 @@ def patch(self):
self.disable_spack_config_scopes()

# setup clingo (unless specified not to)
if "spack_setup_clingo" in self.project_args and self.project_args["spack_setup_clingo"] == False:
if "spack_setup_clingo" in self.project_args and self.project_args["spack_setup_clingo"].lower() == "false":
print("[info: clingo will not be installed by uberenv]")
else:
self.setup_clingo()
Expand Down

0 comments on commit 6493b5b

Please sign in to comment.