Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cpuid.h for ppc and aarch64 #266

Merged
merged 5 commits into from
Mar 21, 2022
Merged

Fix cpuid.h for ppc and aarch64 #266

merged 5 commits into from
Mar 21, 2022

Conversation

chaeyeunpark
Copy link
Contributor

@chaeyeunpark chaeyeunpark commented Mar 21, 2022

After a recent push to master, Linux + PPC and ARM64 fail to build wheels as cpuid.h file is not found in those environments (see https://github.com/PennyLaneAI/pennylane-lightning/runs/5633549050?check_suite_focus=true and https://github.com/PennyLaneAI/pennylane-lightning/runs/5633549056?check_suite_focus=true).
This PR fixes this issue.

@codecov
Copy link

codecov bot commented Mar 21, 2022

Codecov Report

Merging #266 (f9ef6ca) into master (92a819b) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #266   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines          379       379           
=========================================
  Hits           379       379           
Impacted Files Coverage Δ
pennylane_lightning/_version.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 92a819b...f9ef6ca. Read the comment docs.

@chaeyeunpark chaeyeunpark changed the title Fix for ppc and aarch64 Fix cpuid.h for ppc and aarch64 Mar 21, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Mar 21, 2022

Test Report (C++) on Ubuntu

           1 files  ±0             1 suites  ±0   0s ⏱️ ±0s
       660 tests ±0         660 ✔️ ±0  0 💤 ±0  0 ±0 
228 174 runs  ±0  228 174 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit f9ef6ca. ± Comparison against base commit 92a819b.

♻️ This comment has been updated with latest results.

@chaeyeunpark chaeyeunpark requested a review from maliasadi March 21, 2022 21:22
@chaeyeunpark chaeyeunpark marked this pull request as ready for review March 21, 2022 21:22
@chaeyeunpark chaeyeunpark requested a review from mlxd March 21, 2022 21:47
Copy link
Member

@mlxd mlxd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one @chaeyeunpark Happy to see this fix merged.
I think we can look at this for other arch support later (ARM NEON, etc).

@chaeyeunpark chaeyeunpark merged commit 368b2bb into master Mar 21, 2022
@chaeyeunpark chaeyeunpark deleted the fix_for_ppc_aarch64 branch March 21, 2022 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants