Closed Strilanc closed 1 year ago
:warning: Please install the to ensure uploads and comments are reliably processed by Codecov.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
1211298
) to head (48098cf
). Report is 24 commits behind head on master.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Don't merge this yet, I'm still cleaning it up.
Okay this should be safe to merge now, assuming tests pass.
libpymatching
target to the CMakeLists.txt fileWORKSPACE
fileBUILD
filebazel build :all
IF(EXISTS ${CMAKE_CURRENT_LIST_DIR}/pybind11/CMakeLists.txt)
around the pybind11 cmake targetDetectorNode
andMatchingGraph
SparseShot.obs_mask
toSparseShot.obs_mask_as_u64()
.Linking from CMake
Note the commit ID I'm using is the latest commit of this PR, not one on main.
Here is now a way to use pymatching as a cmake dependency. In the CMakeLists.txt file fetch it using
FetchContent
:You can then link to it:
Linking from Bazel
Note the commit ID I'm using is the latest commit of this PR, not one on main.
In
WORKSPACE
:In
BUILD
:Fixes https://github.com/oscarhiggott/PyMatching/issues/76