Skip to content

Commit

Permalink
stop trolling
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoralez committed Nov 1, 2023
1 parent 6f24a8b commit 68e87c7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/disable_omp_arm64.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import tomli


if os.environ['CIBW_BUILD'] == 'cp38-macosx_arm64'
with open('pyproject.toml', 'rt') as f:
if os.environ["CIBW_BUILD"] == "cp38-macosx_arm64":
with open("pyproject.toml", "rt") as f:
cfg = tomli.load(f)
cfg['tool']['scikit-build']['cmake']['args'] = ['-DUSE_OPENMP=OFF']
with open('pyproject.toml', 'wt') as f:
cfg["tool"]["scikit-build"]["cmake"]["args"] = ["-DUSE_OPENMP=OFF"]
with open("pyproject.toml", "wt") as f:
tomli.dump(cfg, f)

0 comments on commit 68e87c7

Please sign in to comment.