Skip to content

Commit

Permalink
restore target
Browse files Browse the repository at this point in the history
  • Loading branch information
haampie committed May 7, 2024
1 parent 0a08206 commit f0178a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clingo/scripts/install_clingo.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import sys

import archspec.cpu
import spack.bootstrap.config
import spack.main

Expand All @@ -14,4 +15,4 @@
with spack.bootstrap.config.spack_python_interpreter():
msg = "Installing clingo-bootstrap with Python: {0}"
print(msg.format(spack.bootstrap.config.spec_for_current_python()))
install(CLINGO_BASE_SPEC)
install(f"{CLINGO_BASE_SPEC} target={archspec.cpu.host().family}")

0 comments on commit f0178a5

Please sign in to comment.