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

Improve Lightning package for external use #369

Merged
merged 26 commits into from
Nov 28, 2022
Merged

Improve Lightning package for external use #369

merged 26 commits into from
Nov 28, 2022

Conversation

mlxd
Copy link
Member

@mlxd mlxd commented Oct 6, 2022

Context: To allow Lightning to be used in external projects, and support compilation through Spack, we require some adaptions to the external package management, and how certain files are supported in targets. This PR allows better support for Lightning as an external library, usable with and without Python, and enabling inclusion of dependencies when available.

Description of the Change: Update to CMake targets, build variant supports, and Kokkos package inclusion.

Benefits: Improves extensibility of Lightning, and allows support for Spack.

Possible Drawbacks:

Related GitHub Issues:

@mlxd mlxd changed the title Lightning external dependency updates Improve Lightning package for external use Oct 6, 2022
@codecov
Copy link

codecov bot commented Nov 18, 2022

Codecov Report

Merging #369 (99bbc3d) into master (6ae083f) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #369   +/-   ##
=======================================
  Coverage   99.88%   99.88%           
=======================================
  Files          49       49           
  Lines        4469     4469           
=======================================
  Hits         4464     4464           
  Misses          5        5           
Impacted Files Coverage Δ
pennylane_lightning/_version.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@mlxd mlxd marked this pull request as ready for review November 18, 2022 17:57
.github/CHANGELOG.md Show resolved Hide resolved
CMakeLists.txt Show resolved Hide resolved
cmake/process_options.cmake Show resolved Hide resolved
pennylane_lightning/src/simulator/CMakeLists.txt Outdated Show resolved Hide resolved
mlxd and others added 2 commits November 18, 2022 16:08
Co-authored-by: Amintor Dusko <87949283+AmintorDusko@users.noreply.github.com>
Copy link
Contributor

@AmintorDusko AmintorDusko left a comment

Choose a reason for hiding this comment

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

Thank you for the nice job!

@multiphaseCFD
Copy link
Member

Hey @mlxd, nice work!

@mlxd mlxd merged commit f868e3c into master Nov 28, 2022
@mlxd mlxd deleted the lightning_updates branch November 28, 2022 13:51
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.

3 participants