Skip to content

Commit

Permalink
Fix empty wheel builder
Browse files Browse the repository at this point in the history
  • Loading branch information
mlxd committed Dec 14, 2021
1 parent c822580 commit 17f299d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/wheel_macos_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
env:
CIBW_ARCHS_MACOS: ${{matrix.arch}}
USE_OMP: 1

- uses: actions-ecosystem/action-regex-match@v2
id: rc_build
with:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def build_extension(self, ext: CMakeExtension):
"long_description_content_type": "text/x-rst",
"provides": ["pennylane_lightning"],
"install_requires": requirements,
"ext_modules": [CMakeExtension("lightning_qubit_ops")],
"ext_modules": [CMakeExtension("lightning_qubit_ops")] if not os.environ.get("SKIP_COMPILATION", False) else [],
"cmdclass": {"build_ext": CMakeBuild},
"ext_package": "pennylane_lightning",
}
Expand Down

0 comments on commit 17f299d

Please sign in to comment.