Skip to content

Commit

Permalink
testing envs
Browse files Browse the repository at this point in the history
  • Loading branch information
dleemiller committed Jul 29, 2024
1 parent 07c22b4 commit 28b0095
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
- name: Build package
env:
CIBW_ENVIRONMENT: "NPY_CPU_DISPATCH=; NPY_DISABLE_SVML=1"
CIBW_ARCHS_MACOS: "x86_64 arm64"
run: |
cibuildwheel --output-dir wheelhouse
Expand Down
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
extra_compile_args.extend(["-march=native", "-mpopcnt"])
extra_link_args.extend(["-march=native", "-mpopcnt"])

# Log the compile and link args for debugging
print("extra_compile_args:", extra_compile_args)
print("extra_link_args:", extra_link_args)

extra_compile_args.extend(["-O3", "-ffast-math"])

extensions = [
Expand Down Expand Up @@ -79,3 +83,4 @@
zip_safe=False,
install_requires=["numpy"],
)

0 comments on commit 28b0095

Please sign in to comment.