Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ jobs:
$env:LLVM_SYS_140_PREFIX = $env:LLVM_SYS_140_PREFIX

# Build and test
make build
make build-debug
make pytest-all

- name: Build and test PECOS (non-Windows)
Expand Down Expand Up @@ -266,7 +266,7 @@ jobs:
fi

# Build the project
make build
make build-debug

# After build, verify the extension module on macOS
if [[ "${{ runner.os }}" == "macOS" ]]; then
Expand Down
29 changes: 7 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 6 additions & 29 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,35 +8,6 @@ members = [
"crates/benchmarks",
]

# By default, exclude decoder crates from workspace operations to avoid heavy C++ dependencies
default-members = [
"crates/pecos-core",
"crates/pecos-num",
"crates/pecos-engines",
"crates/pecos-qsim",
"crates/pecos-qasm",
"crates/pecos-phir",
"crates/pecos-qec",
"crates/pecos-rng",
"crates/pecos",
"crates/pecos-cli",
"crates/pecos-quest",
"python/pecos-rslib",
"crates/benchmarks",
]

# The decoder crates are external and have heavy C++ dependencies.
# To work with decoders:
#
# Build specific decoders:
# cargo build --package pecos-decoders --features "ldpc"
#
# Build all decoders:
# cargo build --package pecos-decoders --all-features
#
# Build everything including decoders:
# cargo build --workspace

[workspace.package]
version = "0.1.1"
edition = "2024"
Expand Down Expand Up @@ -183,6 +154,12 @@ opt-level = 3 # Maximum optimization
lto = true # Link-time optimization (same as "fat")
codegen-units = 1 # Single codegen unit for better optimization

# Native profile: release + CPU-specific optimizations
# Use with: cargo build --profile native
# Build scripts detect this via PROFILE=native env var and add -march=native for C++ code
[profile.native]
inherits = "release"

[workspace.lints.clippy]
# For more details see: https://doc.rust-lang.org/clippy/lints.html
suspicious = { level = "warn", priority = -1 }
Expand Down
Loading
Loading