Skip to content

Commit

Permalink
Remove macos for now, the build flags are complete nonsense there.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwallerb committed Jun 24, 2024
1 parent efdc419 commit 84375db
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ jobs:
- os: ubuntu-latest
numpy-version: auto
python-version: 3.9
- os: macos-latest
numpy-version: auto
python-version: 3.9
- os: windows-latest
numpy-version: auto
python-version: 3.9
Expand Down
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,17 +136,14 @@ def build_extensions(self):
if self.opt_arch:
new_flags["-mtune"] = new_flags["-march"] = "native"

print("FLAGS", self.compiler.compiler_so)
cc_so, flags_dict = get_flags_dict(self.compiler.compiler_so)
print("FLAGS_DICT", flags_dict)

# Replace arch with march
if "-arch" in flags_dict:
flags_dict["-march"] = flags_dict.pop("-arch")

flags_dict.update(new_flags)
self.compiler.compiler_so = make_exec_string(cc_so, flags_dict)
print("EXEC", self.compiler.compiler_so)

# This has to be set to false because MacOS does not ship openmp
# by default.
Expand Down

0 comments on commit 84375db

Please sign in to comment.